re-work some FDIR logic #172
No reviewers
Labels
No Label
api change
breaking api change
bug
documentation
duplicate
feature
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: eive/fsfw#172
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "improve-dev-fdir"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Please check if it is ok to trigger events during fdirState == NONE.
@ -186,15 +191,6 @@ void DeviceHandlerFailureIsolation::setFdirState(FDIRState state) {
fdirState = state;
}
void DeviceHandlerFailureIsolation::triggerEvent(Event event, uint32_t parameter1,
Is this function not called or why remove it?
If the base function is used instead, events will get triggered during recoveries which might break stuff.
Aren't FDIR reactions ignored if the FDIR is active? Also, aren't there cases where I'd at least want to see the events even if the FDIR is active?
I don't know for sure. what will happen if another event is triggered during recoveries. For now it seems ok as the FDIR does not react. Although, higher level FDIRs will react if the system has any.
Have you watched any events during testing while in recovery? it might filter event spam.
I think this should be fine.. isn't is a configuration error if a device throws tons of unexpected events for reboot handling or when being faulty? I tested this for EIVE and did not receive any unexpected event spam so far.
You mean events with severity higher than INFO while the FDIR is IDLE? This was already tested.