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

RecentUpdates.update() does not increment numUpdates counter inside loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3
    • 4.3.1
    • None
    • None

    Description

      As reported by AlexeyK on solr-user:

      http://lucene.472066.n3.nabble.com/Solr-4-3-node-is-seen-as-active-in-Zk-while-in-recovery-mode-endless-recovery-td4065549.html

      Speaking about the update log - i have noticed a strange behavior concerning
      the replay. The replay is supposed to be done for a predefined number of
      log entries, but actually it is always done for the whole last 2 tlogs.
      RecentUpdates.update() reads log within while (numUpdates <
      numRecordsToKeep), while numUpdates is never incremented, so it exits when
      the reader reaches EOF.

      Attachments

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: