eclipse-zenoh / zenoh

zenoh unifies data in motion, data in-use, data at rest and computations. It carefully blends traditional pub/sub with geo-distributed storages, queries and computations, while retaining a level of time and space efficiency that is well beyond any of the mainstream stacks.
https://zenoh.io
Other
1.52k stars 161 forks source link

refactor(storage-manager): replication log lookup #1566

Closed J-Loudet closed 4 weeks ago

J-Loudet commented 4 weeks ago

This commit optimises the method lookup to only lookup for newer (and thus rename it to lookup_newer) Event.

As it is only looking for a newer Event, this method skips the Intervals and SubIntervals that, by construction of the Replication Log, only contain Events with lower timestamps.