-
Notifications
You must be signed in to change notification settings - Fork 10
remove the need for a double copy to minio #395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Neil South <[email protected]>
Signed-off-by: Neil South <[email protected]>
Signed-off-by: Neil South <[email protected]>
Signed-off-by: Neil South <[email protected]>
Signed-off-by: Neil South <[email protected]>
Codecov Report
@@ Coverage Diff @@
## develop #395 +/- ##
===================================================
+ Coverage 79.63869% 79.67717% +0.03848%
===================================================
Files 328 328
Lines 20647 20568 -79
Branches 955 950 -5
===================================================
- Hits 16443 16388 -55
+ Misses 3876 3858 -18
+ Partials 328 322 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Signed-off-by: Neil South <[email protected]>
Signed-off-by: Neil South <[email protected]>
@@ -190,25 +190,31 @@ public async Task GivenAPayload_WhenAllFilesAreMove_ExpectPayloadToBeAddedToNoti | |||
}); | |||
|
|||
var correlationId = Guid.NewGuid(); | |||
var file1 = new DicomFileStorageMetadata(correlationId.ToString(), Guid.NewGuid().ToString(), Guid.NewGuid().ToString(), Guid.NewGuid().ToString(), Guid.NewGuid().ToString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be worth declaring a ctor that can take GUID?
public DicomFileStorageMetadata(Guid associationId, Guid identifier, Guid studyInstanceUid, Guid seriesInstanceUid, Guid sopInstanceUid) : this(
associationId.ToString(),
identifier.ToString(),
studyInstanceUid.ToString(),
seriesInstanceUid.ToString(),
sopInstanceUid.ToString())
{ }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking at the code the only benefit for the above change would be the tests. so ....
This PR removes the ability to have the same instance in multiple payloads. |
Signed-off-by: Neil South <[email protected]>
We have ran some performance tests on this version and seen some significant improvements when sening the same data through (CT 326 slices). We are also seeing MinIO not reporting that we need to reduce our request rate which does sometimes leave the MIG is a broken state. Previous baseline tests for MIG:
New baseline tests for MIG:
|
@mocsharp Based on the above findings and that this appears to have increased the stability of the MIG when sending 300-500 slice payloads in quick succession, I'm going to merge this change in. We can revisit this again if the requirement you mention is asked for again. |
🎉 This issue has been resolved in version 0.3.21 🎉 The release is available on: |
Description
on a store request the gateway currently
saves to file locally,
saves to Minio temp folder
moved from temp folder to final destination
This branch skips the second step and saves directly to the final folder.
Status
Work in progress
Types of changes