HDDS-1872. Fix entry clean up from openKeyTable during complete MPU. (#1182)

This commit is contained in:
Bharat Viswanadham 2019-07-30 09:28:26 -07:00 committed by GitHub
parent bca86bd289
commit 88daa730a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1214,6 +1214,7 @@ public OmMultipartUploadCompleteInfo completeMultipartUpload(
multipartKey);
metadataManager.getKeyTable().putWithBatch(batch,
ozoneKey, keyInfo);
metadataManager.getOpenKeyTable().deleteWithBatch(batch, multipartKey);
store.commitBatchOperation(batch);
}
return new OmMultipartUploadCompleteInfo(omKeyArgs.getVolumeName(),