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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              caomanhdat Cao Manh Dat
              Reporter:
              caomanhdat Cao Manh Dat

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment