-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
Storage Execution 2026-04-13
-
None
-
None
-
None
-
None
-
None
-
None
-
None
A new oplog entry for replicated truncate was introduce with the format of
{
op: 'c',
ns: '<DB_NAME>.$cmd',
ui: <COLLECTION_UUID>,
o: {
truncateRange: <NAMESPACE_STRING>,
minRecordId: <minRecordId>,
maxRecordId: <maxRecordId>,
bytesDeleted: <bytesDeleted>,
docsDeleted: <docsDeleted>
},
// common oplog fields
ts: ,
t: ,
v: 2,
wall:
}
When aggregating the size and count deltas from the oplog, we should also parse bytesDeleted and docsDeleted and track it for the collection with the UUID ui.
- related to
-
SERVER-120537 Add size delta to insert, update, and delete oplog entries
-
- Closed
-