Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
None
-
ALL
Description
Truncate marker initialisation can act on a collection with invalid metrics (records and dataSize > 0) as the collection is empty.
In that case initialisation returns no markers and tries to distribute the leftover metrics across the markers by blindly taking the first one. As there are no markers, this can cause an invalid memory access.
Attachments
Issue Links
- duplicates
-
SERVER-78024 PreImagesTruncateManager doesn't gate divide by 0 in distributing leftover bytes
-
- Closed
-