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

Shard split clean up logic for older failed splits is faulty

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10.4, 5.5.2, 6.1
    • Fix Version/s: 6.2.1, 6.3, 7.0
    • Component/s: SolrCloud
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      In case a split finds that previous sub-shards exist in construction or recovery state. it tries to clean them up by invoking deleteshard API. However, the clean up logic tries to invoke deleteshard on the same sub-shards as many times as the requested number of sub-ranges. Such repeat calls to deleteshard fail and therefore fail the entire shard split operation.

        Attachments

        1. Lucene-Solr-tests-master.8015.log.gz
          343 kB
          Steve Rowe
        2. SOLR-9439.patch
          11 kB
          Shalin Shekhar Mangar
        3. SOLR-9439.patch
          9 kB
          Shalin Shekhar Mangar
        4. SOLR-9439.patch
          2 kB
          Shalin Shekhar Mangar
        5. SOLR-9439-fix-deleteshard.patch
          11 kB
          Shalin Shekhar Mangar
        6. SOLR-9439-fix-deleteshard.patch
          9 kB
          Shalin Shekhar Mangar

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: