Skip to content

Commit

Permalink
branch-2.1: [enhance](table)Remove unnecessary locks #44416 (#44468)
Browse files Browse the repository at this point in the history
Cherry-picked from #44416

Co-authored-by: zhangdong <[email protected]>
  • Loading branch information
github-actions[bot] and zddr authored Nov 26, 2024
1 parent 688ef8f commit e677e77
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1272,12 +1272,7 @@ public List<String> getEqualPartitionNames(List<Long> partitionIds1, List<Long>
}

public List<Long> getPartitionIds() {
readLock();
try {
return new ArrayList<>(idToPartition.keySet());
} finally {
readUnlock();
}
return new ArrayList<>(idToPartition.keySet());
}

public Set<String> getCopiedBfColumns() {
Expand Down

0 comments on commit e677e77

Please sign in to comment.