Skip to content

Commit

Permalink
Remove useless log "datanodeId -1" #14035
Browse files Browse the repository at this point in the history
  • Loading branch information
liyuheng55555 authored Nov 9, 2024
1 parent 34fc3ca commit 8a92aaf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ private void invalidateSchemaCacheOfOldLeaders(
entry -> {
// set target
final Integer dataNodeId = entry.getValue();
if (dataNodeId == -1) {
return;
}
final TDataNodeLocation dataNodeLocation =
getNodeManager().getRegisteredDataNode(dataNodeId).getLocation();
if (dataNodeLocation == null) {
Expand Down

0 comments on commit 8a92aaf

Please sign in to comment.