Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Storage Execution
Description
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.
Attachments
Issue Links
- related to
-
SERVER-79873 Provide a knob to disable or adjust updates with damages for a collection
-
- Closed
-