Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-60954

XDCR: race between metakv handler and PeriodicPushHandler to create backfill spec

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.5
    • XDCR
    • None
    • Untriaged
    • 0
    • No

    Description

      There are two code paths:

      1. Left side "MetaKVListner"
      2. Right side "PeriodicPushHandler"

      These both run in parallel and execute common logic of "handleBackfillRequestWithArgs". The yellow background are the separate threads/goroutines. If the periodicPushHandler wins and it ends up creating the backfill spec then it will be with the invalid VBs. Therefore the backfill pipeline exists with "no tasks to run"

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sudeep.jathar Sudeep Jathar
            sudeep.jathar Sudeep Jathar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty