Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
codelipenghui committed Dec 23, 2022
1 parent d670439 commit 4369fc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public synchronized void close() throws MetadataStoreException {
}

instancesCache.remove(this.metadataUrl, this);
if (isClosed.compareAndExchange(false, true)) {
if (isClosed.compareAndSet(false, true)) {
try {
dbStateLock.writeLock().lock();
log.info("close.instanceId={}", instanceId);
Expand Down

0 comments on commit 4369fc3

Please sign in to comment.