Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
ZK supports asynchronous modes and we are only using the synchronous mode
However there is an asynchronous version of getData()
/** * The asynchronous version of getData. * * @see #getData(String, Watcher, Stat) */ public void getData(final String path, Watcher watcher, DataCallback cb, Object ctx){ }
should we run tests to compare if it can give us an advantage? I guess it should
Another optimization is doing multiple deletes from the workQueue using the following method
/** * The asynchronous version of multi. * * @see #multi(Iterable) */ public void multi(Iterable<Op> ops, MultiCallback cb, Object ctx) { }
Attachments
Issue Links
- is related to
-
SOLR-10524 Better ZkStateWriter batching
- Closed