Files
openide/platform/platform-tests
Ruslan Cheremin 5c9a6703cf [refactoring] shrink ids in AppendOnlyLogOverMMappedFile
+ previously recordId from AppendOnlyLogOverMMappedFile  was (almost) a recordOffset. recordOffset is int32-aligned, i.e. lowest 2 bits a always 01. In many use-cases we need to squeeze the id(int64) into an int(int32), so we cut off those 2 lowest bits to squeeze more -- which leaks the implementation details of AOLog. This change re-implements AOLog so that it reports recordId already squeezed as much, as possible -- so clients don't need to know about its implementation details.

GitOrigin-RevId: e72ed8dccd6b393027fdbf6664f5f35a2d478ba6
2024-05-15 22:59:06 +00:00
..