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

[FTS] Improving the precision of stats used for WUs metering

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Elixir
    • Elixir
    • fts
    • None
    • 1

    Description

      In serverless mode, metering of write units is done by accounting the scorch index stat "num_bytes_indexed_after_analysis". This stat currently includes the sum of length of each token in tokenFrequenciesMap for each field in a document to be indexed. However, based on the type mappings, a user can enable stored fields, term vectors, docvalues options which would be stored in the index file. So, enabling these options would lead to more bytes getting written to the disk and as such these parts may need to be metered as well.

      Attachments

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

        Activity

          thejas.orkombu Thejas Orkombu added a comment - https://github.com/blevesearch/bleve/pull/1710 https://github.com/blevesearch/scorch_segment_api/pull/17 https://github.com/blevesearch/zapx/pull/119 https://github.com/blevesearch/zapx/pull/125 https://review.couchbase.org/c/cbft/+/177541

          Build couchbase-server-7.2.0-1810 contains cbft commit 5ddd6c6 with commit message:
          MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1810 contains cbft commit 5ddd6c6 with commit message: MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          Build couchbase-server-7.2.0-1810 contains n1fty commit ab454a6 with commit message:
          MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1810 contains n1fty commit ab454a6 with commit message: MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          Build couchbase-server-7.2.0-1810 contains query commit c4f13bf with commit message:
          MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.2.0-1810 contains query commit c4f13bf with commit message: MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          Build couchbase-server-8.0.0-1079 contains cbft commit 5ddd6c6 with commit message:
          MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          build-team Couchbase Build Team added a comment - Build couchbase-server-8.0.0-1079 contains cbft commit 5ddd6c6 with commit message: MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          Build couchbase-server-8.0.0-1079 contains n1fty commit ab454a6 with commit message:
          MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          build-team Couchbase Build Team added a comment - Build couchbase-server-8.0.0-1079 contains n1fty commit ab454a6 with commit message: MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          Build couchbase-server-8.0.0-1079 contains query commit c4f13bf with commit message:
          MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          build-team Couchbase Build Team added a comment - Build couchbase-server-8.0.0-1079 contains query commit c4f13bf with commit message: MB-52952 - [FTS] Improving the precision of stats used for WUs metering

          People

            thejas.orkombu Thejas Orkombu
            thejas.orkombu Thejas Orkombu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty