[3.0.4 backport] Index compaction failing due to not found handling

Description

results in index compaction purging failing to remove index references after the document has been purged by the server.  

Independent of the changes to , 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:
: Backport : Fixed NotFound handling for tombstone compaction (#5670)

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:44 PM
Updated August 31, 2024 at 10:58 AM
Resolved August 3, 2022 at 1:58 PM
Instabug