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

   https://issues.apache.org/jira/browse/SOLR-11966
   
   # Description
   
   Use existing tooling in start scripts when an embedded ZK is used to trigger 
adding `zookeeper:on` to the Node Roles list.
   
   Reuse that plumbing to make sure we shut down non ZK hosting Solr's first, 
which speeds up `bin/solr stop --all` by a lot. 
   
   This is Unix only ;-(.  I don't currently have a windows box to test the 
changes.
   
   # Solution
   
   Java automatically reports zookeeper:on for nodes running embedded 
ZooKeeper, preserving existing node roles and defaults.
   
     `bin/solr stop --al`l stops other nodes first, then embedded-ZooKeeper 
hosts, using the existing
     `-Dsolr.zookeeper.server.enabled=true` process flag. No new startup marker 
or shell role-merging logic is needed.
   
   # Tests
   bats and manual
   
   


-- 
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