-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chimera: fix loop creation on directory move
Motivation: On directory move we must check that destination is not a subdirectory on the source directory. Modification: Update JdbcFs#rename to check for a potential loop creation before move. Added unit test to cover the use case. Result: no more loops on directory move. Fixes: #7559 Ticket: #10608 Acked-by: Dmitry Litvintsev Acked-by: Paul Millar Target: master, 10.0, 9.2, 9.1, 9.0, 8.2 Require-book: no Require-notes: yes (cherry picked from commit 72da8e9) Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
- Loading branch information
Showing
2 changed files
with
52 additions
and
2 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