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

Validate index files on replica before old index is deleted

    XMLWordPrintableJSON

    Details

      Description

      During replication, if a full sync is necessary then the detection of corruption will happen after the index has been cleaned up (refer to solrCore.getDirectoryFactory().remove(indexDir); before calling openNewSearcherAndUpdateCommitPoint()) in IndexFetcher.

      SOLR-8119 will make this issue obsolete but until then we should perform trivial verification (maybe just open a reader and close?) before the replica blows away its old index?

        Attachments

        1. SOLR-8120.patch
          0.8 kB
          Cao Manh Dat

          Activity

            People

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

              Dates

              • Created:
                Updated: