janhoy opened a new pull request, #5371:
URL: https://github.com/apache/solr/pull/5371

   https://issues.apache.org/jira/browse/SOLR-18671
   
   Deleting a package version now updates the handling node's in-memory package 
state and notifies the other nodes, the same way adding a version already does. 
Before this, a list request right after a delete could still return the deleted 
version until the ZooKeeper watcher fired, which made 
`ClusterPackageTest.testAddAndDeletePackageVersion` flaky.
   
   - `PackageStore.deleteVersion` sets `pkgs`, calls `refreshPackageConf()` and 
returns the new znode version
   - `ClusterPackage.deletePackageVersion` calls `notifyAllNodesToSync` with it
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to