Skip to content

Commit

Permalink
Optimise access to cluster name
Browse files Browse the repository at this point in the history
  • Loading branch information
luigidellaquila committed Jun 9, 2021
1 parent d9cfb3d commit 43860b8
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -4105,7 +4105,6 @@ public final String getPhysicalClusterNameById(final int iClusterId) {
try {
stateLock.acquireReadLock();
try {
interruptionManager.enterCriticalPath();
checkOpenness();
checkIfThreadIsBlocked();

Expand All @@ -4116,7 +4115,6 @@ public final String getPhysicalClusterNameById(final int iClusterId) {
return clusters.get(iClusterId) != null ? clusters.get(iClusterId).getName() : null;
} finally {
stateLock.releaseReadLock();
interruptionManager.exitCriticalPath();
}
} catch (final RuntimeException ee) {
throw logAndPrepareForRethrow(ee);
Expand Down

0 comments on commit 43860b8

Please sign in to comment.