Operation dispatch should be permitted before connect completes

Description

Currently, it is not possible to submit an operation to libcouchbase before the lcb_connect completes. This causes an issue with the higher level SDKs where we need to queue operations on our side, but we lose on the ability to easily track the timeout throughout the entire lifetime of the operation and we also loose all the context of why that operation failed (there are intended to be retry reasons and other context associated with operations that fail due to connecting not working).

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

CB robot October 8, 2021 at 8:26 AM

Build couchbase-server-7.1.0-1450 contains libcouchbase commit 4f2a7ac with commit message:
: refactor counter and allow deferring the operation

CB robot October 8, 2021 at 8:26 AM

Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3bdefac with commit message:
: allow deferring exists operation

CB robot October 8, 2021 at 8:26 AM

Build couchbase-server-7.1.0-1450 contains libcouchbase commit 3614640 with commit message:
: allow deferring get operation

CB robot October 8, 2021 at 8:26 AM

Build couchbase-server-7.1.0-1450 contains libcouchbase commit 40ad81d with commit message:
: allow deferring unlock operation

CB robot October 8, 2021 at 8:26 AM

Build couchbase-server-7.1.0-1450 contains libcouchbase commit ee9f024 with commit message:
: allow deferring get_replica operation

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

Details

Assignee

Fix versions

Story Points

Components

Labels

Reporter

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created March 24, 2021 at 5:12 PM
Updated October 8, 2021 at 8:26 AM
Resolved June 10, 2021 at 8:03 PM
Instabug