lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (Jira)" <>
Subject [jira] [Commented] (SOLR-13897) Unsafe publication of Terms object in ZkShardTerms
Date Sun, 01 Dec 2019 00:44:00 GMT


Shalin Shekhar Mangar commented on SOLR-13897:

The onTermUpdates might receive updates out of order (i.e. monotonic term versions are not
guaranteed inside onTermUpdates) but it is not a problem in the default RecoveringCoreTermWatcher
implementation because it tracks the last term that triggered recovery and returns if it is
greater (or equal) to the current term. This patch adds javadocs to the CoreTermWatcher interface
and calls out the behavior of these invocations.

> Unsafe publication of Terms object in ZkShardTerms
> --------------------------------------------------
>                 Key: SOLR-13897
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: 8.2, 8.3
>            Reporter: Shalin Shekhar Mangar
>            Priority: Major
>             Fix For: master (9.0), 8.4
>         Attachments: SOLR-13897.patch, SOLR-13897.patch
> The Terms object in ZkShardTerms is written using a write lock but reading is allowed
freely. This is not safe and can cause visibility issues and associated race conditions under

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message