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

[UI][stats] Total disk usage in bucket details is not matching with what is shown at scopes/collections level.

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      Please refer these screenshots:
      Disk Used in Bucket Details:

      Disk Used in Bucket Scopes/Collections Level:

      Attachments

        1. Bucket_17-Mar.png
          Bucket_17-Mar.png
          80 kB
        2. bucket_30Mar.png
          bucket_30Mar.png
          195 kB
        3. Couchstore_bucket.png
          Couchstore_bucket.png
          265 kB
        4. couchstore_scope_collection.png
          couchstore_scope_collection.png
          483 kB
        5. image-2021-03-09-13-16-41-231.png
          image-2021-03-09-13-16-41-231.png
          130 kB
        6. image-2021-03-09-13-17-12-364.png
          image-2021-03-09-13-17-12-364.png
          114 kB
        7. scopes-collections_17-Mar.png
          scopes-collections_17-Mar.png
          94 kB
        8. scopes-collections_30-Mar.png
          scopes-collections_30-Mar.png
          127 kB
        9. screenshot-1.png
          screenshot-1.png
          95 kB
        10. screenshot-2.png
          screenshot-2.png
          80 kB
        11. Screen Shot 2021-03-25 at 2.16.14 PM.png
          Screen Shot 2021-03-25 at 2.16.14 PM.png
          114 kB
        12. Screenshot 2021-03-26 at 09.07.07.png
          Screenshot 2021-03-26 at 09.07.07.png
          21 kB
        13. Screenshot 2021-03-26 at 09.07.17.png
          Screenshot 2021-03-26 at 09.07.17.png
          17 kB

        Issue Links

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

          Activity

            Dave Rigby: Is it the same we show in UI after aggregating it from all nodes?

            ritesh.agarwal Ritesh Agarwal added a comment - Dave Rigby : Is it the same we show in UI after aggregating it from all nodes?
            drigby Dave Rigby added a comment -

            I would assume so but I don't know for sure - you'd have to check with ns_server / UI in what they expose.

            drigby Dave Rigby added a comment - I would assume so but I don't know for sure - you'd have to check with ns_server / UI in what they expose.
            timofey.barmin Timofey Barmin added a comment - - edited

            Ritesh Agarwal UI shows kv_collection_data_size_bytes. So I think what you see in UI counts only active vBuckets.

            BTW it also contradicts to what we see in buckets page, where we show the total disk size for a bucket, which is equal to the bucket directory size, and I think it contains both: replica and active vbuckets.

            Dave Rigby Please correct me if memcached keeps replica vbuckets in a separate directory.

            timofey.barmin Timofey Barmin added a comment - - edited Ritesh Agarwal UI shows kv_collection_data_size_bytes. So I think what you see in UI counts only active vBuckets. BTW it also contradicts to what we see in buckets page, where we show the total disk size for a bucket, which is equal to the bucket directory size, and I think it contains both: replica and active vbuckets. Dave Rigby Please correct me if memcached keeps replica vbuckets in a separate directory.
            drigby Dave Rigby added a comment -

            Timofey Barmin Corrrect - all vBucket files are in the same directory.

            drigby Dave Rigby added a comment - Timofey Barmin Corrrect - all vBucket files are in the same directory.

            UI shows kv_collection_data_size_bytes. So I think what you see in UI counts only active vBuckets.

            If this is by design then it seems to be working fine. Given that under scopes/collection the disk utilisation is the unique data content size and does not include replica is by design...closing the defect.

            ritesh.agarwal Ritesh Agarwal added a comment - UI shows kv_collection_data_size_bytes. So I think what you see in UI counts only active vBuckets. If this is by design then it seems to be working fine. Given that under scopes/collection the disk utilisation is the unique data content size and does not include replica is by design...closing the defect.

            People

              ritesh.agarwal Ritesh Agarwal
              ritesh.agarwal Ritesh Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty