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

"Total Items Count" in IndexStats is incorrent when the number of items change in bucket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 4.0.0
    • secondary-index
    • Security Level: Public
    • None
    • mac
    • Untriaged
    • No
    • ForestDB: Oct 26 - Nov 13

    Description

      "Total Items Count" stat for 2i does not get updated when documents are added/removed from bucket, that impact total number of items indexed.

      Repro:

      1. In a single node setup, create 10000 docs and a 2i ind1.
      The Index Stats "Total Items Count" show correctly 10K

      2. Remove a few documents. "Total Items Count" does not get updated.

      3. Flush the bucket. "Total Items Count" shows correctly as 0

      4. Load 200 documents in the bucket. now the index stats "Total Items Count" for this index shows sometimes 400 and sometimes 0, but never 200.

      Screenshots attached.

      Attachments

        Issue Links

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

          Activity

            People

              sarath Sarath Lakshman
              prathibha Prathibha Bisarahalli (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty