Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure state starts at close to now tick #1078

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

blt
Copy link
Collaborator

@blt blt commented Oct 29, 2024

What does this PR do?

This commit ensures that at startup the state does not start at an
arbitrary tick but at one synchronized with the logrotate_fs. In
practice this comes to the same thing -- today -- but it's an easy
bug to trip on in the future.

@blt blt requested a review from a team as a code owner October 29, 2024 22:23
@blt blt force-pushed the blt/uniformly_advance_time_in_logrotate_fs branch from 33fb7b1 to a9cf992 Compare October 29, 2024 22:24
@blt blt force-pushed the blt/make_sure_state_starts_at_close_to_now_tick branch from bbd5932 to 8386be5 Compare October 29, 2024 22:25
@blt blt force-pushed the blt/uniformly_advance_time_in_logrotate_fs branch from a9cf992 to 27d221b Compare October 29, 2024 23:29
@blt blt force-pushed the blt/make_sure_state_starts_at_close_to_now_tick branch from 8386be5 to 56c204c Compare October 29, 2024 23:29
@blt blt force-pushed the blt/uniformly_advance_time_in_logrotate_fs branch from 27d221b to 4ebe0f8 Compare October 31, 2024 18:27
@blt blt force-pushed the blt/make_sure_state_starts_at_close_to_now_tick branch from 56c204c to fb27b08 Compare October 31, 2024 18:27
@blt blt mentioned this pull request Oct 31, 2024
@blt blt force-pushed the blt/uniformly_advance_time_in_logrotate_fs branch 2 times, most recently from 99ccde9 to dad6f82 Compare October 31, 2024 19:03
@blt blt force-pushed the blt/make_sure_state_starts_at_close_to_now_tick branch from fb27b08 to 811f71c Compare October 31, 2024 19:03
@blt blt force-pushed the blt/uniformly_advance_time_in_logrotate_fs branch from dad6f82 to 2a279ce Compare October 31, 2024 19:08
@blt blt force-pushed the blt/make_sure_state_starts_at_close_to_now_tick branch from 811f71c to 4b52809 Compare October 31, 2024 19:08
@blt blt changed the base branch from blt/uniformly_advance_time_in_logrotate_fs to graphite-base/1078 October 31, 2024 19:44
@blt blt force-pushed the blt/make_sure_state_starts_at_close_to_now_tick branch from 4b52809 to 4fb2c61 Compare October 31, 2024 19:44
@blt blt changed the base branch from graphite-base/1078 to main October 31, 2024 19:45
This commit ensures that at startup the state does not start at an
arbitrary tick but at one synchronized with the logrotate_fs. In
practice this comes to the same thing -- today -- but it's an easy
bug to trip on in the future.

Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt force-pushed the blt/make_sure_state_starts_at_close_to_now_tick branch from 4fb2c61 to 82c3b70 Compare October 31, 2024 19:45
@blt blt merged commit c0aea47 into main Oct 31, 2024
17 checks passed
Copy link
Collaborator Author

blt commented Oct 31, 2024

Merge activity

  • Oct 31, 4:22 PM EDT: A user merged this pull request with Graphite.

@blt blt deleted the blt/make_sure_state_starts_at_close_to_now_tick branch October 31, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants