Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV-401 fix race condition in multipart upload and refactor test
The counter variable being used in Manager Namespace() member variable was being passed into each process, and the update was not being synchronized among the processes, causing the completed variable to be incorrect sporadically. There doesn't seem to be any need for the manager namepsace, as we already wait for all futures to return before iterating through the results.
- Loading branch information
Showing
2 changed files
with
25 additions
and
48 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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