[3.1.1 backport] attachment compaction code erroneously sets failOnRollback

Description

This is broken in 3.0.5. This was found by where a customer has bad data in their dcp checkpoint and it'll repeatedlyshow:

 

https://github.com/couchbase/sync_gateway/blob/master/db/attachment_compaction.go#L559 is a bug and this is present in 3.0.5

The recommended fix given to was to delete the dcp checkpoint docs found from:

where {{%q will become uuid}}

 

Activity

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

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 25, 2023 at 10:44 PM
Updated August 31, 2024 at 10:56 AM
Resolved June 2, 2023 at 1:12 PM
Instabug