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

Some document keys fail with the reason 'com.couchbase.client.core.error.DocumentExistsException' while inserting docs into the recreated collections

    XMLWordPrintable

Details

    Description

      Steps:
      1) Install 7.1.2-3454 on 3 nodes and initialize the cluster with these 3 nodes.
      2) Create a magma bucket with 200 collections (10 scopes and 20 collections in each scope).
      3) Load 100 million documents into the bucket so that the bucket is at 1 percent DGM.
      4) Use a Swap Rebalance technique to upgrade each node to 7.2.0-5325. Parallelly, start data load (reads and updates) while the rebalance is going on.
      5) After the reads and updates load is done, 2 collections were dropped. This is done while the rebalance is still going on.

      6) Collections 'collection-115' and 'collection-106' are dropped from the bucket.

      7) Only 'collection-115' was re-created. After the re-creation of 'collection-115', tried inserting 100,000 documents into it. Some keys succeeded and a few failed with the below reason.

      8) The above failed keys were retried one more time and the insertion of these keys succeeded during the retry.
      9) Cb-collect info has been attached.

      Attachments

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

        Activity

          People

            vibhav.sp Vibhav S P
            vibhav.sp Vibhav S P
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty