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.
Attachments
For Gerrit Dashboard: MB-15083 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
51380,1 | MB-15083 repro | master | forestdb | Status: ABANDONED | 0 | 0 |
52074,1 | Help catch MB-15083 faster | sherlock | forestdb | Status: MERGED | +2 | +1 |
52079,1 | Merge remote-tracking branch 'origin/sherlock' | sherlock | forestdb | Status: ABANDONED | 0 | 0 |
52080,1 | Merge remote-tracking branch 'origin/sherlock' | master | forestdb | Status: MERGED | +2 | +1 |
52170,1 | MB-15083: Do not modify fdb_get()'s fdb_doc if deleted on-disk | sherlock | forestdb | Status: ABANDONED | -1 | 0 |
52185,3 | MB-15083: Fix fdb_get* api behavior for deleted docs | sherlock | forestdb | Status: MERGED | +2 | +1 |
52189,1 | Merge remote-tracking branch 'origin/sherlock' | master | forestdb | Status: MERGED | +2 | +1 |