druid/docs/api-reference
Adarsh Sanjeev 128133fadc
Add column replication_factor column to sys.segments table (#14403)
Description:
Druid allows a configuration of load rules that may cause a used segment to not be loaded
on any historical. This status is not tracked in the sys.segments table on the broker, which
makes it difficult to determine if the unavailability of a segment is expected and if we should
not wait for it to be loaded on a server after ingestion has finished.

Changes:
- Track replication factor in `SegmentReplicantLookup` during evaluation of load rules
- Update API `/druid/coordinator/v1metadata/segments` to return replication factor
- Add column `replication_factor` to the sys.segments virtual table and populate it in
`MetadataSegmentView`
- If this column is 0, the segment is not assigned to any historical and will not be loaded.
2023-06-18 10:02:21 +05:30
..
api-reference.md Add column replication_factor column to sys.segments table (#14403) 2023-06-18 10:02:21 +05:30
sql-api.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
sql-ingestion-api.md Limit results generated by SELECT queries in MSQ (#14370) 2023-06-15 13:13:11 +05:30
sql-jdbc.md Fixup typo and java code snippets in JDBC docs. (#14399) 2023-06-09 12:39:21 -07:00