Document missing property - druid.announcer.skipSegmentAnnouncementOnZk#12891
Conversation
|
@capistrant @abhishekagarwal87 Since HTTP-based segment loading is enabled by default, is there any reason the default of druid.announcer.skipSegmentAnnouncementOnZk is still false? Why do we still need to announce segments on zk? |
|
It might have been so because one could switch back to zk based segment announcements without waiting for all the segments to be announced on zk first. Otherwise, if one wants to switch back to http, they would have to first set this flag, wait for segment announcements to be available on zookeeper and then switch back the announcement mechanism to zk. Given that http based mechanism has been the de-facto one for a while and is very stable, we could indeed consider switching the default to |
I have seen some cases where huge number of watches in ZooKeeper is causing performance issue. While there are improvements like #17482, I wonder if just switching this to |
IMO, setting the default to |
Raised a PR here: #18445 |
Description
This property appears to have been omitted from the docs. I don't see why we would want to avoid exposing it. If operators are going to use
httpserver view, why waste the space in zookeeper announcing segments?I'm not sure on formatting here. I put it in it's own table since it renders the configs in the above table irrelevant. I can change it however we see fit. The important thing I think, is simply making it available in some way so an operator can decide how to properly consume their zookeeper resources depending on the server view they use.
Key changed/added classes in this PR
N/A
This PR has: