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

Reduce the sizes of chronicle snapshots fetched in frequently used REST API handlers

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Currently we fetch all subkeys for all buckets in menelaus_web_nodes:get_snapshot which results in copying quite a lot of stuff.

      Unfortunately all the API's have to fetch props for all buckets because the following 2 fields are used: servers and ram_quota.
      servers - for calculating node status (healthy/unhealthy)
      ram_cuota - for calculating total buckets quota.

      Collection manifests are needed only in bucket specific API's and only for displaying ManifestId

      GET /pools/default/buckets - needs collection manifests for all buckets
      GET /pools/default/buckets/<bucket> and GET /pools/default/bucketStreaming/<bucket> - only collection manifest for <bucket> and not for other buckets

      Attachments

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

        Activity

          People

            artem Artem Stemkovski
            artem Artem Stemkovski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty