-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2.20.2][PLAT-12836] Fixed resolve symlinks across filesystems
Summary: Original commit: 8b982b5 / D32628 os.Rename (and the rename syscall) will not work across filesystems, which some customers are setting up as part of their replicated migration. Instead, we will run an "mv" command which will work and be idempotent (not atomic though) across filesystems. In addition, cleaned up some other minor logging issues and we won't fail if replicated uninstall fails Test Plan: setup vm with 2 extra mountpoints at /opt/yugabyte and /opt/ybanywhere 1. Ran through a full migration without issues 2. Failed a migration during symlink resolution. Fixed the failure and retried. Saw success Reviewers: muthu, sanketh Reviewed By: muthu Subscribers: yugaware, muthu, sanketh Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D33280
- Loading branch information
Showing
5 changed files
with
118 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters