Database is closed while replicator change listener is still executing

Description

Looks like the database(pending-document-ids/replicator) is closed, while the replicator change listener is still executing.

Steps: 
1. CBL_EE_ObjC + Mac target
2. Run the unit test `testIsDocumentPendingWithPushFilter` without log enabled.

Activity

Show:

CB robot February 8, 2022 at 1:54 AM

Build couchbase-lite-c-3.1.0-78 contains couchbase-lite-core commit ea59713 with commit message:
: catch db exception properly in Replicator.cc (#1346) (#1352)

CB robot January 27, 2022 at 4:43 AM

Build couchbase-lite-net-3.1.0-24 contains couchbase-lite-core commit ea59713 with commit message:
: catch db exception properly in Replicator.cc (#1346) (#1352)

CB robot January 19, 2022 at 6:11 PM

Build couchbase-lite-android-3.1.0-105 contains couchbase-lite-core commit ea59713 with commit message:
: catch db exception properly in Replicator.cc (#1346) (#1352)

CB robot January 19, 2022 at 6:07 PM

Build couchbase-lite-java-3.1.0-103 contains couchbase-lite-core commit ea59713 with commit message:
: catch db exception properly in Replicator.cc (#1346) (#1352)

CB robot January 18, 2022 at 4:10 AM

Build couchbase-lite-ios-3.1.0-85 contains couchbase-lite-core commit ea59713 with commit message:
: catch db exception properly in Replicator.cc (#1346) (#1352)

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

Details

Assignee

Reporter

Labels

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created January 10, 2022 at 11:47 PM
Updated August 31, 2024 at 10:55 AM
Resolved April 18, 2022 at 2:01 PM
Instabug