RESTListener synchronous response may hang

Description

For the POST request, _replicate, there are two modes, continuous and one-shot.

When "continuous == true", we respond asynchronous, that is, responding with OK right away indicating the request is received.

When "continuous == false", we pause and wait for the replication to complete (Stopped) and then respond. In this case, "ws:" may hang.

To repro, refers to .

Activity

Show:

CB robot August 25, 2021 at 1:49 AM

Build couchbase-lite-net-3.0.0-105 contains couchbase-lite-core commit 5d9539f with commit message:
Handle client connections in separate threads. (#1224)

CB robot August 20, 2021 at 9:24 PM

Build couchbase-lite-android-3.0.0-170 contains couchbase-lite-core commit 5d9539f with commit message:
Handle client connections in separate threads. (#1224)

CB robot August 20, 2021 at 8:31 PM

Build couchbase-lite-java-3.0.0-170 contains couchbase-lite-core commit 5d9539f with commit message:
Handle client connections in separate threads. (#1224)

CB robot August 20, 2021 at 8:27 AM

Build couchbase-lite-net-3.0.0-102 contains couchbase-lite-core commit 5d9539f with commit message:
Handle client connections in separate threads. (#1224)

CB robot August 20, 2021 at 1:13 AM

Build couchbase-lite-c-3.0.0-108 contains couchbase-lite-core commit 5d9539f with commit message:
Handle client connections in separate threads. (#1224)

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 July 29, 2021 at 9:00 PM
Updated August 25, 2021 at 1:49 AM
Resolved August 17, 2021 at 2:30 AM
Instabug