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

fix(paxos): use Instant instead of SystemTime to ensure monotonic clock #1588

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

shadaj
Copy link
Member

@shadaj shadaj commented Nov 22, 2024

SystemTime is not guaranteed to be monotonic, which can cause trouble when measuring elapsed time for latency.

Copy link

cloudflare-workers-and-pages bot commented Nov 22, 2024

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: 15c1dc5
Status: ✅  Deploy successful!
Preview URL: https://869b31b2.hydroflow.pages.dev
Branch Preview URL: https://pr1588.hydroflow.pages.dev

View logs

@shadaj shadaj force-pushed the pr1588 branch 5 times, most recently from a23d6b5 to b5f46c3 Compare November 23, 2024 07:37
… clock

`SystemTime` is not guaranteed to be monotonic, which can cause trouble when measuring elapsed time for latency.
@shadaj shadaj merged commit 6688e97 into main Nov 28, 2024
29 checks passed
@shadaj shadaj deleted the pr1588 branch November 28, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants