Revert partially constructed segments on-error in segment init function#434
Revert partially constructed segments on-error in segment init function#434dagardner-nv wants to merge 31 commits intonv-morpheus:branch-24.10from
Conversation
…n loaded and added to the segment [no ci]
…n on MRC issue nv-morpheus#360 [no ci]
…odules.[c|h]pp and are not referenced in any cmake scripts. Likely these were just forgotten to be deleted in a previous refactor [no ci]
…y only of use to MRC developers and is of little use to downstream users [no ci]
…al in debug builds, add a regex match for the specific error
…de or a thrown exception in release mode, update existing tests which are currently triggering a LOG(FATAL) in debug mode
…y-file-generator to env
| if (!(state->m_is_destroyed)) | ||
| { | ||
| // Only call the on_complete if we have been connected and `this` is still alive | ||
| this->on_complete(); |
There was a problem hiding this comment.
Need to see if there are any implementations of on_complete. If there arent, then we should just scrap the disconnector and remove the state and mutex changes.
There was a problem hiding this comment.
I checked, the classes which implement on_complete are:
mrc::node::NodeComponentCallsSourceProperties<OutputT>::release_edge_connection();anddo_on_completewhich is unimpl in the basemrc::node::RouterBasecallsMultiSourceProperties<KeyT, output_data_t>::release_edge_connections();
do_on_complete in turn is used by LambdaNodeComponent to call m_on_complete_fn if defined.
…inconsistent-segments-and-edges-p2
…inconsistent-segments-and-edges-p2
…inconsistent-segments-and-edges-p2
…inconsistent-segments-and-edges-p2
* Replace the `DCHECK_LE` in the `ReusableFiberEngineFactory` class with an if/throw. * Update `~EdgeHolder` to `LOG(DFATAL)`. The thinking here is that this error is only of use to MRC developers and not of use to downstream users (Borrowed from PR #434). Authors: - David Gardner (https://github.com/dagardner-nv) Approvers: - Will Killian (https://github.com/willkill07) URL: #547
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## branch-24.10 #434 +/- ##
================================================
+ Coverage 74.07% 74.16% +0.09%
================================================
Files 403 403
Lines 14401 14471 +70
Branches 1132 1137 +5
================================================
+ Hits 10668 10733 +65
- Misses 3733 3738 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 5 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Description
inner_edgeheld by theForwardingEgressProvideris disconnected.~EdgeHoldertoLOG(FATAL)in debug mode,LOG(ERROR)otherwise. The thinking here is that this error is only of use to MRC developers and not of use to downstream users.Closes #360
Checklist