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

Client receiving config with empty vBucketMap

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown
    • March-June 24

    Description

      While doing some testing against 7.6.0-2010 I noticed that it seems the client can receive a configuration map with an empty vBucketMap. After talking w/ Sergey Avseyev, it seems that the client should not receive a configuration of this sort. Filing this MB to get some more eyes on the scenario.

      I have attached the following:

      • cluster logs (I am using cbdinocluster)
        • ([^collectinfo-2024-01-16T172309-ns_1@192.168.107.128.zip], [^collectinfo-2024-01-16T172309-ns_1@192.168.107.129.zip] , [^collectinfo-2024-01-16T172309-ns_1@192.168.107.130.zip] )
      • tcp dump of the scenario ( 20240116_760v2010_empty_vbucketmap.pcapng )
      • see log snippet below which shows the client's representation of the log

      Log snippet:

      [2024-01-16 11:20:39.700] [87450,48182582] [debug] 0ms, [710154-7493-dd4b-6d91-e21f3fb860497e/96b7f1-52f3-9d47-9ee5-0e68a307eb8a2f/plain/test-bucket] <192.168.107.130:11210> connecting to 192.168.107.130:11210, timeout=2000ms
      [2024-01-16 11:20:39.700] [87450,48182582] [trace] 0ms, [710154-7493-dd4b-6d91-e21f3fb860497e/37c3e0-f0fc-d84d-f24b-7a9c4e25f47c65/plain/test-bucket] <192.168.107.128/192.168.107.128:11210> MCBP recv {magic=0x18, opcode=0xb5, fextlen=3, keylen=0, extlen=0, datatype=1, status=0, bodylen=2832, opaque=8, cas=0}
      [2024-01-16 11:20:39.700] [87450,48182582] [trace] 0ms, [710154-7493-dd4b-6d91-e21f3fb860497e/37c3e0-f0fc-d84d-f24b-7a9c4e25f47c65/plain/test-bucket] <192.168.107.128/192.168.107.128:11210> configuration from get_cluster_config response (size=2832, endpoint="192.168.107.128:11210"), {"rev":210,"revEpoch":1,"name":"test-bucket","nodeLocator":"vbucket","bucketType":"membase","storageBackend":"couchstore","uuid":"87aa2294477f5521e33b39e16790196e","uri":"/pools/default/buckets/test-bucket?bucket_uuid=87aa2294477f5521e33b39e16790196e","streamingUri":"/pools/default/bucketsStreaming/test-bucket?bucket_uuid=87aa2294477f5521e33b39e16790196e","numVBuckets":1024,"bucketCapabilitiesVer":"","bucketCapabilities":["collections","durableWrite","tombstonedUserXAttrs","couchapi","subdoc.ReplaceBodyWithXattr","subdoc.DocumentMacroSupport","subdoc.ReviveDocument","dcp.IgnorePurgedTombstones","preserveExpiry","querySystemCollection","mobileSystemCollection","subdoc.ReplicaRead","rangeScan","dcp","cbhello","touch","cccp","xdcrCheckpointing","nodesExt","xattr"],"collectionsManifestUid":"1","ddocs":{"uri":"/pools/default/buckets/test-bucket/ddocs"},"vBucketServerMap":{"hashAlgorithm":"CRC","numReplicas":0,"serverList":["192.168.107.128:11210","192.168.107.129:11210","192.168.107.130:11210"],"vBucketMap":[]},"nodes":[{"couchApiBase":"http://192.168.107.128:8092/test-bucket%2B87aa2294477f5521e33b39e16790196e","hostname":"192.168.107.128:8091","ports":{"direct":11210}},{"couchApiBase":"http://192.168.107.129:8092/test-bucket%2B87aa2294477f5521e33b39e16790196e","hostname":"192.168.107.129:8091","ports":{"direct":11210}},{"couchApiBase":"http://192.168.107.130:8092/test-bucket%2B87aa2294477f5521e33b39e16790196e","hostname":"192.168.107.130:8091","ports":{"direct":11210}}],"nodesExt":[{"services":{"capi":8092,"capiSSL":18092,"fts":8094,"ftsGRPC":9130,"ftsGRPCSSL":19130,"ftsSSL":18094,"indexAdmin":9100,"indexHttp":9102,"indexHttps":19102,"indexScan":9101,"indexStreamCatchup":9104,"indexStreamInit":9103,"indexStreamMaint":9105,"kv":11210,"kvSSL":11207,"mgmt":8091,"mgmtSSL":18091,"n1ql":8093,"n1qlSSL":18093,"projector":9999},"thisNode":true,"hostname":"192.168.107.128"},{"services":{"capi":8092,"capiSSL":18092,"fts":8094,"ftsGRPC":9130,"ftsGRPCSSL":19130,"ftsSSL":18094,"indexAdmin":9100,"indexHttp":9102,"indexHttps":19102,"indexScan":9101,"indexStreamCatchup":9104,"indexStreamInit":9103,"indexStreamMaint":9105,"kv":11210,"kvSSL":11207,"mgmt":8091,"mgmtSSL":18091,"n1ql":8093,"n1qlSSL":18093,"projector":9999},"hostname":"192.168.107.129"},{"services":{"capi":8092,"capiSSL":18092,"fts":8094,"ftsGRPC":9130,"ftsGRPCSSL":19130,"ftsSSL":18094,"indexAdmin":9100,"indexHttp":9102,"indexHttps":19102,"indexScan":9101,"indexStreamCatchup":9104,"indexStreamInit":9103,"indexStreamMaint":9105,"kv":11210,"kvSSL":11207,"mgmt":8091,"mgmtSSL":18091,"n1ql":8093,"n1qlSSL":18093,"projector":9999},"hostname":"192.168.107.130"}],"clusterCapabilitiesVer":[1,0],"clusterCapabilities":{"n1ql":["costBasedOptimizer","indexAdvisor","javaScriptFunctions","inlineFunctions","enhancedPreparedStatements","readFromReplica"]}}
      [2024-01-16 11:20:39.700] [87450,48182582] [trace] 0ms, [710154-7493-dd4b-6d91-e21f3fb860497e/37c3e0-f0fc-d84d-f24b-7a9c4e25f47c65/plain/test-bucket] <192.168.107.128/192.168.107.128:11210> received a configuration with identical revision (new=1:210, old=1:210), ignoring
      Fatal Python error: Segmentation fault
      

      Attachments

        Issue Links

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

          Activity

            People

              jared.casey Jared Casey
              jared.casey Jared Casey
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty