Skip to content

Prevent nested ssh from consuming while loop stdin#1368

Merged
Slach merged 5 commits into
Altinity:masterfrom
guoard:patch-1
May 20, 2026
Merged

Prevent nested ssh from consuming while loop stdin#1368
Slach merged 5 commits into
Altinity:masterfrom
guoard:patch-1

Conversation

@guoard
Copy link
Copy Markdown

@guoard guoard commented May 10, 2026

Fixed backup iteration over SSH.

The nested ssh command was consuming stdin from the while read loop, causing only the first backup to be processed. This change uses ssh -n to prevent stdin interference and ensures all backup metadata files are processed correctly.

Copy link
Copy Markdown
Collaborator

@Slach Slach left a comment

Choose a reason for hiding this comment

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

nice catch, thanks for contribution

@guoard
Copy link
Copy Markdown
Author

guoard commented May 14, 2026

Failed test is not related to changes:

2026-05-13 18:13:22.546 FTL failed to start test environments error="TestContainers(4).StartAll: start azure: create azure: Error response from daemon: No such image: mcr.microsoft.com/azure-storage/azurite:latest"

@guoard
Copy link
Copy Markdown
Author

guoard commented May 18, 2026

Rebased to master. @Slach PTAL.

@Slach Slach added this to the 2.7.0 milestone May 19, 2026
@Slach Slach merged commit d3ef123 into Altinity:master May 20, 2026
51 of 54 checks passed
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