CLDSRV-864: add an error listener to TrailingChecksumTransform#6092
Conversation
Hello leif-scality,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Incorrect fix versionThe
Considering where you are trying to merge, I ignored possible hotfix versions and I expected to find:
Please check the |
|
LGTM |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
... and 4 files with indirect coverage changes @@ Coverage Diff @@
## development/9.4 #6092 +/- ##
================================================
Coverage 84.38% 84.39%
================================================
Files 206 206
Lines 13328 13329 +1
================================================
+ Hits 11247 11249 +2
+ Misses 2081 2080 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
| } | ||
|
|
||
| const trailingChecksumTransform = new TrailingChecksumTransform(log); | ||
| trailingChecksumTransform.on('error', err => errCb(err)); |
There was a problem hiding this comment.
| trailingChecksumTransform.on('error', err => errCb(err)); | |
| trailingChecksumTransform.on('error', errCb); |
This should work
37db0c9 to
137bb7b
Compare
|
LGTM |
| } | ||
|
|
||
| function stripTrailingChecksumStream(stream, log) { | ||
| function stripTrailingChecksumStream(stream, log, errCb) { |
There was a problem hiding this comment.
I see multiple transform streams and pipes. To simplify piping through multiple streams and ensure error propagation and cleanup, we could use stream.pipeline.
…vent unhandled exceptions
137bb7b to
684682c
Compare
|
LGTM |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
Queue build failedThe corresponding build for the queue failed:
Remove the pull request from the queue
|
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue CLDSRV-864. Goodbye leif-scality. |
Cloudserver crashes if TrailingChecksumTransform encounters an error because an exception is thrown. The fix is to add a error listener to the TrailingChecksumTransform.
Crash trace: