summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-11-04 17:29:54 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-11-04 17:29:54 +0100
commitb2d69c172c3841430c7c8c1b8c79fafcba579680 (patch)
treede5ef5dcd193dae4170813765fb8f2a1b2819074 /action.c
parent9718fbbf0bae7fb1f9617b08d65087e433abe766 (diff)
downloadrsyslog-b2d69c172c3841430c7c8c1b8c79fafcba579680.tar.gz
rsyslog-b2d69c172c3841430c7c8c1b8c79fafcba579680.tar.bz2
rsyslog-b2d69c172c3841430c7c8c1b8c79fafcba579680.zip
put retry processing on hold but document what we already know about it
Diffstat (limited to 'action.c')
-rw-r--r--action.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/action.c b/action.c
index ed86d9da..abd8818e 100644
--- a/action.c
+++ b/action.c
@@ -1041,6 +1041,20 @@ static rsRetVal
actionCommit(action_t *pThis, wti_t *pWti, int *pbShutdownImmediate)
{
DEFiRet;
+// TODO: #warning do we really need to return something?
+ /* even more TODO:
+ This is the place where retry processing needs to go in. If the action
+ permanently fails, we should - as a new feature - add the capability to
+ write an error file. This is already done be omelasticsearch, and IMHO
+ pretty useful.
+ For the time being, I do NOT implement all of this (not even retry!)
+ as I want to get the rest of the engine to SISD (non-SIMD ;)) so that
+ I know any potential suprises and complications that arise out of this.
+ When this is done, I can come back here and complete this work. Obviously,
+ many features do not work in the mean time (but it is not planned to release
+ any of these partial implementations).
+ rgerhards, 2013-11-04
+ */
iRet = actionTryCommit(pThis, pWti, pbShutdownImmediate);
RETiRet;
}