HDDS-1872. Fix entry clean up from openKeyTable during complete MPU. (#1182)
This commit is contained in:
parent
bca86bd289
commit
88daa730a3
|
@ -1214,6 +1214,7 @@ public class KeyManagerImpl implements KeyManager {
|
||||||
multipartKey);
|
multipartKey);
|
||||||
metadataManager.getKeyTable().putWithBatch(batch,
|
metadataManager.getKeyTable().putWithBatch(batch,
|
||||||
ozoneKey, keyInfo);
|
ozoneKey, keyInfo);
|
||||||
|
metadataManager.getOpenKeyTable().deleteWithBatch(batch, multipartKey);
|
||||||
store.commitBatchOperation(batch);
|
store.commitBatchOperation(batch);
|
||||||
}
|
}
|
||||||
return new OmMultipartUploadCompleteInfo(omKeyArgs.getVolumeName(),
|
return new OmMultipartUploadCompleteInfo(omKeyArgs.getVolumeName(),
|
||||||
|
|
Loading…
Reference in New Issue