-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution
-
Execution Team 2021-05-31
We need an interface to do updateWithDamages when we have both a DamageVector and BSONObj representing the new value. We need to be able to pass the updated BSONObj to IndexCatalog::updateRecord and the validator.
Consider adding a slightly different DamageVector/DamageEvent types that don't require all target buffers to be located in a single contiguous buffer.
The current updateWithDamages API is not allowed to use when there are a validator set on the Collection. https://github.com/mongodb/mongo/blob/master/src/mongo/db/catalog/collection_impl.cpp#L1235
- depends on
-
SERVER-57162 Generate DamageVector and final BSONObj from docDiff in single pass
- Backlog