Solr
  1. Solr
  2. SOLR-6111

The 'deleteshard' collection API should be able to delete a shard in 'construction' state

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.8, 4.8.1
    • Fix Version/s: 4.9, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      The 'deleteshard' doesn't delete shards in 'construction' state. This makes it impossible to clean up a split gone wrong. It should be able to delete any shard which is not in active state.

      1. SOLR-6111.patch
        4 kB
        Shalin Shekhar Mangar

        Activity

        Hide
        Shalin Shekhar Mangar added a comment -
        1. Allow shards in 'construction' state to be deleted.
        2. Added a test in deleteShard.

        I'll commit this shortly.

        Show
        Shalin Shekhar Mangar added a comment - Allow shards in 'construction' state to be deleted. Added a test in deleteShard. I'll commit this shortly.
        Hide
        ASF subversion and git services added a comment -

        Commit 1597077 from shalin@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1597077 ]

        SOLR-6111: The 'deleteshard' collection API should be able to delete a shard in 'construction' state

        Show
        ASF subversion and git services added a comment - Commit 1597077 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1597077 ] SOLR-6111 : The 'deleteshard' collection API should be able to delete a shard in 'construction' state
        Hide
        ASF subversion and git services added a comment -

        Commit 1597078 from shalin@apache.org in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1597078 ]

        SOLR-6111: The 'deleteshard' collection API should be able to delete a shard in 'construction' state

        Show
        ASF subversion and git services added a comment - Commit 1597078 from shalin@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1597078 ] SOLR-6111 : The 'deleteshard' collection API should be able to delete a shard in 'construction' state

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development