Skip to content
Snippets Groups Projects
Verified Commit 506f78c8 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

journal_client: Ensure queue position does not overflow

Queue positions are date and the current next_position_offset used to compute the new
queue position was not bounded. This has the side-effect of making overflow error.

This commit adapts the journal client computations to limit such next_position_offset to
10. This value was chosen because above that exponent the dates overflow (and we are way
in the future already).

Related to T3502
parent 28ae1d86
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment