LUC070-156 multithread deletes - implemented with integration and uni…#862
Draft
LUC070-156 multithread deletes - implemented with integration and uni…#862
Conversation
…t tests. DeleteChunk events send per (chunk and location) deleted.
…eceived into Broker and saved to database
…ts' property in the broker can control whether the Workers send 'DeletedChunk' events. The default value is false. The value of that broker property gets send to worker as the 'workersSendDeletedChunkEvents' property in the Delete Task properties.
…vents in Broker from Workers
…th Archive in database
… into AdminDepositService
Collaborator
Author
|
Just pushed a fix - moved duplicated Delete Deposit code into AdminDepositService |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding code to allow for Delete Task in worker to delete each archive chunk in parallel.
TODO
DONE
Multi-Thread Deletes Implementation
Supported Scenarios:
when a chunk or non-chunk archive file is deleted - a DeletedChunk event will be sent to the Broker - it has the following:
written deposit-then-delete integration tests:
written deposit-unit-tests to help simulate and test errors at random chunks. These all use test-specific ArchiveStore test device to control when error occurs