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

Revert "storcon: sk heartbeat fixes (#10891)" #10901

Closed
wants to merge 1 commit into from

Conversation

arpad-m
Copy link
Member

@arpad-m arpad-m commented Feb 19, 2025

This reverts commit 9ba2a87, PR #10891.

We saw some regressions on staging after this commit was deployed (storage controller repeatedly restarting).

https://neondb.slack.com/archives/C033RQ5SPDH/p1739998508095929

@arpad-m arpad-m requested a review from skyzh February 19, 2025 21:46
Copy link

7546 tests run: 7174 passed, 0 failed, 372 skipped (full report)


Flaky tests (1)

Postgres 17

Code coverage* (full report)

  • functions: 32.9% (8621 of 26198 functions)
  • lines: 48.9% (72725 of 148873 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
308a12e at 2025-02-19T22:44:54.165Z :recycle:

github-merge-queue bot pushed a commit that referenced this pull request Feb 19, 2025
Fix an issue caused by PR
#10891: we introduced the
concept of timeouts for heartbeats, where we would hang up on the other
side of the oneshot channel if a timeout happened (future gets
cancelled, receiver is dropped).

This hang up would make the heartbeat task panic when it did obtain the
response, as we unwrap the result of the result sending operation. The
panic would lead to the heartbeat task panicing itself, which is then
according to logs the last sign of life we of that process invocation.
I'm not sure what brings down the process, in theory tokio [should
continue](https://docs.rs/tokio/latest/tokio/runtime/enum.UnhandledPanic.html#variant.Ignore),
but idk.

Alternative to #10901.
@arpad-m
Copy link
Member Author

arpad-m commented Feb 20, 2025

Stuff is healthy again, so #10902 seems to have fixed it. Closing this as not needed.

@arpad-m arpad-m closed this Feb 20, 2025
@arpad-m arpad-m deleted the arpad/revert_sk_heartbeat_fixes branch February 20, 2025 00:58
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