Hi,

Overseer.STATE_UPDATE_DELAY seems to be the amount of time the state
updater thread goes to sleep if there's no state update queue items to
process, so that it doesn't hammer zookeeper. Is it necessary to set it
that high (1500ms)?

We're using SolrCloud such that collections are created on the fly, and
1500ms becomes a bottleneck for creation for the entire cluster because the
updater is single-threaded and it goes to sleep for 1500ms every time the
outer while loop runs.

Since there's only one thread trying to monitor the queue, I don't think
zookeeper will mind being hit a little more frequently while the queue
remains empty. If people are in general worried about lowering it, can we
at least make it a property?

Thanks,
Jessica

Reply via email to