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 (#4054)

Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
  • Loading branch information
Apache9 committed Jan 27, 2022
1 parent 0ca2307 commit a8b68c9
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 373 deletions.
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

0 comments on commit a8b68c9

Please sign in to comment.