Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eolivelli committed Sep 20, 2022
1 parent 44c196a commit a2c39b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4031,17 +4031,17 @@ private void asyncUpdateProperties(Map<String, String> properties, boolean isDel
store.asyncUpdateLedgerIds(name, getManagedLedgerInfo(), ledgersStat, new MetaStoreCallback<Void>() {
@Override
public void operationComplete(Void result, Stat version) {
metadataMutex.unlock();
ledgersStat = version;
callback.updatePropertiesComplete(propertiesMap, ctx);
metadataMutex.unlock();
}

@Override
public void operationFailed(MetaStoreException e) {
metadataMutex.unlock();
log.error("[{}] Update managedLedger's properties failed", name, e);
handleBadVersion(e);
callback.updatePropertiesFailed(e, ctx);
metadataMutex.unlock();
}
});
}
Expand Down

0 comments on commit a2c39b8

Please sign in to comment.