Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.0.3, 7.1.0
-
Triaged
-
1
-
Unknown
Description
Test scenario:
- 1-node cluster, 1 bucket
- Store 1 alive doc + delete it -> just deletion at seqno:2 in the default collection
- Create a custom collection and store a doc in it
- Run compaction (use cbcompact with the right params for purging everything immediately) -> seqno:2 is purged, the default collection becomes empty
- Create a view on the UI
View creation gets stuck forever.
Views looping on:
couchdb:debug,2022-01-13T10:55:26.976+01:00,couchdb_n_0@cb.local:<0.20961.1>:couch_log:debug:27]Updater set view `example`, main group `_design/dev_test` Partition versions [{0,[{141906844413187,0}]}]
|
[couchdb:info,2022-01-13T10:55:26.976+01:00,couchdb_n_0@cb.local:<0.20967.1>:couch_log:info:30]Updater reading changes from active partitions to update main set view group `_design/dev_test` from set `example`
|
[couchdb:info,2022-01-13T10:55:26.977+01:00,couchdb_n_0@cb.local:<0.20967.1>:couch_log:info:30]Updater for main set view group `_design/dev_test`, set `example` (prod), read a total of 0 changes
|
[couchdb:debug,2022-01-13T10:55:26.977+01:00,couchdb_n_0@cb.local:<0.20967.1>:couch_log:debug:27]Updater for main set view group `_design/dev_test`, set `example`, max partition seqs found:
|
KV:
2022-01-13T10:55:27.094391+01:00 INFO 52: (example) DCP (Producer) eq_dcpq:mapreduce_view: example _design/dev_test (prod/main) - (vb:0) Creating stream with start seqno 0 and end seqno 2; requested end seqno was 2, collections-filter-size:1 sid:none
|
2022-01-13T10:55:27.094430+01:00 INFO 52: (example) DCP (Producer) eq_dcpq:mapreduce_view: example _design/dev_test (prod/main) - (vb:0) ActiveStream::scheduleBackfill_UNLOCKED register cursor with name "eq_dcpq:mapreduce_view: example _design/dev_test (prod/main)" backfill:true, seqno:4
|
2022-01-13T10:55:27.094503+01:00 INFO 52: (example) DCP (Producer) eq_dcpq:mapreduce_view: example _design/dev_test (prod/main) - (vb:0) Scheduling backfill from 1 to 2, reschedule flag : False
|
2022-01-13T10:55:27.094873+01:00 WARNING 52: (example) DCP (Producer) eq_dcpq:mapreduce_view: example _design/dev_test (prod/main) - (vb:0) DCPBackfillBySeqnoDisk::markLegacyDiskSnapshot failed getBySeqno no such key
|
2022-01-13T10:55:27.094901+01:00 WARNING 52: (example) DCP (Producer) eq_dcpq:mapreduce_view: example _design/dev_test (prod/main) - (vb:0) Stream closing, sent until seqno 0 remaining items 0, reason: The stream closed early due to backfill failure
|
2022-01-13T10:55:27.094952+01:00 WARNING 52: (example) DCP (Producer) eq_dcpq:mapreduce_view: example _design/dev_test (prod/main) - (vb:0) ActiveStream::completeBackfillInner: Unexpected state_:dead
|
Attachments
Issue Links
For Gerrit Dashboard: MB-50383 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
169030,8 | MB-50383: End DCP legacy stream if default coll highSeqno is not visible | master | kv_engine | Status: MERGED | +2 | +1 |
170350,3 | MB-50383: Use correct seq number when stream is successfully closed | unstable | couchdb | Status: MERGED | +2 | +1 |
171447,2 | Revert "MB-50383: Use correct seq number when stream is successfully closed" | unstable | couchdb | Status: MERGED | +2 | +1 |
171731,4 | MB-50383: Use correct seq number when stream is successfully closed | unstable | couchdb | Status: MERGED | +2 | +1 |
172178,2 | MB-50383: Check log files presence for compact done call | unstable | couchdb | Status: MERGED | +2 | +1 |
172243,2 | MB-50383: Merge remote-tracking branch 'couchbase/unstable' into HEAD | neo | couchdb | Status: MERGED | +2 | +1 |