Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
6.5.0
-
Enterprise Edition 6.5.0 build 4926
-
Untriaged
-
Centos 64-bit
-
Unknown
Description
Build: 6.5.0-4926
Scenario:
- 2 node cluster with kv, n1ql, index services
- Single couchbase bucket
- Create 2i index on the bucket
{
"indexes": {
"condition": "(`mutation_type` = \"SET\")",
"datastore_id": "http://127.0.0.1:8091",
"id": "1bcaee5cf87e1c46",
"index_key": [
"`age`",
"`first_name`"
],
"keyspace_id": "default",
"name": "durable_set_aborts",
"namespace_id": "default",
"state": "online",
"using": "gsi"
}
},
- Insert a sync_write document into the bucket which satisfies the above index
Observation:
Indexer's num_docs_processed stats fetched using `localhost:9102/stats` show the value as 2
$] curl -u Administrator:password -X GET 10.112.191.101:9102/stats | json_pp | grep num_docs_proc
|
"default:durable_set_aborts:num_docs_processed" : 2
|
If the same test run with async_write docs the stat value is not doubled and matches the num_of async_write we perform.
In both the cases, num_of docs indexed is matching (as per the index we create) the number of mutation we do on the bucket.
Seeing the same behavior in 6.5.0-4838 build as well