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

ns_server has no capabilities for COPY_XATTR_TO_BODY or new sub-document macros.

    XMLWordPrintable

Details

    • 1

    Description

      kv_engine recently introduced some new sub-document macro values as well as a new sub-document operation which enables copying of a value from an xattr into the document body. Unfortunately, there is no way to detect ahead of time whether these features are available which is a requirement to take advantage of them. Marking as a blocker for the moment as it prevents the required utilization of these features for N1QL Transactions.

      Attachments

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

        Activity

          brett19 Brett Lawson created issue -
          brett19 Brett Lawson made changes -
          Field Original Value New Value
          Description kv_engine recently introduced some new sub-document macro values as well as a new sub-document operation which enables copying of a value from an xattr into the document body. Unfortunately, there is no way to detect ahead of time whether these features are available which is a requirement to take advantage of them. kv_engine recently introduced some new sub-document macro values as well as a new sub-document operation which enables copying of a value from an xattr into the document body. Unfortunately, there is no way to detect ahead of time whether these features are available which is a requirement to take advantage of them. Marking as a blocker for the moment as it prevents the required utilization of these features for N1QL Transactions.
          raju Raju Suravarjjala made changes -
          Fix Version/s Cheshire-Cat [ 15915 ]
          dfinlay Dave Finlay added a comment -

          Brett - you are blocked in using this KV improvement for Transactions that just went in so linguistically you're ok using the term blocker, however, this is not how we normally use the tag blocker for bugs (cases where a bad checkin needs to be immediately reverted is an example.) Setting as a critical improvement. ns_server will get on it.

          dfinlay Dave Finlay added a comment - Brett - you are blocked in using this KV improvement for Transactions that just went in so linguistically you're ok using the term blocker, however, this is not how we normally use the tag blocker for bugs (cases where a bad checkin needs to be immediately reverted is an example.) Setting as a critical improvement. ns_server will get on it.
          dfinlay Dave Finlay made changes -
          Priority Blocker [ 1 ] Critical [ 2 ]
          dfinlay Dave Finlay made changes -
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          dfinlay Dave Finlay made changes -
          Labels Cheshire-Cat-Committed
          brett19 Brett Lawson added a comment -

          Makes sense. Thanks Dave!

          brett19 Brett Lawson added a comment - Makes sense. Thanks Dave!
          dfinlay Dave Finlay made changes -
          Summary ns_server has no caps for COPY_XATTR_TO_BODY or new sub-document macros. ns_server has no capabilities for COPY_XATTR_TO_BODY or new sub-document macros.
          dfinlay Dave Finlay added a comment -

          Suggest that we add this as a bucket capability that is displayed for all ephemeral and couchbase buckets once the cluster is fully upgraded to 7.0. These are the existing bucket capabilities:

          $ curl -s localhost:9000/pools/default/b/default -u Administrator:asdasd | jq .bucketCapabilities
          [
            "collections",
            "durableWrite",
            "tombstonedUserXAttrs",
            "couchapi",
            "dcp",
            "cbhello",
            "touch",
            "cccp",
            "xdcrCheckpointing",
            "nodesExt",
            "xattr"
          ]
          

          Trond Norbye, Dave Rigby, Brett Lawson: any suggestions as to how you would like to name this capability? Is the obvious copyXattrToBody OK?

          dfinlay Dave Finlay added a comment - Suggest that we add this as a bucket capability that is displayed for all ephemeral and couchbase buckets once the cluster is fully upgraded to 7.0. These are the existing bucket capabilities: $ curl -s localhost:9000/pools/default/b/default -u Administrator:asdasd | jq .bucketCapabilities [ "collections", "durableWrite", "tombstonedUserXAttrs", "couchapi", "dcp", "cbhello", "touch", "cccp", "xdcrCheckpointing", "nodesExt", "xattr" ] Trond Norbye , Dave Rigby , Brett Lawson : any suggestions as to how you would like to name this capability? Is the obvious copyXattrToBody OK?
          brett19 Brett Lawson added a comment - - edited

          I'm not against something like "copyXattrToBody" being the feature, but we would rely on the same feature code to know whether the new expansion macros are also available. Do we have any existing reference which happens to describe which feature codes refer to which groups of features?

          brett19 Brett Lawson added a comment - - edited I'm not against something like "copyXattrToBody" being the feature, but we would rely on the same feature code to know whether the new expansion macros are also available. Do we have any existing reference which happens to describe which feature codes refer to which groups of features?

          we called the feature 'SubdocReplaceBodyWithXattr' in memcached as it isn't a real copy, but a full replace of the body: http://src.couchbase.org/source/xref/cheshire-cat/kv_engine/docs/BinaryProtocol.md#1914-1916

          trond Trond Norbye added a comment - we called the feature 'SubdocReplaceBodyWithXattr' in memcached as it isn't a real copy, but a full replace of the body: http://src.couchbase.org/source/xref/cheshire-cat/kv_engine/docs/BinaryProtocol.md#1914-1916
          dfinlay Dave Finlay added a comment -

          In my conversation with Dave R earlier, he suggested capabilities that mirror the feature names in KV. The 2 feature names he referred to were:

              case cb::mcbp::Feature::SubdocReplaceBodyWithXattr:
              case cb::mcbp::Feature::SubdocDocumentMacroSupport:
          

          Translating that to bucket capabilities style names we'd end up with something like:

          subdoc.ReplaceBodyWithXattr
          subdoc.DocumentMacroSupport
          

          Dave Rigby: Does the DocumentMacroSupport feature relate to all macros or just to the recently added ones? Does it matter - are you ok if the SDK interprets this feature to mean the recently added ones?

          dfinlay Dave Finlay added a comment - In my conversation with Dave R earlier, he suggested capabilities that mirror the feature names in KV. The 2 feature names he referred to were: case cb::mcbp::Feature::SubdocReplaceBodyWithXattr: case cb::mcbp::Feature::SubdocDocumentMacroSupport: Translating that to bucket capabilities style names we'd end up with something like: subdoc.ReplaceBodyWithXattr subdoc.DocumentMacroSupport Dave Rigby : Does the DocumentMacroSupport feature relate to all macros or just to the recently added ones? Does it matter - are you ok if the SDK interprets this feature to mean the recently added ones?
          dfinlay Dave Finlay made changes -
          Assignee Dave Finlay [ dfinlay ] Dave Rigby [ drigby ]
          drigby Dave Rigby added a comment -

          Dave Rigby: Does the DocumentMacroSupport feature relate to all macros or just to the recently added ones? Does it matter - are you ok if the SDK interprets this feature to mean the recently added ones?

          The subdoc macros are cumulative - so while Feature::SubdocDocumentMacroSupport technically refers to the availability of the $document macro in mutations, it's presence would also mean the $Mutation macro is also available.

          In short, I'm fine for them to interpret as "macros added in Cheshire Cat for Transactions support"

          drigby Dave Rigby added a comment - Dave Rigby: Does the DocumentMacroSupport feature relate to all macros or just to the recently added ones? Does it matter - are you ok if the SDK interprets this feature to mean the recently added ones? The subdoc macros are cumulative - so while Feature::SubdocDocumentMacroSupport technically refers to the availability of the $document macro in mutations, it's presence would also mean the $Mutation macro is also available. In short, I'm fine for them to interpret as "macros added in Cheshire Cat for Transactions support"
          drigby Dave Rigby made changes -
          Assignee Dave Rigby [ drigby ] Dave Finlay [ dfinlay ]
          dfinlay Dave Finlay added a comment -

          Brett Lawson, Trond Norbye: you guys good with the above or have questions or other suggestions?

          dfinlay Dave Finlay added a comment - Brett Lawson , Trond Norbye : you guys good with the above or have questions or other suggestions?
          trond Trond Norbye added a comment -

          I'm good

          trond Trond Norbye added a comment - I'm good
          brett19 Brett Lawson added a comment -

          I am also good with this.

          brett19 Brett Lawson added a comment - I am also good with this.
          brett19 Brett Lawson made changes -
          Link This issue blocks TXNG-16 [ TXNG-16 ]
          dfinlay Dave Finlay made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          dfinlay Dave Finlay added a comment -

          Brett Lawson, Trond Norbye: merged - let me know if you have any further questions or requests.

          Patch: http://review.couchbase.org/c/ns_server/+/139224

          dfinlay Dave Finlay added a comment - Brett Lawson , Trond Norbye : merged - let me know if you have any further questions or requests. Patch: http://review.couchbase.org/c/ns_server/+/139224

          Build couchbase-server-7.0.0-3618 contains ns_server commit e34714a with commit message:
          MB-42330: Add subdoc bucket capabilities

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3618 contains ns_server commit e34714a with commit message: MB-42330 : Add subdoc bucket capabilities

          Validated this on 7.0.0-4754.

          $ cat /opt/couchbase/VERSION.txt 
          7.0.0-4754
          $ curl -u Administrator:password http://172.23.120.201:8091/pools/default/buckets
          [{"name":"travel-sample","nodeLocator":"vbucket","uuid":"3eb592d6020dfbb1cfda37b58434a12e","uri":"/pools/default/buckets/travel-sample?bucket_uuid=3eb592d6020dfbb1cfda37b58434a12e","streamingUri":"/pools/default/bucketsStreaming/travel-sample?bucket_uuid=3eb592d6020dfbb1cfda37b58434a12e","bucketCapabilitiesVer":"","bucketCapabilities":["collections","durableWrite","tombstonedUserXAttrs","couchapi","subdoc.ReplaceBodyWithXattr","subdoc.DocumentMacroSupport","dcp","cbhello","touch","cccp","xdcrCheckpointing","nodesExt","xattr"],"collectionsManifestUid":"1","ddocs":{"uri":"/pools/default/buckets/travel-sample/ddocs"},"vBucketServerMap":{"hashAlgorithm":"CRC","numReplicas":1,"serverList":["172.23.120.201:11210"],"vBucketMap":[[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1]]},"bucketType":"membase","authType":"sasl","localRandomKeyUri":"/pools/default/buckets/travel-sample/localRandomKey","controllers":{"compactAll":"/pools/default/buckets/travel-sample/controller/compactBucket","compactDB":"/pools/default/buckets/travel-sample/controller/compactDatabases","purgeDeletes":"/pools/default/buckets/travel-sample/controller/unsafePurgeBucket","startRecovery":"/pools/default/buckets/travel-sample/controller/startRecovery"},"nodes":[{"couchApiBaseHTTPS":"https://172.23.120.201:18092/travel-sample%2B3eb592d6020dfbb1cfda37b58434a12e","couchApiBase":"http://172.23.120.201:8092/travel-sample%2B3eb592d6020dfbb1cfda37b58434a12e","clusterMembership":"active","recoveryType":"none","status":"healthy","otpNode":"ns_1@127.0.0.1","thisNode":true,"hostname":"172.23.120.201:8091","nodeUUID":"4c5e8ec077582788c80370f7198ef452","clusterCompatibility":458752,"version":"7.0.0-4754-enterprise","os":"x86_64-unknown-linux-gnu","cpuCount":4,"ports":{"direct":11210,"httpsCAPI":18092,"httpsMgmt":18091,"distTCP":21100,"distTLS":21150},"services":["kv"],"nodeEncryption":false,"addressFamilyOnly":false,"configuredHostname":"127.0.0.1:8091","addressFamily":"inet","externalListeners":[{"afamily":"inet","nodeEncryption":false}],"replication":0,"systemStats":{"cpu_utilization_rate":1.280441877981421,"cpu_stolen_rate":0.1757469244288225,"swap_total":3758092288,"swap_used":56909824,"mem_total":3691520000,"mem_free":2981548032,"mem_limit":3691520000,"cpu_cores_available":4,"allocstall":8308},"interestingStats":{"couch_docs_actual_disk_size":66982448,"couch_views_actual_disk_size":0,"curr_items":63288,"curr_items_tot":63288,"ep_bg_fetched":0,"couch_docs_data_size":48353677,"mem_used":81100344,"vb_replica_curr_items":0,"vb_active_num_non_resident":0,"cmd_get":0,"get_hits":0,"ops":0,"couch_spatial_disk_size":0,"couch_views_data_size":0,"couch_spatial_data_size":0},"uptime":"112350","memoryTotal":3691520000,"memoryFree":2981548032,"mcdMemoryReserved":2816,"mcdMemoryAllocated":2816}],"stats":{"uri":"/pools/default/buckets/travel-sample/stats","directoryURI":"/pools/default/buckets/travel-sample/stats/Directory","nodeStatsListURI":"/pools/default/buckets/travel-sample/nodes"},"autoCompactionSettings":false,"replicaIndex":false,"replicaNumber":1,"threadsNumber":3,"quota":{"ram":209715200,"rawRAM":209715200},"basicStats":{"quotaPercentUsed":38.67165756225586,"opsPerSec":0,"diskFetches":0,"itemCount":63288,"diskUsed":66982448,"dataUsed":48353677,"memUsed":81100344,"vbActiveNumNonResident":0},"evictionPolicy":"valueOnly","storageBackend":"couchstore","durabilityMinLevel":"none","pitrEnabled":false,"pitrGranularity":600,"pitrMaxHistoryAge":86400,"fragmentationPercentage":50,"conflictResolutionType":"seqno","maxTTL":0,"compressionMode":"passive","saslPassword":""}][root@localhost:~]
          

          Balakumaran.Gopal Balakumaran Gopal added a comment - Validated this on 7.0.0-4754. $ cat /opt/couchbase/VERSION.txt 7.0.0-4754 $ curl -u Administrator:password http://172.23.120.201:8091/pools/default/buckets [{"name":"travel-sample","nodeLocator":"vbucket","uuid":"3eb592d6020dfbb1cfda37b58434a12e","uri":"/pools/default/buckets/travel-sample?bucket_uuid=3eb592d6020dfbb1cfda37b58434a12e","streamingUri":"/pools/default/bucketsStreaming/travel-sample?bucket_uuid=3eb592d6020dfbb1cfda37b58434a12e","bucketCapabilitiesVer":"","bucketCapabilities":["collections","durableWrite","tombstonedUserXAttrs","couchapi","subdoc.ReplaceBodyWithXattr","subdoc.DocumentMacroSupport","dcp","cbhello","touch","cccp","xdcrCheckpointing","nodesExt","xattr"],"collectionsManifestUid":"1","ddocs":{"uri":"/pools/default/buckets/travel-sample/ddocs"},"vBucketServerMap":{"hashAlgorithm":"CRC","numReplicas":1,"serverList":["172.23.120.201:11210"],"vBucketMap":[[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1]]},"bucketType":"membase","authType":"sasl","localRandomKeyUri":"/pools/default/buckets/travel-sample/localRandomKey","controllers":{"compactAll":"/pools/default/buckets/travel-sample/controller/compactBucket","compactDB":"/pools/default/buckets/travel-sample/controller/compactDatabases","purgeDeletes":"/pools/default/buckets/travel-sample/controller/unsafePurgeBucket","startRecovery":"/pools/default/buckets/travel-sample/controller/startRecovery"},"nodes":[{"couchApiBaseHTTPS":"https://172.23.120.201:18092/travel-sample%2B3eb592d6020dfbb1cfda37b58434a12e","couchApiBase":"http://172.23.120.201:8092/travel-sample%2B3eb592d6020dfbb1cfda37b58434a12e","clusterMembership":"active","recoveryType":"none","status":"healthy","otpNode":"ns_1@127.0.0.1","thisNode":true,"hostname":"172.23.120.201:8091","nodeUUID":"4c5e8ec077582788c80370f7198ef452","clusterCompatibility":458752,"version":"7.0.0-4754-enterprise","os":"x86_64-unknown-linux-gnu","cpuCount":4,"ports":{"direct":11210,"httpsCAPI":18092,"httpsMgmt":18091,"distTCP":21100,"distTLS":21150},"services":["kv"],"nodeEncryption":false,"addressFamilyOnly":false,"configuredHostname":"127.0.0.1:8091","addressFamily":"inet","externalListeners":[{"afamily":"inet","nodeEncryption":false}],"replication":0,"systemStats":{"cpu_utilization_rate":1.280441877981421,"cpu_stolen_rate":0.1757469244288225,"swap_total":3758092288,"swap_used":56909824,"mem_total":3691520000,"mem_free":2981548032,"mem_limit":3691520000,"cpu_cores_available":4,"allocstall":8308},"interestingStats":{"couch_docs_actual_disk_size":66982448,"couch_views_actual_disk_size":0,"curr_items":63288,"curr_items_tot":63288,"ep_bg_fetched":0,"couch_docs_data_size":48353677,"mem_used":81100344,"vb_replica_curr_items":0,"vb_active_num_non_resident":0,"cmd_get":0,"get_hits":0,"ops":0,"couch_spatial_disk_size":0,"couch_views_data_size":0,"couch_spatial_data_size":0},"uptime":"112350","memoryTotal":3691520000,"memoryFree":2981548032,"mcdMemoryReserved":2816,"mcdMemoryAllocated":2816}],"stats":{"uri":"/pools/default/buckets/travel-sample/stats","directoryURI":"/pools/default/buckets/travel-sample/stats/Directory","nodeStatsListURI":"/pools/default/buckets/travel-sample/nodes"},"autoCompactionSettings":false,"replicaIndex":false,"replicaNumber":1,"threadsNumber":3,"quota":{"ram":209715200,"rawRAM":209715200},"basicStats":{"quotaPercentUsed":38.67165756225586,"opsPerSec":0,"diskFetches":0,"itemCount":63288,"diskUsed":66982448,"dataUsed":48353677,"memUsed":81100344,"vbActiveNumNonResident":0},"evictionPolicy":"valueOnly","storageBackend":"couchstore","durabilityMinLevel":"none","pitrEnabled":false,"pitrGranularity":600,"pitrMaxHistoryAge":86400,"fragmentationPercentage":50,"conflictResolutionType":"seqno","maxTTL":0,"compressionMode":"passive","saslPassword":""}][root@localhost:~]
          Balakumaran.Gopal Balakumaran Gopal made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          lynn.straus Lynn Straus made changes -
          Fix Version/s 7.0.0 [ 17233 ]
          lynn.straus Lynn Straus made changes -
          Fix Version/s Cheshire-Cat [ 15915 ]

          People

            dfinlay Dave Finlay
            brett19 Brett Lawson
            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