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

All Docs Deleted on Node Joining The Cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 6.5.0
    • 6.5.0
    • couchbase-bucket
    • None
    • Untriaged
    • Unknown

    Description

      Summary:

      All documents on a bucket are lost when a node joins the cluster.

      To Reproduce:

      1. Have a cluster of a single node that has data service.
      2. Load beer-sample bucket and make sure item count matches the expected.
      3. Add another node to the cluster with any service (e.g. Analytics).

      Even before the new node is rebalanced in, the item count on beer-sample goes to zero.

      Logs from both nodes are attached. The following log appears in the memcached file when the second node joins the cluster:

      2019-04-17T03:04:30.774715+03:00 INFO 41: [ 127.0.0.1:60128 - 127.0.0.1:11999 (<ud>@ns_server</ud>) ] Updated cluster configuration for bucket [beer-sample]. New revision: 19 
      2019-04-17T03:04:30.774779+03:00 INFO Pushing new cluster config for bucket:[beer-sample] revision:[19] 
      2019-04-17T03:04:30.775766+03:00 INFO 46: Client 127.0.0.1:60243 authenticated as <ud>@ns_server</ud> 
      2019-04-17T03:04:30.775986+03:00 INFO 46: HELO [regular] [ 127.0.0.1:60243 - 127.0.0.1:11999 (<ud>@ns_server</ud>) ] 
      2019-04-17T03:04:30.932795+03:00 INFO (beer-sample) VBucket::setState: transitioning vb:1023 from:active to:dead 
      2019-04-17T03:04:30.932846+03:00 INFO (beer-sample) Deletion of vb:1023 was completed. 
      2019-04-17T03:04:30.933439+03:00 INFO (beer-sample) VBucket::setState: transitioning vb:1022 from:active to:dead 
      2019-04-17T03:04:30.933468+03:00 INFO (beer-sample) Deletion of vb:1022 was completed. 
      2019-04-17T03:04:30.933626+03:00 INFO (beer-sample) VBucket::setState: transitioning vb:1021 from:active to:dead 
      2019-04-17T03:04:30.933652+03:00 INFO (beer-sample) Deletion of vb:1021 was completed.
      ...
      

       

      Attachments

        Issue Links

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

          Activity

            People

              drigby Dave Rigby (Inactive)
              murtadha.hubail Murtadha Hubail
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty