Index compaction failing due to not found handling

Description

https://couchbasecloud.atlassian.net/browse/CBG-2207#icft=CBG-2207 results in index compaction purging failing to remove index references after the document has been purged by the server.  

Independent of the changes to https://couchbasecloud.atlassian.net/browse/CBG-2207#icft=CBG-2207, the KeyNotFound check at https://github.com/couchbase/sync_gateway/blob/master/db/database.go#L1187 should be fixed to address this issue specifically for compaction.

Activity

Show:

CB robot August 3, 2022 at 2:41 PM

Build sync_gateway-3.0.4-3 contains sync_gateway commit 64c6451 with commit message:
https://couchbasecloud.atlassian.net/browse/CBG-2209#icft=CBG-2209: Backport https://couchbasecloud.atlassian.net/browse/CBG-2208#icft=CBG-2208: Fixed NotFound handling for tombstone compaction (#5670)

CB robot July 29, 2022 at 5:58 PM

Build sync_gateway-3.1.0-245 contains sync_gateway commit aa68e2d with commit message:
https://couchbasecloud.atlassian.net/browse/CBG-2208#icft=CBG-2208: Fixed NotFound handling for tombstone compaction (#5659)

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

Details

Assignee

Reporter

Labels

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created July 15, 2022 at 4:43 PM
Updated October 2, 2024 at 12:21 PM
Resolved April 13, 2023 at 11:01 PM
Instabug