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

            Abhijeeth.Nuthan Abhijeeth Nuthan created issue -
            Abhijeeth.Nuthan Abhijeeth Nuthan made changes -
            Field Original Value New Value
            Epic Link MB-30048 [ 86039 ]
            Abhijeeth.Nuthan Abhijeeth Nuthan made changes -
            Link This issue blocks MB-33875 [ MB-33875 ]
            drigby Dave Rigby made changes -
            CVSS/Severity High [ 11153 ]
            drigby Dave Rigby made changes -
            Component/s couchbase-bucket [ 10173 ]
            drigby Dave Rigby made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            owend Daniel Owen made changes -
            Rank Ranked higher
            drigby Dave Rigby made changes -
            Labels mad-hatter-committed
            owend Daniel Owen made changes -
            Assignee Dave Rigby [ drigby ] Dave Finlay [ dfinlay ]
            owend Daniel Owen made changes -
            Assignee Dave Finlay [ dfinlay ] Daniel Owen [ owend ]
            owend Daniel Owen made changes -
            Labels mad-hatter-committed mad-hatter-candidate
            owend Daniel Owen made changes -
            Fix Version/s Cheshire-Cat [ 15915 ]
            Fix Version/s Mad-Hatter [ 15037 ]
            drigby Dave Rigby made changes -
            Assignee Daniel Owen [ owend ] James Harrison [ james.harrison ]
            james.harrison James Harrison made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            james.harrison James Harrison made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            Aliaksey Artamonau Aliaksey Artamonau (Inactive) made changes -
            Assignee James Harrison [ james.harrison ] Artem Stemkovski [ artem ]
            owend Daniel Owen made changes -
            Fix Version/s Mad-Hatter [ 15037 ]
            Fix Version/s Cheshire-Cat [ 15915 ]
            owend Daniel Owen made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            owend Daniel Owen made changes -
            Assignee Artem Stemkovski [ artem ] James Harrison [ james.harrison ]
            james.harrison James Harrison made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            drigby Dave Rigby made changes -
            Rank Ranked higher
            drigby Dave Rigby made changes -
            Sprint KV-Engine Mad-Hatter GA [ 910 ]
            drigby Dave Rigby made changes -
            Rank Ranked lower
            drigby Dave Rigby made changes -
            Assignee James Harrison [ james.harrison ] Artem Stemkovski [ artem ]
            drigby Dave Rigby made changes -
            Component/s ns_server [ 10019 ]
            Component/s couchbase-bucket [ 10173 ]
            Aliaksey Artamonau Aliaksey Artamonau (Inactive) made changes -
            Fix Version/s Cheshire-Cat [ 15915 ]
            Fix Version/s Mad-Hatter [ 15037 ]
            Aliaksey Artamonau Aliaksey Artamonau (Inactive) made changes -
            Component/s couchbase-bucket [ 10173 ]
            Aliaksey Artamonau Aliaksey Artamonau (Inactive) made changes -
            Labels mad-hatter-candidate
            dfinlay Dave Finlay made changes -
            Labels approved-for-mad-hatter
            drigby Dave Rigby made changes -
            Fix Version/s Mad-Hatter [ 15037 ]
            Fix Version/s Cheshire-Cat [ 15915 ]
            dfinlay Dave Finlay made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            ritam.sharma Ritam Sharma made changes -
            Labels approved-for-mad-hatter approved-for-mad-hatter request-dev-verify
            owend Daniel Owen made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            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