[SERVER-71053] Fix dataSize can be negative and incorrect on rollback Created: 03/Nov/22 Updated: 29/Oct/23 Resolved: 04/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0, 6.0.5, 6.0.6, 5.0.22, 4.4.26 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Yujin Kang Park | Assignee: | Yujin Kang Park |
| 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: |
v6.3, v6.0, v5.0, v4.4
|
||||||||||||||||
| Sprint: | Execution Team 2022-11-14 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 4 | ||||||||||||||||
| Description |
Value is checked before adding, and clamping is done only if the previous value was negative, so the value can still be negative. Additionally, similar to |
| Comments |
| Comment by Githook User [ 06/Oct/23 ] |
|
Author: {'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}Message: (cherry picked from commit 556bf6acd152734c99160bf5cc4f4bb362b5235c) |
| Comment by Githook User [ 04/Oct/23 ] |
|
Author: {'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}Message: (cherry picked from commit 556bf6acd152734c99160bf5cc4f4bb362b5235c) |
| Comment by Githook User [ 20/Mar/23 ] |
|
Author: {'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}Message: (cherry picked from commit 556bf6acd152734c99160bf5cc4f4bb362b5235c) |
| Comment by Githook User [ 25/Jan/23 ] |
|
Author: {'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}Message: (cherry picked from commit 556bf6acd152734c99160bf5cc4f4bb362b5235c) |
| Comment by Liubov Molchanova [ 12/Jan/23 ] |
|
Requesting a backport for v6.0 as the issue reoccurred in BFG-1746327 |
| Comment by Githook User [ 03/Nov/22 ] |
|
Author: {'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}Message: |