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

The new replica created by MoveReplica will have to have same name and coreName as the old one in case of HDFS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0
    • None
    • None

    Description

      Currently, if the node contains a replica ( the replica being moved ) go down, then we call moveReplica command for it. That replica will only be removed from states.json. So If that node come back, we will have 2 replicas point to the same dataDir in HDFS.

      So if moveReplica can maintain the same name and coreName for the new replica, we can reuse CloudUtil.checkSharedFSFailoverReplaced() to clean the old one.

      Attachments

        1. SOLR-11045.patch
          11 kB
          Cao Manh Dat
        2. SOLR-11045.patch
          9 kB
          Cao Manh Dat
        3. SOLR-11045.patch
          9 kB
          Cao Manh Dat

        Issue Links

          Activity

            People

              caomanhdat Cao Manh Dat
              caomanhdat Cao Manh Dat
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: