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

AutoAddReplicas default 30 second wait time is too low

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3, master (8.0)
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              varunthacker Varun Thacker
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: