Skip to content

Conversation

@davidcheng0922
Copy link
Contributor

Which issue(s) this PR fixes:

longhorn/longhorn#10294

What this PR does / why we need it:

When removing the replica, stop all related snapshot hashing

Special notes for your reviewer:

Additional documentation or context

@davidcheng0922 davidcheng0922 force-pushed the issue-10294-disable-snapshot-hashing branch from 4117fdc to a0b3c58 Compare November 20, 2025 08:21
Copy link
Contributor

@shuo-wu shuo-wu left a comment

Choose a reason for hiding this comment

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

I am thinking if all replica processes would automatically (and blindly) try to stop hashing before removal, rather than the upper level asks them to do so manually.

@davidcheng0922
Copy link
Contributor Author

I am thinking if all replica processes would automatically (and blindly) try to stop hashing before removal, rather than the upper level asks them to do so manually.

Currently, we remove the files (lhns.DeleteDirectory) in replica controller (longhorn-manager).

So, maybe we should move this behavior to instance-manager and stop the hashing at the same time?

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