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

AutoAddReplicas default 30 second wait time is too low

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.3, 8.0
    • None
    • None

    Description

      If I create a collection with autoAddReplicas=true in Solr 7.x a AutoAddReplicasPlanAction get's created with a waitFor=30 seconds

      The default should be increased as a JVM which is down for more than 30seconds can cause the framework to add a new replica on another node

      With HDFS this was a cheap operation as it only involved create a core and pointing it to the same index directory. 

      But for non shared file systems, this is a very expensive operation and can potentially move large indexes around so maybe we should have a higher default

      Attachments

        1. SOLR-12067-test-fix.patch
          1 kB
          Shalin Shekhar Mangar
        2. SOLR-12067.patch
          1.0 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: