Tasks #1035
Implement error handling subsystem
Status: | New | Start date: | 06/25/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | C++ | |||
Target version: | rsb-0.18 |
Related issues
Associated revisions
Terminate processing in case of receive error
Prevent 100% CPU load loops in ReceiverTask by stopping the task at the
first spread error. We do not recover at all.
This is more or less just a temporary workaround for a still missing
real solution for task #344 and #1035
Reviewed-by: Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
Use ErrorStrategy to handle receive errors
Use the new setErrorStrategy method in the InPushConnector interface to
obtain a user-specified wish on what to do in case of a receiver error.
Reviewed-by: Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
Add setErrorStrategy on InPushConnectors and call it
As a temporary solution for asynchronous receiving errors, use the
ParticipantConfig::ErrorStrategy. This can be specified by the user via
the configuration.
Reviewed-by: Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
Initial error handling in src/rsb/transport/spread/*Connector.{h,cpp}
refs #1035
- src/rsb/transport/spread/InConnector.{h,cpp} (InConnector::handleError):
new method; - src/rsb/transport/spread/InPushConnector.{h,cpp}
(InPushConnector::Handler::handleError): new method; delegate to
connector's handleError method
(InPushConnector::setErrorStrategy): removed method; handled by base
class
(InPushConnector::handleIncomingNotification): call handleError in
case of errors - src/rsb/transport/spread/InPullConnector.cpp (InPullConnector::raiseEvent):
delegate errors to handleError - src/rsb/transport/spread/ReceiverTask.{h,cpp} (includes): removed
unnecessary includes
(ReceiverTask::errorStrategy): removed; no longer needed
(ReceiverTask::ReceiverTask): do not initial errorStrategy member
variable
(ReceiverTask::setErrorStrategy): removed method; no longer needed
(ReceiverTask::execute): delete error handling to handler's
handleError method
History
#1 Updated by J. Moringen about 10 years ago
- Target version changed from rsb-0.9 to rsb-0.10
#2 Updated by J. Moringen over 9 years ago
- Target version changed from rsb-0.10 to rsb-0.11
#3 Updated by S. Wrede over 8 years ago
- Target version changed from rsb-0.11 to rsb-0.12
#4 Updated by J. Wienke about 8 years ago
- Target version changed from rsb-0.12 to rsb-0.13
#5 Updated by J. Moringen about 7 years ago
- Target version changed from rsb-0.13 to rsb-0.14
#6 Updated by J. Moringen about 7 years ago
- Target version changed from rsb-0.14 to rsb-0.15
#7 Updated by J. Moringen over 6 years ago
- Target version changed from rsb-0.15 to rsb-0.16
#8 Updated by J. Moringen about 6 years ago
- Target version changed from rsb-0.16 to rsb-0.17
#9 Updated by J. Moringen over 5 years ago
- Target version changed from rsb-0.17 to rsb-0.18