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

Collections: topkeys should track the default collection only

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • 7.0.0
    • couchbase-bucket
    • None
    • Untriaged
    • Unknown
    • KV Spint 2020-March

    Description

      topkeys returns a JSON object with information about which keys are 'hot', the JSON object returned has no collection field and the code itself is not collection aware, allowing for key1 from different collections to contribute to a single counter.

      We need

      1) non collection-aware client should get topkeys in the 'old' format and only default-collection keys.
      2) collecton-aware client gets JSON doc with new field
      3) topkeys code must track keys with collection awareness, i.e. don't allow keys to collide.

      Attachments

        Issue Links

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

          Activity

            People

              jwalker Jim Walker
              jwalker Jim Walker
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty