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

Data in few datasets is not getting flushed when bucket on which dataset is created is flushed

    XMLWordPrintable

Details

    Description

      Steps to reproduce -
      1. Create a cluster with 2 KV and 2 CBAS nodes.
      2. Create a KV bucket with 1GB memory allocated to it.
      3. Create 10 scopes and 2 collections in each scope.
      4. Load data into collections such that the bucket is in 40% DGM.
      5. Now create datasets on all the collections of the bucket.
      6. Wait for ingestion to be completed into datasets.
      7. Flush the bucket.
      8. It is observed that for a few datasets the data is not deleted from even though the collection on which it was created is empty.

      In the logs look for dataset `6jHjE6`.nZj6.NxhjrOhGerFI, it was created on default.scope-6.collection-12.

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.1.2-3395 contains cbas-core commit 9a53512 with commit message:
            MB-53038: Rollback on zero DCP State

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.2-3395 contains cbas-core commit 9a53512 with commit message: MB-53038 : Rollback on zero DCP State

            Umang,
            The original scenario where we don't wait for ingestion should work now. Please test it to validate the fix.

            murtadha.hubail Murtadha Hubail added a comment - Umang , The original scenario where we don't wait for ingestion should work now. Please test it to validate the fix.
            umang.agrawal Umang added a comment -

            Verified with build 7.1.2-3395

            Verified with magma bucket in 40%, 20% and 10% DGM state.

            umang.agrawal Umang added a comment - Verified with build 7.1.2-3395 Verified with magma bucket in 40%, 20% and 10% DGM state.

            Build couchbase-server-7.2.0-1897 contains cbas-core commit 9a53512 with commit message:
            MB-53038: Rollback on zero DCP State

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1897 contains cbas-core commit 9a53512 with commit message: MB-53038 : Rollback on zero DCP State

            Build couchbase-server-8.0.0-1091 contains cbas-core commit 9a53512 with commit message:
            MB-53038: Rollback on zero DCP State

            build-team Couchbase Build Team added a comment - Build couchbase-server-8.0.0-1091 contains cbas-core commit 9a53512 with commit message: MB-53038 : Rollback on zero DCP State

            People

              umang.agrawal Umang
              umang.agrawal Umang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty