Details
Description
Cluster consists of 1 kv and 1 eventing node.
STEPS TO REPRODUCE
- Create 3 buckets namely src_bucket, metadata and dst_bucket.
- Create bucket op handler writing to dst_bucket via bucket binding.
- Deploy handler.
- Drop dst_bucket.
- Load docs into src_bucket.
OBSERVATION
LCB_ERR_TIMEOUT is thrown.
2021-09-20T12:09:53.998+05:30 [INFO] {"message":{"code":5,"desc":"LCB_ERR_TIMEOUT (201): The request was not completed by the user-defined timeout","name":"LCB_ERR_TIMEOUT"},"stack":"Error\n at OnUpdate (test.js:5:29)"} |
Appropriate error msg should be thrown as bucket operation failed since dst_bucket did not exist.
Attachments
Issue Links
- backports to
-
MB-52371 [BP 7.1.1 MB-48516] - Eventing: work around - LCB_ERR_TIMEOUT thrown when keyspace for a bucket binding does not exist
- Closed
- is cloned by
-
MB-52644 Eventing: Ticket tracking uptake of CCBC-1551 - LCB_ERR_TIMEOUT thrown when keyspace for a bucket binding does not exist
- Open
- relates to
-
CCBC-1551 Libcouchbase returns timeout error when collection doesn't exist
- Reopened