Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13897

Unsafe publication of Terms object in ZkShardTerms

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.2, 8.3
    • Fix Version/s: master (9.0), 8.5
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      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.

        Attachments

        1. SOLR-13897.patch
          9 kB
          Shalin Shekhar Mangar
        2. SOLR-13897.patch
          9 kB
          Shalin Shekhar Mangar
        3. SOLR-13897.patch
          7 kB
          Shalin Shekhar Mangar
        4. SOLR-13897.patch
          7 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalin Shalin Shekhar Mangar
              Reporter:
              shalin Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: