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 04:24:00 GMT


Shalin Shekhar Mangar commented on SOLR-13897:

This patch adds registerTerm inside ZkCollectionTerms so that it is called after synchronizing
on the same terms object as that used for the remove. I couldn't quite make out a condition
where both could happen concurrently but it makes me sleep better knowing that they absolutely

> 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, 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