[ 
https://issues.apache.org/jira/browse/SOLR-8415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15067054#comment-15067054
 ] 

Gregory Chanan commented on SOLR-8415:
--------------------------------------

{code}+        } else if (line.getOptionValue(CMD).equals(RESETACL)) {
+          zkClient.resetACLs("/");
{code}
should take a path, like CLEAN

{code}
+    List<String> children = getChildren(znode, null, true);
{code}
catch NoNodeException, like CLEAN

{code}
+      getSolrZooKeeper().setACL(znode, getZkACLProvider().getACLsToAdd(znode), 
-1);
{code}

Will this work if the version of the znode is set?

Why don't you support retryOnConnLoss?

Would be good to test that the acls get applied recursively

> Provide command to switch between non/secure mode in ZK
> -------------------------------------------------------
>
>                 Key: SOLR-8415
>                 URL: https://issues.apache.org/jira/browse/SOLR-8415
>             Project: Solr
>          Issue Type: Improvement
>          Components: security, SolrCloud
>            Reporter: Mike Drob
>            Assignee: Gregory Chanan
>             Fix For: Trunk
>
>         Attachments: SOLR-8415.patch, SOLR-8415.patch
>
>
> We have the ability to run both with and without zk acls, but we don't have a 
> great way to switch between the two modes. Most common use case, I imagine, 
> would be upgrading from an old version that did not support this to a new 
> version that does, and wanting to protect all of the existing content in ZK, 
> but it is conceivable that a user might want to remove ACLs as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to