Use abolute path when checking file stores

Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17084
This commit is contained in:
Brandon Williams 2021-12-07 16:32:45 -06:00
parent 89c6addb50
commit 76f8333e9b
1 changed files with 1 additions and 1 deletions

View File

@ -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()));