Skip to content

Commit

Permalink
[BugFix] Fix non isomorphic profile during data load (backport StarRo…
Browse files Browse the repository at this point in the history
…cks#50692) (StarRocks#50717)

Co-authored-by: meegoo <[email protected]>
  • Loading branch information
2 people authored and xiangguangyxg committed Sep 6, 2024
1 parent f994cd6 commit 521b18a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,10 @@ public static RuntimeProfile mergeIsomorphicProfiles(List<RuntimeProfile> profil
continue;
}
Pair<Counter, String> pair = profile.counterMap.get(name);
Preconditions.checkNotNull(pair, "missing counter, profileName={}, counterName={}", profile.name,
name);
if (pair == null) {
LOG.warn("missing counter, profileName={}, counterName={}", profile.name, name);
continue;
}
Counter counter = pair.first;
String parentName = pair.second;

Expand Down

0 comments on commit 521b18a

Please sign in to comment.