XDCR - dev test for OSO broken due to KV changes

Description

In https://couchbasecloud.atlassian.net/browse/MB-56547#icft=MB-56547 - KV has changed it such that OSO is not guaranteed to occur for a single collection.

In XDCR, this breaks the oso tests as we now see the following messages in source cluster's memcached log:

2023-09-19T13:54:07.341123-07:00 INFO 69: (B1) DCP (Producer) eq_dcpq:xdcr:dcp_backfill_ff74ddcd03879f28cb8c4bc57a662345/B1/B2_127.0.0.1:12000_0:7dSoVX_2oV-8cf6euYQbOw== - (vb:31) Skipping OSO backfill for cid:0xd as collection item count (12) is too large a percentage of the vBucket item count (36) - (33.33%) 2023-09-19T13:54:07.341187-07:00 INFO 69: (B1) DCP (Producer) eq_dcpq:xdcr:dcp_backfill_ff74ddcd03879f28cb8c4bc57a662345/B1/B2_127.0.0.1:12000_0:7dSoVX_2oV-8cf6euYQbOw== - (vb:31) Scheduling backfill from 1 to 45, uid:2049, reschedule flag : False 2023-09-19T13:54:07.341246-07:00 INFO 69: (B1) DCP (Producer) eq_dcpq:xdcr:dcp_backfill_ff74ddcd03879f28cb8c4bc57a662345/B1/B2_127.0.0.1:12000_0:7dSoVX_2oV-8cf6euYQbOw== - (vb:397) Creating stream with start seqno 0 and end seqno 30; requested end seqno was 30, flags:80, snapshot:{0,0} collections-filter-size:1 sid:none 2023-09-19T13:54:07.341258-07:00 INFO 69: (B1) DCP (Producer) eq_dcpq:xdcr:dcp_backfill_ff74ddcd03879f28cb8c4bc57a662345/B1/B2_127.0.0.1:12000_0:7dSoVX_2oV-8cf6euYQbOw== - (vb:397) ActiveStream::scheduleBackfill_UNLOCKED register cursor with name "eq_dcpq:xdcr:dcp_backfill_ff74ddcd03879f28cb8c4bc57a662345/B1/B2_127.0.0.1:12000_0:7dSoVX_2oV-8cf6euYQbOw==" wantedSeqno:0, result{tryBackfill:true, seqno:31}, op:empty, lastReadSeqno:0

https://couchbasecloud.atlassian.net/browse/MB-56601#icft=MB-56601 showcases a diag/eval command to force the old behavior but that doesn't seem to work. The right thing to do for XDCR test is to load the bucket large enough such that the above condition is satisfied.

Components

Affects versions

Fix versions

Labels

Environment

None

Release Notes Description

None

Activity

Show:

CB robot October 5, 2023 at 8:20 AM

Build couchbase-server-8.0.0-1426 contains goxdcr commit ffb713d with commit message:
https://couchbasecloud.atlassian.net/browse/MB-58741#icft=MB-58741: disable OSO test case due to inconsistent KV behavior

CB robot October 5, 2023 at 3:40 AM

Build capella-analytics-1.0.0-1039 contains goxdcr commit ffb713d with commit message:
https://couchbasecloud.atlassian.net/browse/MB-58741#icft=MB-58741: disable OSO test case due to inconsistent KV behavior

CB robot October 4, 2023 at 9:38 PM

Build couchbase-server-7.6.0-1596 contains goxdcr commit ffb713d with commit message:
https://couchbasecloud.atlassian.net/browse/MB-58741#icft=MB-58741: disable OSO test case due to inconsistent KV behavior

CB robot September 20, 2023 at 10:37 AM

Build couchbase-server-8.0.0-1411 contains goxdcr commit 7963dd6 with commit message:
https://couchbasecloud.atlassian.net/browse/MB-58741#icft=MB-58741: fix oso test to ensure oso is passed down correctly

CB robot September 20, 2023 at 5:45 AM

Build capella-analytics-1.0.0-1025 contains goxdcr commit 7963dd6 with commit message:
https://couchbasecloud.atlassian.net/browse/MB-58741#icft=MB-58741: fix oso test to ensure oso is passed down correctly

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created September 19, 2023 at 9:28 PM
Updated October 5, 2023 at 8:20 AM
Resolved September 20, 2023 at 3:54 PM
Instabug