This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push: new 76f8333 Use abolute path when checking file stores 76f8333 is described below commit 76f8333e9b9c89f029dd586273d5d42fdaf676dd Author: Brandon Williams <brandonwilli...@apache.org> AuthorDate: Tue Dec 7 16:32:45 2021 -0600 Use abolute path when checking file stores Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17084 --- src/java/org/apache/cassandra/io/util/PathUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/cassandra/io/util/PathUtils.java b/src/java/org/apache/cassandra/io/util/PathUtils.java index 690222f..effd6fe 100644 --- a/src/java/org/apache/cassandra/io/util/PathUtils.java +++ b/src/java/org/apache/cassandra/io/util/PathUtils.java @@ -631,7 +631,7 @@ public final class PathUtils { try { - Path ancestor = findExistingAncestor(path.normalize()); + Path ancestor = findExistingAncestor(path.toAbsolutePath().normalize()); if (ancestor == null) { orElse.accept(new NoSuchFileException(path.toString())); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org