andyvuong opened a new pull request #1369: SOLR-14213: Allow enabling shared 
store to be scriptable
URL: https://github.com/apache/lucene-solr/pull/1369
 
 
   Enhancing the configuration section to allow shared storage feature to be 
enabled via system properties vs just checking for presence of <sharedStore> 
section in solr.xml.
   ```
   <sharedStore>
     <bool name="sharedStoreEnabled">${sharedStoreEnabled:false}</bool>
   </sharedStore>
   ```
   Shared storage is now only enabled if cloud mode is on, <sharedStore> 
section is present, and the field sharedStoreEnabled is present and set to 
true. If <sharedStore> is present but the field isn't, startup fails. The field 
supports system properties overriding whatever default is specified. This can 
be passed in via the solr binary such as 
   `bin/solr start -e cloud -noprompt -DsharedStoreEnabled=true` 
   or set by specifying the environment variable SHARE_STORE_ENABLED.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to