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

Couchbase give different set of buckets list for url ending with '/'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public
    • Environment:
      Mac OS X (Lion) 64 Bit

      Description

      Following two urls, gives different set of buckets list so Ruby client throws missing bucket error

      http://localhost:8091/pools/default/buckets/

      [{"name":"test","bucketType":"membase","authType":"sasl","saslPassword":"sometest","proxyPort":0,"uri":"/pools/default/buckets/test","streamingUri":"/pools/default/bucketsStreaming/test","flushCacheUri":"/pools/default/buckets/test/controller/doFlush","nodes":[{"systemStats":

      {"cpu_utilization_rate":13.0,"swap_total":536870912,"swap_used":175226880}

      ,"interestingStats":

      {"curr_items":326,"curr_items_tot":326,"vb_replica_curr_items":0}

      ,"uptime":"25618","memoryTotal":5871032000,"memoryFree":1185196000,"mcdMemoryReserved":4479,"mcdMemoryAllocated":4479,"couchApiBase":"http://127.0.0.1:5984/test","replication":1.0,"clusterMembership":"active","status":"healthy","thisNode":true,"hostname":"127.0.0.1:8091","clusterCompatibility":1,"version":"1.7.1_360_gc95a8c6","os":"i386-apple-darwin10.8.0","ports":{"proxy":11211,"direct":11210}}],"stats":

      {"uri":"/pools/default/buckets/test/stats","directoryURI":"/pools/default/buckets/test/statsDirectory","nodeStatsListURI":"/pools/default/buckets/test/nodes"}

      ,"nodeLocator":"vbucket","autoCompactionSettings":false,"vBucketServerMap":

      {"hashAlgorithm":"CRC","numReplicas":0,"serverList":["127.0.0.1:11210"],"vBucketMap":[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0]]}

      ,"replicaNumber":0,"quota":

      {"ram":536870912,"rawRAM":536870912}

      ,"basicStats":

      {"quotaPercentUsed":0.07933229207992554,"opsPerSec":0,"diskFetches":0,"itemCount":0,"diskUsed":66895,"memUsed":425912}

      ,"bucketCapabilitiesVer":"sync-1.0","bucketCapabilities":["touch","sync","couchapi"]}]

      http://localhost:8091/pools/default/buckets

      [{"name":"default","bucketType":"membase","authType":"sasl","saslPassword":"","proxyPort":0,"uri":"/pools/default/buckets/default","streamingUri":"/pools/default/bucketsStreaming/default","flushCacheUri":"/pools/default/buckets/default/controller/doFlush","nodes":[{"systemStats":

      {"cpu_utilization_rate":44.72361809045226,"swap_total":536870912,"swap_used":175210496}

      ,"interestingStats":

      {"curr_items":326,"curr_items_tot":326,"vb_replica_curr_items":0}

      ,"uptime":"27273","memoryTotal":5882252000,"memoryFree":1060824000,"mcdMemoryReserved":4487,"mcdMemoryAllocated":4487,"couchApiBase":"http://127.0.0.1:5984/default","replication":1.0,"clusterMembership":"active","status":"healthy","thisNode":true,"hostname":"127.0.0.1:8091","clusterCompatibility":1,"version":"1.7.1_360_gc95a8c6","os":"i386-apple-darwin10.8.0","ports":{"proxy":11211,"direct":11210}}],"stats":

      {"uri":"/pools/default/buckets/default/stats","directoryURI":"/pools/default/buckets/default/statsDirectory","nodeStatsListURI":"/pools/default/buckets/default/nodes"}

      ,"nodeLocator":"vbucket","autoCompactionSettings":false,"vBucketServerMap":

      {"hashAlgorithm":"CRC","numReplicas":0,"serverList":["127.0.0.1:11210"],"vBucketMap":[[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0],[0]]}

      ,"replicaNumber":0,"quota":

      {"ram":536870912,"rawRAM":536870912}

      ,"basicStats":

      {"quotaPercentUsed":0.09273029863834381,"opsPerSec":0,"diskFetches":0,"itemCount":326,"diskUsed":601474,"memUsed":497842}

      ,"bucketCapabilitiesVer":"sync-1.0","bucketCapabilities":["touch","sync","couchapi"]}]

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

        Activity

        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        I was unable to reproduce this particular issue. But I believe this has something to do with auth behavior of server and/or client.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - I was unable to reproduce this particular issue. But I believe this has something to do with auth behavior of server and/or client.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Looks like it's just another case of http://www.couchbase.com/issues/browse/RCBC-10 which is already fixed

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Looks like it's just another case of http://www.couchbase.com/issues/browse/RCBC-10 which is already fixed
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Closing as duplicate because I was unable to reproduce.

        Please reopen with more details if it's still happening to you.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Closing as duplicate because I was unable to reproduce. Please reopen with more details if it's still happening to you.

          People

          • Assignee:
            alkondratenko Aleksey Kondratenko (Inactive)
            Reporter:
            nexneo nexneo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes