You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/08/03 17:24:00 UTC
[jira] [Commented] (SOLR-15486) consider
SolrCoreState.inflightUpdatesCounter logic in ZK-unware Solr
[ https://issues.apache.org/jira/browse/SOLR-15486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392437#comment-17392437 ]
ASF subversion and git services commented on SOLR-15486:
--------------------------------------------------------
Commit bab9d2878c36630fd62b271da5f224fa00e396c0 in solr's branch refs/heads/main from Christine Poerschke
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=bab9d28 ]
SOLR-15486: make SolrCoreState.pauseUpdatesAndAwaitInflightRequests logic not SolrCloud specific (#180)
> consider SolrCoreState.inflightUpdatesCounter logic in ZK-unware Solr
> ---------------------------------------------------------------------
>
> Key: SOLR-15486
> URL: https://issues.apache.org/jira/browse/SOLR-15486
> Project: Solr
> Issue Type: Task
> Reporter: Christine Poerschke
> Assignee: Christine Poerschke
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> SOLR-14942 added the {{inflightUpdatesCounter}} logic to reduce leader election time on node shutdown.
> From my understanding of the code so far:
> * Since the earlier triggering of an election is specific to ZK-aware Solr then one could say that {{ContentStreamHandlerBase.handleRequestBody}} doing inflight update registers and deregisters is unnecessary.
> * Alternatively if waiting for inflight updates to complete (at that point in the shutdown sequence) is generally beneficial then one could say that the {{pauseUpdatesAndAwaitInflightRequests}} logic should be added for the ZK-unware code path in {{CoreContainer.shutdown}} also.
> Illustrative draft pull request with both options: https://github.com/apache/solr/pull/180
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org