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

Order DCP streams when streaming from multiple VB

    XMLWordPrintable

Details

    Description

      Problem

      For consistency cbbackupmgr is forced to open all vbucket streams at once.  This a has a performance impact because the streams are interlaced, which causes cbbackupmgr to jump between different vbucket files.

      For supporting backup to S3 it is too expensive to hold all 1024 vbuckets open at once, because to be cost efficient the upload chunks have to be large.

      A possible solution is to open and stream one vbucket at a time, however this causes consistency problems.

      It is suggested that a DCP control message cold be used to state that it will open the file handle to all vbuckets, which gives consistency, however stream only one vbucket at a time

       

       

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.0.0-2253 contains kv_engine commit d63201a with commit message:
            MB-37680: MockActiveStream: default common arguments

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2253 contains kv_engine commit d63201a with commit message: MB-37680 : MockActiveStream: default common arguments

            Build couchbase-server-7.0.0-2253 contains kv_engine commit 57bcba2 with commit message:
            MB-37680: Introduce DCPBackfillIface

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2253 contains kv_engine commit 57bcba2 with commit message: MB-37680 : Introduce DCPBackfillIface

            Build couchbase-server-6.6.0-7766 contains kv_engine commit a31e868 with commit message:
            MB-37680: Schedule backfill of snap_markers ASAP

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7766 contains kv_engine commit a31e868 with commit message: MB-37680 : Schedule backfill of snap_markers ASAP

            Build couchbase-server-7.0.0-2279 contains kv_engine commit 9b06cd8 with commit message:
            MB-37680: Reduce differences between eph and persistent backfill

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2279 contains kv_engine commit 9b06cd8 with commit message: MB-37680 : Reduce differences between eph and persistent backfill

            Build couchbase-server-7.0.0-2321 contains kv_engine commit a31e868 with commit message:
            MB-37680: Schedule backfill of snap_markers ASAP

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2321 contains kv_engine commit a31e868 with commit message: MB-37680 : Schedule backfill of snap_markers ASAP

            People

              owend Daniel Owen
              owend Daniel Owen
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty