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

FTS: num_bytes_used_disk_by_root_reclaimable stat value remains > 0 after compaction call

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • 7.0.2
    • Cheshire-Cat
    • fts

    Description

      Build: 7.0.0-5127

      • Create cluster {kv} {index, query} {fts}
      • Create default bucket, load data using cbworkloadgen

      ./cbworkloadgen -n 172.23.107.35:8091 -r 100 -i 100000 -b default -s 1024 -j -u Administrator -p password

      * Build primary gsi index on default

      • Create default fts index (partitions=10) upon default bucket
      • Perform 20% delete from default:

      delete from default where age < 20

      * Check num_bytes_used_disk_by_root_reclaimable stat value:

      curl -X GET -u Administrator:password http://172.23.107.77:8094/api/nsstats | jq

      * num_bytes_used_disk_by_root_reclaimable is > 0

      • Call compaction

      curl -XPOST -H "Content-Type: application/json" -u Administrator:password http://172.23.107.77:8094/api/index/fts_idx/tasks -d '{"op": "merge"}'

      * Make sure, it's done, check index stats once again

      • num_bytes_used_disk_by_root_reclaimable became lesser, but still > 0

      Attachments

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

        Activity

          People

            evgeny.makarenko Evgeny Makarenko (Inactive)
            evgeny.makarenko Evgeny Makarenko (Inactive)
            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