Skip to content

Commit d3ea9f4

Browse files
committed
Merge remote-tracking branch 'ep-engine/watson'
* ep-engine/watson: MB-29287: Avoid ambiguity in ActiveStream cursor name
2 parents 05ebb6d + 00fc5a2 commit d3ea9f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dcp/stream.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ ActiveStream::ActiveStream(EventuallyPersistentEngine* e, dcp_producer_t p,
183183
payloadType((flags & DCP_ADD_STREAM_FLAG_NO_VALUE) ? KEY_ONLY :
184184
KEY_VALUE),
185185
lastSentSnapEndSeqno(0), chkptItemsExtractionInProgress(false),
186-
cursorName(n + std::to_string(cursorUID.fetch_add(1))) {
186+
cursorName(n + '/' + std::to_string(cursorUID.fetch_add(1))) {
187187
const char* type = "";
188188
if (flags_ & DCP_ADD_STREAM_FLAG_TAKEOVER) {
189189
type = "takeover ";

0 commit comments

Comments
 (0)