[
https://issues.apache.org/jira/browse/SOLR-13897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024108#comment-17024108
]
ASF subversion and git services commented on SOLR-13897:
--------------------------------------------------------
Commit 7316391d2dd77c486fa25b8435f0bcde33837a6d in lucene-solr's branch
refs/heads/branch_8x from Shalin Shekhar Mangar
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=7316391 ]
SOLR-13897: Fix unsafe publication of Terms object in ZkShardTerms that can
cause visibility issues and race conditions under contention
(cherry picked from commit 776631254ffa900527fa1ed7bcf789265cb289c1)
> Unsafe publication of Terms object in ZkShardTerms
> --------------------------------------------------
>
> Key: SOLR-13897
> URL: https://issues.apache.org/jira/browse/SOLR-13897
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 8.2, 8.3
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Priority: Major
> Fix For: master (9.0)
>
> Attachments: SOLR-13897.patch, 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 contention.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]