patsonluk commented on code in PR #909: URL: https://github.com/apache/solr/pull/909#discussion_r922379526
########## solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java: ########## @@ -1919,9 +2051,9 @@ public void removeDocCollectionWatcher(String collection, DocCollectionWatcher w if (v == null) return null; v.stateWatchers.remove(watcher); if (v.canBeRemoved()) { - watchedCollectionStates.remove(collection); lazyCollectionStates.put(collection, new LazyCollectionRef(collection)); reconstructState.set(true); + CommonTestInjection.injectDelay(); // To unit test race condition Review Comment: O missed that one. Thanks for catching! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org