@@ -172,15 +172,10 @@ DcpProducer::DcpProducer(EventuallyPersistentEngine &e, const void *cookie,
172172 enableExtMetaData = false ;
173173 enableValueCompression = false ;
174174
175- // Cursor dropping is disabled for replication connections by default,
176- // but will be enabled through a control message to support backward
177- // compatibility. For all other type of DCP connections, cursor dropping
178- // will be enabled by default.
179- if (name.find (" replication" ) < name.length ()) {
180- supportsCursorDropping = false ;
181- } else {
182- supportsCursorDropping = true ;
183- }
175+ // MB-29369: Cursor dropping is currently disabled for all
176+ // connections due to race condition which can result in skipping
177+ // mutations.
178+ supportsCursorDropping = false ;
184179
185180 backfillMgr.reset (new BackfillManager (&engine_));
186181
@@ -584,11 +579,8 @@ ENGINE_ERROR_CODE DcpProducer::control(uint32_t opaque, const void* key,
584579 }
585580 return ENGINE_SUCCESS;
586581 } else if (strncmp (param, " supports_cursor_dropping" , nkey) == 0 ) {
587- if (valueStr == " true" ) {
588- supportsCursorDropping = true ;
589- } else {
590- supportsCursorDropping = false ;
591- }
582+ // MB-29369: Cursor dropping currently disabled. Ignore requests
583+ // to enable.
592584 return ENGINE_SUCCESS;
593585 } else if (strncmp (param, " set_noop_interval" , nkey) == 0 ) {
594586 if (parseUint32 (valueStr.c_str (), &noopCtx.noopInterval )) {
0 commit comments