sumitagrawl opened a new pull request, #4541:
URL: https://github.com/apache/ozone/pull/4541
## What changes were proposed in this pull request?
1. delete key is appended with objectId to make it unique
2. Removed caching of deleteTable as its not used again due to uniqueness
3. and removed getting from deleteTable for old key (old key will not be
present as delete key is unique)
This is to add repeated info and overwrite the same key again in
deleteTable, which can cause missing cleanup of latest block appended as there
KeyDeletingService has already run in parallel.
Uniqueness for multiple flows:
- openKey cleanup: openKey appended with objectId
- key commit(unused block and old version): openKey appended with objectId
- delete key/keys: dbKey appended with objectId
- directoryPurge: key appended with objectId
- multipart upload abort: openKey with each part objectId
- multipart upload commit: openKey of part with old version objectId
- multipart upload complete: openKey with objectId of key
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5905
## How was this patch tested?
Unit test and integration test for delete behavior impact
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]