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

moxi: heterogeneous libvbucket-vs-libmemcached hashing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.6.0 GA
    • 1.6.0 beta4
    • moxi
    • None
    • Operating System: All
      Platform: All

    Description

      some buckets will be libvbucket.

      others will be libmemcached/ketama.

      change moxi to key off additional info (coming soon) in the JSON configuration messages.

      At the moment (pre-change), the saslBucketsStreaming JSON message looks like...

      $ curl http://127.0.0.1:8080/pools/default/saslBucketsStreaming
      {"buckets":[{"name":"default","vBucketServerMap":{"user":"default","password":"","hashAlgorithm":"CRC","numReplicas":1,"serverList":["127.0.0.1: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],...

      while the bucketsStreaming JSON message has more "enveloping" and looks like...

      $ curl http://127.0.0.1:8080/pools/default/bucketsStreaming/default
      {"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":[{"clusterMembership":"active","status":"healthy","hostname":"127.0.0.1:8080","version":"1.6.0beta4_57_gff2804f","os":"i386-apple-darwin10.3.0","ports":{"proxy":11211,"direct":11210}}],"stats":

      {"uri":"/pools/default/buckets/default/stats"}

      ,"vBucketServerMap":{"user":"default","password":"","hashAlgorithm":"CRC","numReplicas":1,"serverList":["127.0.0.1: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],...

      Attachments

        Issue Links

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

          Activity

            People

              steve.yen@northscale.com Steve Yen
              steve.yen@northscale.com Steve Yen
              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