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

PeerSync should use same nUpdates everywhere

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.4.1, 6.0
    • 5.5.1, 6.0
    • SolrCloud
    • None

    Description

      PeerSync requests information on the most recent nUpdates updates from another instance to determine whether PeerSync can succeed. The value of nUpdates can be customized in solrconfig.xml: UpdateHandler.UpdateLog.NumRecordsToKeep.

      PeerSync can be initiated in a number of different paths. One path to start PeerSync (leader-initiated sync) is incorrectly still using a hard-coded value of nUpdates=100.

      This change fixes leader-initiated-sync code path to also pick up the value of nUpdates from the customized/configured value.

      Attachments

        1. solr-8656.patch
          2 kB
          Ramsey Haddad

        Issue Links

          Activity

            People

              anshum Anshum Gupta
              rwhaddad Ramsey Haddad
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: