You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Shawn Heisey (Jira)" <ji...@apache.org> on 2022/11/17 13:44:00 UTC

[jira] [Commented] (SOLR-16552) Solr Slave in ReadOnly Mode

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

Shawn Heisey commented on SOLR-16552:
-------------------------------------

Jira is not the right place for this.  When you created this issue, you would have seen a bright red message telling you this:

{color:#de350b}This project has a user mailing list and an IRC channel for support. Please ensure that you have discussed your problem using one of those [resources|http://lucene.apache.org/solr/community.html#mailing-lists-irc] BEFORE creating this ticket.{color}

Before I close this ticket, here is an answer.  In the future, please remember that Jira is not a support portal for the Solr project.

There is actually no enforcement of read-only status of follower replicas.  In cloud mode the effective result is basically enforcement, but really it is a side effect of the way cloud mode does indexing and the characteristics of PULL/TLOG replica operation.  PULL/TLOG followers are still capable of doing independent indexing, but SolrCloud doesn't send updates to those replicas.

In standalone mode, you would enforce this yourself by only sending updates to the primary (master) cores.  If someone DID send an update to a secondary (slave) core, that update would be lost the next time a replication occurred.

> Solr Slave in ReadOnly Mode
> ---------------------------
>
>                 Key: SOLR-16552
>                 URL: https://issues.apache.org/jira/browse/SOLR-16552
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Rajesh Kumar C
>            Priority: Major
>
> Hi Team,
> Can you please explain how to open/use Solr slave in READONLY mode in stand alone mode, as the index changes always happening at Solr Master, and just replicated to Solr slave via Poll Interval.
> We know Solr Cloud has the option to have collections in READONLY mode. But is is not supported in Stand alone mode.
> https://solr.apache.org/guide/8_11/collection-management.html#modifycollection-parameters
> So is there a way to use Solr Slave in READONLY mode?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org