Skip to content

fix(lb): use CancellationToken reliable shutdown signal - #1421

Merged
meskill merged 1 commit into
mainfrom
meskill-2026-08-24-fix-lb---xyp
Aug 25, 2026
Merged

fix(lb): use CancellationToken reliable shutdown signal#1421
meskill merged 1 commit into
mainfrom
meskill-2026-08-24-fix-lb---xyp

Conversation

@meskill

@meskill meskill commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Replace pack of Notify with CancellationToken to implement the shutdown signal.

One of the issue I faced is the lb/monitor that was not shutting down sometimes gracefully. Also, I think this is the reason the complex integration test fails sometime.

@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pgdog/src/frontend/listener.rs 87.50% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@levkk levkk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet

@sgrif sgrif left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heck yeah! -1 reimplementing tokio primitives ourselves

@meskill
meskill merged commit 701727e into main Aug 25, 2026
29 checks passed
@meskill
meskill deleted the meskill-2026-08-24-fix-lb---xyp branch August 25, 2026 08:52
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.

3 participants