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

ActiveStream's initial backfill does not respect the purge-seqno

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.5.0
    • 4.6.4, 5.0.1, 5.1.1, 5.5.0
    • couchbase-bucket
    • Untriaged
    • Unknown

    Description

      When a stream is first requested, the rollback logic checks if the start-seqno is below the purge-seqno, however by the time the backfill is actually scheduled to run, the purge-seqno could of changed (i.e. compaction finished).

      • streamRequest - compare startSeqno against vb->getPurgeSeqno(), stream is OK and backfill is scheduled
      • compaction finishes and sets purgeSeqno to be > than startSeqno
      • backfill runs and is started from the requested point and may miss deletions which have been purged

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-29512
          # Subject Branch Project Status CR V

          Activity

            People

              jwalker Jim Walker
              jwalker Jim Walker
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty