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

Indexer stream merge can potentially cause mutation loss

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.0.0
    • 4.0.0
    • secondary-index
    • Security Level: Public
    • Untriaged
    • No

    Description

      Found via code review during MB-15174.

      If MAINT_STREAM is backlogged, there can be many TS in timekeeper queue waiting to be flushed(lets say T1-T10). Lets say there is an index being built in parallel and it reaches its build completion. Index will move to catchup and the corresponding mutations will come in MAINT_STREAM for the new index from T11. But right now the merge can happen anywhere between T1-T10, which is not correct.

      Indexer needs to make sure the merge happens at or after T11.

      Attachments

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

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            deepkaran.salooja Deepkaran Salooja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty