-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
RSS Sydney
The RecordStore provides two methods to update a record, full update (updateRecord) and incremental update (updateWithDamages). However, WiredTigerRecordStore::doUpdateRecord under some conditions, might try to do an incremental update. This breaks the expectations of RecordStore::updateRecord callers.
I.e. updateStage has its own logic to decide whether to compute damages and do incremental updates or full updates.
Maybe we should be push this logic outside WiredTigerRecordStore::doUpdateRecord, and call RecordStore::updateWithDamages as required.
- related to
-
SERVER-79873 Provide a knob to disable or adjust updates with damages for a collection
- Closed