[SERVER-41913] Avoid in-place modify operations for logged collections Created: 25/Jun/19 Updated: 29/Oct/23 Resolved: 25/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.14, 4.0.11, 4.2.0-rc3, 4.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Michael Cahill (Inactive) | Assignee: | Michael Cahill (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Backport Requested: |
v4.2, v4.0, v3.6
|
||||||||||||||||||||||||
| Sprint: | Storage Engines 2019-07-01 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 17 | ||||||||||||||||||||||||
| Description |
|
In However, this is the first time we are using size-changing deltas in MongoDB, which is also the first operation that is not idempotent in WiredTiger's log. There have been several test failures that could be explained by such operations being applied by WiredTiger recovery on top of data that already includes the change. Disable the new modify functionality for collections that rely on the WiredTiger log for recovery. This should not matter for the original cases |
| Comments |
| Comment by Githook User [ 31/Jul/19 ] |
|
Author: {'name': 'Michael Cahill', 'email': 'michael.cahill@mongodb.com', 'username': 'michaelcahill'}Message: (cherry picked from commit 8b1d5ef199d881ab4fce61e585006436e9e6d2d1) |
| Comment by Githook User [ 12/Jul/19 ] |
|
Author: {'name': 'Michael Cahill', 'username': 'michaelcahill', 'email': 'michael.cahill@mongodb.com'}Message: (cherry picked from commit 8b1d5ef199d881ab4fce61e585006436e9e6d2d1) |
| Comment by Githook User [ 26/Jun/19 ] |
|
Author: {'name': 'Michael Cahill', 'username': 'michaelcahill', 'email': 'michael.cahill@mongodb.com'}Message: (cherry picked from commit 8b1d5ef199d881ab4fce61e585006436e9e6d2d1) |
| Comment by Githook User [ 25/Jun/19 ] |
|
Author: {'name': 'Michael Cahill', 'email': 'michael.cahill@mongodb.com', 'username': 'michaelcahill'}Message: |