Details
Description
1. Load 45 M items on default and sasl bucket
2. Create Primary index on default ( using views) –
3. Select * from system:indexes – Shows this primary index to be "online" instantaneously ( which is strange)
4. Incoming sets on the cluster at 10k ops/sec,
Checked the UI - the primary index appears to be stuck.
Checked via diag-eval – the index percentage keeps fluctuating between 0-7 percent.
[root@centos-64-x64 logs]# curl -X POST -u Administrator:password http://127.0.0.1:8091/diag/eval -d 'ns_couchdb_api:get_tasks().' | grep primary -A9 -B2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
103 1518 101 1518 0 27 254k 4642 -::- -::- -::- 291k
[
,
,
{indexer_type,main},
{initial_build,false},
{progress,5},
{set,<<"saslbucket">>},
{signature,<<"420ac07f14bef8f91a3f37c431faf4c8">>},
{started_on,1425078643},
{total_changes,17116873},
{type,indexer},
{updated_on,1425078766}],
[{pid,<<"<0.16517.1>">>},
{changes_done,119729},
{design_documents,[<<"_design/ddl_#primary">>]}
,
,
,
,
,
,
,
,
,
]]