Details
Description
CBSE-17642 shows an incident wherein XDCR incorrectly sent a stream-request to a 'dead' state VB, since it was reflected as 'active' in the the vBucketMap from the response ns_server 'GET /pools/default/bucket'.
By setting the ACTIVE_VB_ONLY flag in our stream-request, we can direct the server to only accept the request if it has the 'active' VB. If not, the request fails with a NOT_MY_VBUCKET error.
Refer flags section of https://github.com/couchbase/kv_engine/blob/master/docs/dcp/documentation/commands/stream-request.md
Attachments
Issue Links
For Gerrit Dashboard: MB-62962 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
213646,2 | MB-62962: Prevent unexpected stream-request to non-active VBs | master | goxdcr | Status: MERGED | +2 | +1 |