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

Optimize vbucket-details stats call to only return requested keys

    XMLWordPrintable

Details

    Description

      Currently, we have vbucket-details call that returns all the keys for respective vbuckets. However, getting all the keys when only few are needed is not optimal. 

      The vbucket-details stats call should take the keys requested and only return those key value pairs. 

       

      Due to the fact that ns_server uses vbucket-details to determine state and topology on every janitor cleanup run, this will vastly improve janitor cleanup times and also failover time(calls janitor cleanup).  

      Attachments

        Issue Links

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

          Activity

            ns_server patch is merged too. Retargeted the ticket to cheshire-cat for a more generic fix.

            Aliaksey Artamonau Aliaksey Artamonau (Inactive) added a comment - ns_server patch is merged too. Retargeted the ticket to cheshire-cat for a more generic fix.

            Build couchbase-server-6.5.0-4777 contains ns_server commit 5f0710d with commit message:
            MB-34378 adopt new vbucket-durability-state stats call

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-4777 contains ns_server commit 5f0710d with commit message: MB-34378 adopt new vbucket-durability-state stats call

            Build couchbase-server-7.0.0-1037 contains ns_server commit 5f0710d with commit message:
            MB-34378 adopt new vbucket-durability-state stats call

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1037 contains ns_server commit 5f0710d with commit message: MB-34378 adopt new vbucket-durability-state stats call

            Build couchbase-server-7.0.0-1040 contains kv_engine commit e85a9cd with commit message:
            MB-34378: Add vbucket-durability-state stats

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1040 contains kv_engine commit e85a9cd with commit message: MB-34378 : Add vbucket-durability-state stats
            drigby Dave Rigby added a comment -

            Artem Stemkovski Can this MB be resolved now?

            drigby Dave Rigby added a comment - Artem Stemkovski Can this MB be resolved now?

            People

              artem Artem Stemkovski
              Abhijeeth.Nuthan Abhijeeth Nuthan
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty