Hi everyone, I'm trying to understand the exact be...
# troubleshooting
u
Hi everyone, I'm trying to understand the exact behavior when
tieredReplicants
is set higher than the number of historicals in a tier. Setup example: • Tier has 3 historicals • Datasource configured with
tieredReplicants: 5
Question: What actually happens in this case? 1. Does Druid cap the replicas at 3 (one per historical)? 2. Can a single historical load multiple copies of the same segment to satisfy the replication factor? 3. Does it fail/warn/queue the additional replicas? I couldn't find explicit documentation about this edge case. The architecture seems designed to distribute segments across different historicals, but I want to confirm the actual behavior when requested replicas exceed available nodes. Has anyone tested this scenario or can point me to the relevant code/docs that clarifies this? Thanks!
m
1. Does Druid cap the replicas at 3 (one per historical)? a. yes 2. Can a single historical load multiple copies of the same segment to satisfy the replication factor? a. no 3. Does it fail/warn/queue the additional replicas? a. yes
u
Will it fail or warn or queue the replicas endlessly?
m
Every Coordinator cycle, it will try to find an eligible historical. Since there is no eligible historical (historical that doesn’t have the segment loaded), the loading will be skipped and
segment/assignSkipped/count
metric will be incremented
u
Thanks for the quick clarification @Maytas Monsereenusorn!
m
this will repeat every Coordinator cycle and you will have
segment/assignSkipped/count
metric reflect this every time it’s emitted
if you want an alert/warning, you can then setup an alert on
segment/assignSkipped/count
> 0. Although segment/assignSkipped/count can also happen for other reasons like replication throttling, no available disk space, or a full load queue