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

certain node keys of mb_master(expected to be preserved) are deleted after removal from cluster

    XMLWordPrintable

Details

    • Triaged
    • 1
    • Yes

    Description

      Install Couchbase server 7.0.0-4960 onĀ  debian 10.

      Create default bucket.

      Run cbcollectinfo to collect log.

      Unzip log and scan for error, seeing dump-guts throws out exception

      grep guts in logs, see errors in them

      root@deb91-qe:~/cbcollect_info__20210418-084025# grep guts ./*
      ./cbcollect_info.log:[2021-04-18T01:41:00.017721-07:00] Found dump-guts: /opt/couchbase/bin/dump-guts
      ./cbcollect_info.log:[2021-04-18T01:41:00.449541-07:00] Error occurred getting server guts: Got exception: {error,badarg}
      ./cbcollect_info.log: {'dump-guts__escript__1618__735260__100096__2',extract_rest_port,2,
      ./cbcollect_info.log:     [{file,"/opt/couchbase/bin/dump-guts"},{line,458}]},
      ./cbcollect_info.log: {'dump-guts__escript__1618__735260__100096__2',main_with_everything,4,
      ./cbcollect_info.log:     [{file,"/opt/couchbase/bin/dump-guts"},{line,553}]},
      ./cbcollect_info.log: {'dump-guts__escript__1618__735260__100096__2',main,1,
      ./cbcollect_info.log:     [{file,"/opt/couchbase/bin/dump-guts"},{line,136}]},
      ./cbcollect_info.log:[2021-04-18T01:41:00.449758-07:00] Found dump-guts: /opt/couchbase/bin/dump-guts
      ./cbcollect_info.log:[2021-04-18T01:41:00.910117-07:00] Error occurred getting server guts: Got exception: {error,badarg}
      ./cbcollect_info.log: {'dump-guts__escript__1618__735260__536239__2',extract_rest_port,2,
      ./cbcollect_info.log:     [{file,"/opt/couchbase/bin/dump-guts"},{line,458}]},
      ./cbcollect_info.log: {'dump-guts__escript__1618__735260__536239__2',main_with_everything,4,
      ./cbcollect_info.log:     [{file,"/opt/couchbase/bin/dump-guts"},{line,553}]},
      ./cbcollect_info.log: {'dump-guts__escript__1618__735260__536239__2',main,1,
      ./cbcollect_info.log:     [{file,"/opt/couchbase/bin/dump-guts"},{line,136}]},
      ./cbcollect_info.log:[2021-04-18T01:41:00.910313-07:00] Found dump-guts: /opt/couchbase/bin/dump-guts
      ./cbcollect_info.log:[2021-04-18T01:41:00.910408-07:00] Couldn't read server guts. Using some default values.
      ./cbcollect_info.log:[2021-04-18T01:41:00.910594-07:00] Adding persistent buckets '['default']' to server guts
      ./couchbase.log:261702 -rwxr-xr-x 1 couchbase couchbase    30378 Apr 16 04:03 dump-guts
      root@deb91-qe:~/cbcollect_info__20210418-084025# more /opt/couchbase/bin/dump-guts 

      This exception does not have in centos 7.6

      [root@s44015 cbcollect_info_ns_1@cb.local_20210422-180448]# grep guts ./*
      ./cbcollect_info.log:[2021-04-22T11:05:58.869377-07:00] Found dump-guts: /opt/couchbase/bin/dump-guts
      ./cbcollect_info.log:[2021-04-22T11:06:00.181186-07:00] Adding persistent buckets '['default', 'beer-sample']' to server guts
      grep: ./chronicle: Is a directory
      ./couchbase.log:101731032 -rwxr-xr-x. 1 couchbase couchbase    30378 Apr 16 03:19 dump-guts
      grep: ./stats_snapshot: Is a directory
      [root@s44015 cbcollect_info_ns_1@cb.local_20210422-180448]# 
       

      I will upload logs from debian 10 soon

      Attachments

        1. config.zip
          977 kB
        2. couchbase-server.node
          0.0 kB
        3. info.zip
          57.58 MB
        4. initargs
          5 kB
        5. logs.zip
          89.24 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thuan Thuan Nguyen
            thuan Thuan Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty