Page MenuHomePhabricator

[lib] Simplify sorting local ids
ClosedPublic

Authored by inka on Apr 5 2024, 3:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 8, 4:02 AM
Unknown Object (File)
Nov 17 2024, 6:15 AM
Unknown Object (File)
Nov 3 2024, 2:09 AM
Unknown Object (File)
Oct 22 2024, 2:46 PM
Unknown Object (File)
Oct 22 2024, 2:46 PM
Unknown Object (File)
Oct 22 2024, 2:46 PM
Unknown Object (File)
Oct 11 2024, 11:49 AM
Unknown Object (File)
Sep 18 2024, 9:39 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