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

          For Gerrit Dashboard: MB-34378
          # Subject Branch Project Status CR V

          Activity

            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