Skip to content

Commit

Permalink
[MINOR] Fix empty metasync class issue (apache#11915)
Browse files Browse the repository at this point in the history
  • Loading branch information
linliu-code authored Sep 8, 2024
1 parent be080a8 commit cedc58c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,11 @@ public void runMetaSync() {

Map<String, HoodieException> failedMetaSyncs = new HashMap<>();
for (String impl : syncClientToolClasses) {
if (impl.trim().isEmpty()) {
LOG.warn("Cannot run MetaSync with empty class name");
continue;
}

Timer.Context syncContext = metrics.getMetaSyncTimerContext();
Option<HoodieMetaSyncException> metaSyncException = Option.empty();
try {
Expand Down

0 comments on commit cedc58c

Please sign in to comment.