Skip to content

Fix background scanner deadlock (#44109) (cherry-pick to preview)#44156

Merged
zed-zippy[bot] merged 1 commit intov0.216.xfrom
cherry-pick-v0.216.x-c978db86
Dec 4, 2025
Merged

Fix background scanner deadlock (#44109) (cherry-pick to preview)#44156
zed-zippy[bot] merged 1 commit intov0.216.xfrom
cherry-pick-v0.216.x-c978db86

Conversation

@zed-zippy
Copy link
Contributor

@zed-zippy zed-zippy bot commented Dec 4, 2025

Cherry-pick of #44109 to preview


Fixes a deadlock in the background scanner that occurs on single-core
Linux devices. This happens because the background scanner would block
on a background thread waiting for a future, but on single-core Linux
devices there would be no other thread to pick it up. This mostly
affects SSH remoting use cases where it's common for servers to have 1
vCPU.

Closes #43884
Closes #43809

Release Notes:

  • Fix SSH remoting hang when connecting to 1 vCPU servers

Fixes a deadlock in the background scanner that occurs on single-core
Linux devices. This happens because the background scanner would `block`
on a background thread waiting for a future, but on single-core Linux
devices there would be no other thread to pick it up. This mostly
affects SSH remoting use cases where it's common for servers to have 1
vCPU.

Closes #43884 
Closes #43809

Release Notes:

- Fix SSH remoting hang when connecting to 1 vCPU servers
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 4, 2025
@zed-zippy zed-zippy bot merged commit 49e8c8d into v0.216.x Dec 4, 2025
23 checks passed
@zed-zippy zed-zippy bot deleted the cherry-pick-v0.216.x-c978db86 branch December 4, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant