Description
based on test cases: PendingOp should be equal 1 for an index which is currently building but I don't see the progress via PendingOp
steps:
1) 1 data + 1 cbas node,1 bucket with 107303 items
run the following queries without delays
2) create index idx_city on beer_ds(city:string);
3) connect bucket beer_sample
4) SELECT count FROM `beer_ds`
result:
as expected, index is still not running
5) select * from Metadata.`Index` where DatasetName='beer_ds' and IsPrimary=False
result: PendingOp=0
is it a bug? or my scenarios are not able to catch PendingOp=1?
6) sleep 30 sec
7) SELECT count FROM `beer_ds`
result:
https://s3.amazonaws.com/bugdb/jira/MB-25695/2de1151f/172.23.105.194_logs.zip
https://s3.amazonaws.com/bugdb/jira/MB-25695/2de1151f/172.23.106.88_logs.zip