Skip to content

Commit df1f5a6

Browse files
committed
CCBC-1667: do not schedule config update during instance termination
Change-Id: I8f6fdfe2ffcf4f7dbcdcc48a9a80d92e6aeba294 Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/231863 Reviewed-by: Brett Lawson <brett19@gmail.com> Tested-by: Build Bot <build@couchbase.com>
1 parent d393f82 commit df1f5a6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/bucketconfig/bc_cccp.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@ lcb_STATUS CccpProvider::mcio_error(lcb_STATUS err)
295295
parent->provider_failed(this, err);
296296
return err;
297297
}
298+
if (instance->destroying) {
299+
return err;
300+
}
298301
return schedule_next_request(err, /* can_rollover */ false, /* skip_if_push_supported */ false);
299302
}
300303

0 commit comments

Comments
 (0)