-
Notifications
You must be signed in to change notification settings - Fork 27
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
Revert partially constructed segments on-error in segment init function #434
base: branch-24.10
Are you sure you want to change the base?
Revert partially constructed segments on-error in segment init function #434
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked, the classes which implement on_complete
are:
mrc::node::NodeComponent
CallsSourceProperties<OutputT>::release_edge_connection();
anddo_on_complete
which is unimpl in the basemrc::node::RouterBase
callsMultiSourceProperties<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
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.
|
Description
inner_edge
held by theForwardingEgressProvider
is disconnected.~EdgeHolder
toLOG(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