[mongodb][hotfix] Fix MongoDB's rewriteOutputBuffer to emit +I rather than +U (#2760) (#2760)

pull/2777/head
Hongshun Wang 1 year ago committed by GitHub
parent a81d4a16b9
commit cc9dbc6660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -166,6 +166,8 @@ public class MongoDBFetchTaskContext implements FetchTask.Context {
case INSERT:
case UPDATE:
case REPLACE:
value.put(
MongoDBEnvelope.OPERATION_TYPE_FIELD, OperationType.INSERT.getValue());
outputBuffer.put(key, changeRecord);
break;
case DELETE:

Loading…
Cancel
Save