Page MenuHomePhabricator

[lib] Simplify sorting local ids
ClosedPublic

Authored by inka on Apr 5 2024, 3:28 AM.
Tags
None
Referenced Files
F1778077: D11565.diff
Fri, May 17, 8:07 AM
Unknown Object (File)
Apr 16 2024, 5:18 PM
Unknown Object (File)
Apr 13 2024, 10:55 AM
Unknown Object (File)
Apr 11 2024, 7:40 PM
Unknown Object (File)
Apr 11 2024, 2:35 PM
Unknown Object (File)
Apr 10 2024, 11:34 AM
Unknown Object (File)
Apr 9 2024, 7:09 PM
Unknown Object (File)
Apr 5 2024, 3:41 AM
Subscribers

Details

Summary

issue: ENG-7651
Since local ids are now uuids, not consecutive numbers, we don't want to sort them like number. But we do care that they are always sorted in the same order. So we want to sort them lexicographically (within one time - we first sort all ids by time). We walso want the local ids to be after any realised ids (again, withing one time).

Test Plan

ran the provided tests

Diff Detail

Repository
rCOMM Comm
Branch
inka/nextLocalID
Lint
No Lint Coverage
Unit
No Test Coverage