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

CDCR bootstrapping can get into an infinite loop when a core is reloaded

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2, 6.3, 6.4, 6.5, 6.6, 7.0
    • Fix Version/s: 6.6.1, 6.7, 7.0, 7.1, master (8.0)
    • Component/s: CDCR
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      LASTPROCESSEDVERSION (a.b.v. LPV) action for CDCR breaks down due to poorly initialised and maintained buffer log for either source or target cluster core nodes.

      If buffer is enabled for cores of either source or target cluster, it return -1, irrespective of number of entries in tlog read by the leader node of each shard of respective collection of respective cluster. Once disabled, it starts telling us the correct LPV for each core.

      Due to the same flawed behavior, Update Log Synchroniser may doesn't work properly as expected, i.e. provides incorrect seek to the non-leader nodes to advance at. I am not sure whether this is an intended behavior for sync but it surely doesn't feel right.

        Attachments

        1. SOLR-11069.patch
          51 kB
          Erick Erickson
        2. SOLR-11069.patch
          51 kB
          Erick Erickson
        3. SOLR-11069.patch
          8 kB
          Erick Erickson

          Activity

            People

            • Assignee:
              erickerickson Erick Erickson
              Reporter:
              sarkaramrit2@gmail.com Amrit Sarkar
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: