for realtime segments, do we need to specify both ...
# troubleshooting
m
for realtime segments, do we need to specify both
replication
and
replicasPerPartition
? Currently we only have
replicasPerPartition
set 2 but in the segment builds, their configs still show num of replicas as 1
n
only replicasPerPartition should be enough. What do you mean by config showing num replicas as 1 in segment builds? are you ending up with only 1 replica in ideal state for CONSUMING/ONLINE segments?
m
Yes that’s what I meant. Do you know how/where to check the number of replicas in existence? Perhaps I was looking at the wrong place. It’s the PropertyStore->Segment in the Zookeeper Broswer that I checked.
n
In that case, to unblock yourself just set it in
replication
as well. It definitely works when both are set. Separately we can investigate why it doesn’t work with just
replicasPerPartition
m
i might be onto something. Seems whatever shown in the PropertyStore is not in effect. I went to check the IdealStates for this table and it just returned a bunch of garbled characters…And i found several tables had this problem
After dropping the table configs and recreating them,
replicasPerPartition
now works as expected….