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

Use frag_percent, avg_item_size from indexer stats rather than ns_server calculating the values

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      Currently, ns_server is using it's own calculation for computing "frag_percent" and "avg_item_size" values. Both these stats are dependent on data_size stat value. Any change to indexer data_size stat will impact the "frag_percent" and "avg_item_size" values. Also, "frag_percent" depends on "disk_size" value which has been changed as a part of MB-31787. This led to reporting incorrect fragmentation percentage on the UI (MB-36613)

      Instead of ns_server calculating these values, please use the values from indexer stats. Indexer periodic stats already exposes "frag_percent" stat. From build 6.5.0-4750, another stat "avg_item_size" is also exposed

      Attachments

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

        Activity

          varun.velamuri Varun Velamuri created issue -
          lynn.straus Lynn Straus made changes -
          Field Original Value New Value
          Labels secondary-index approved-for-mad-hatter secondary-index
          dfinlay Dave Finlay made changes -
          Assignee Dave Finlay [ dfinlay ] Steve Watanabe [ steve.watanabe ]
          steve.watanabe Steve Watanabe made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Aliaksey Artamonau Aliaksey Artamonau (Inactive) made changes -
          Assignee Steve Watanabe [ steve.watanabe ] Varun Velamuri [ varun.velamuri ]
          dfinlay Dave Finlay made changes -
          Component/s indexing [ 15110 ]
          Component/s ns_server [ 10019 ]
          lynn.straus Lynn Straus made changes -
          Due Date 15/Nov/19
          varun.velamuri Varun Velamuri made changes -
          Labels approved-for-mad-hatter secondary-index approved-for-mad-hatter ns_server secondary-index
          deepkaran.salooja Deepkaran Salooja made changes -
          Component/s ns_server [ 10019 ]
          Component/s secondary-index [ 11211 ]
          Component/s indexing [ 15110 ]
          dfinlay Dave Finlay made changes -
          Component/s ns_server [ 10019 ]
          varun.velamuri Varun Velamuri made changes -
          Assignee Varun Velamuri [ varun.velamuri ] Aliaksey Artamonau [ aliaksey artamonau ]
          varun.velamuri Varun Velamuri made changes -
          Component/s ns_server [ 10019 ]
          Component/s secondary-index [ 11211 ]
          Aliaksey Artamonau Aliaksey Artamonau (Inactive) made changes -
          Assignee Aliaksey Artamonau [ aliaksey artamonau ] Steve Watanabe [ steve.watanabe ]
          steve.watanabe Steve Watanabe made changes -
          steve.watanabe Steve Watanabe made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          ritam.sharma Ritam Sharma made changes -
          Assignee Steve Watanabe [ steve.watanabe ] Mihir Kamdar [ mihir.kamdar ]
          mihir.kamdar Mihir Kamdar (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            mihir.kamdar Mihir Kamdar (Inactive)
            varun.velamuri Varun Velamuri
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty