On 12/26/2023 00:19, Uday Kumar wrote:
Surprisingly, *authentication is enabled on all nodes/shards* immediately
after pushing the security.json file to Zookeeper.
However, according to the Solr Documentation, a restart of each node is
required for authentication changes to take effect across all nodes/shards.
SolrCloud applies settings in security.json immediately as soon as it
exists at the root/chroot in zookeeper, no restart required. If
security.json is removed from zookeeper, then authentication is
immediately disabled.
If trying authentication when Solr is NOT in cloud mode, that probably
does require a restart, because when Solr is not in cloud mode, it is
far less dynamic.
Thanks,
Shawn