Page MenuHomeSoftware Heritage

journalprocessor: Fix freeze on empty offset ranges.
ClosedPublic

Authored by vlorentz on Jul 27 2021, 3:16 PM.

Details

Summary

The state is only updated after consuming messages; so if there is no
message at all, JournalClientOffsetRanges never notices there is no
message to wait for.

Diff Detail

Repository
rDDATASET Datasets
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.