-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made the parallel downloads go routines running without synchronizati…
…on (#2287) * made the parallel go routines running without synchronization # Conflicts: # internal/cache/file/downloader/parallel_downloads_job.go * added print statement * fixing tests # Conflicts: # internal/cache/file/downloader/jm_parallel_downloads_test.go * added changes to update the marker file * reverting the test change * fixing the test * Fixing the integration tests * Fixing the test * releasign the goroutine * fixing tests # Conflicts: # internal/cache/file/downloader/jm_parallel_downloads_test.go * Code review comments * comments fixed * Added unit tests for updateRangeMap method * code review comments * code review comments * changed to require * code review comments * adding comment for public struct
- Loading branch information
1 parent
187ffae
commit 5cdab7a
Showing
6 changed files
with
278 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package data | ||
|
||
// ObjectRange specifies the range within the gcs object. | ||
type ObjectRange struct { | ||
Start int64 | ||
End int64 | ||
} |
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
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
Oops, something went wrong.