Details
Description
Observed during test: e2e_index_walflush_test_no_deletes_auto_compact
- continuous load of documents
- no deletes
- auto compact
optional patch here helps to get test run longer and increase chances of hitting error: http://review.couchbase.org/#/c/51177/ (set LOAD_FACTOR=10)
Also uncomment TEST_CHK's in verify_db:
TEST_CHK(db_nidx==exp_nidx);
TEST_CHK(db_suma==exp_suma);
The first check will fail:
ndocs_debug: kvs_info(66589) == exp_ndocs(66591) ?
This is also reflected in forestdb_dump:
- documents in the main index: 66589 / in WAL: 0 (insert), 0 (remove)
- documents in the main index: 66591 / in WAL: 0 (insert), 0 (remove)
- documents in the main index: 66591 / in WAL: 0 (insert), 0 (remove)
It's expected that all these kvs have the same number of documents since 1 is the main and the 2 others are just secondary.