Skip to content

Commit

Permalink
HBASE-26690 Modify FSTableDescriptors to not rely on renaming when wr…
Browse files Browse the repository at this point in the history
…iting TableDescriptor (apache#4054)

Signed-off-by: Wellington Ramos Chevreuil <[email protected]>
  • Loading branch information
Apache9 authored and apurtell committed Mar 18, 2022
1 parent 7bd15d4 commit 0a672dd
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 373 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private static boolean isRegionDir(final FileSystem fs, final Path path) throws
}

private static boolean isTableDir(final FileSystem fs, final Path path) throws IOException {
return FSTableDescriptors.getTableInfoPath(fs, path) != null;
return FSTableDescriptors.isTableDir(fs, path);
}

private static boolean isFamilyDir(final FileSystem fs, final Path path) throws IOException {
Expand Down
Loading

0 comments on commit 0a672dd

Please sign in to comment.