9 Commits

Author SHA1 Message Date
Rainer Gerhards
83140cb480 fixed regressions in testsuite due to imported changes from last merge
... also bumped version number
2009-11-05 15:04:24 +01:00
Rainer Gerhards
5625dbd1b6 bugfix and testbench improvements
- bugfix: solved potential (temporary) stall of messages when the queue was
  almost empty and few new data added (caused testbench to sometimes hang!)
- fixed some race condition in testbench
- added more elaborate diagnostics to parts of the testbench
- solved a potential race inside the queue engine
2009-10-07 18:40:30 +02:00
Rainer Gerhards
13d4a23e92 some more fixes for queue engine
The enhanced testbench now runs without failures, again
2009-05-28 14:24:37 +02:00
Rainer Gerhards
fc3e56941c fixing an issue during DA mode queue shutdown
also changed DA queue mode in that the regular workers now run
concurrently.
2009-05-28 11:57:30 +02:00
Rainer Gerhards
affa217cc2 adapted testbench to new capabilities
... and now make check fails again, we have obviously found some new
bugs thanks to the additional cases
2009-05-27 12:52:28 +02:00
Rainer Gerhards
aa9426f683 solved design issue with queue termination
... and also improved the test suite. There is a design issue in the
v3 queue engine that manifested to some serious problems with the new
processing mode. However, in v3 shutdown may take eternally if a queue
runs in DA mode, is configured to preserve data AND the action fails and
retries immediately. There is no cure available for v3, it would
require doing much of the work we have done on the new engine. The window
of exposure, as one might guess from the description, is very small. That
is probably the reason why we have not seen it in practice.
2009-05-26 12:43:43 +02:00
Rainer Gerhards
a4dad20099 queue size calculation now based on logical/physical dequeue
... needed to split the old single counter into two. I wouldn't bet that
I made some mistakes while doing so, but at least some ad-hoc tests plus
the testbench do no longer indicate errors.
2009-05-19 11:03:09 +02:00
Rainer Gerhards
8159d0a117 fixed abort condition in DA mode 2009-04-23 16:02:42 +02:00
Rainer Gerhards
50174408b0 added test for DA queue mode (in main msg queue) - needs more work
The problem is that the rsyslog engine writes messages too quickly, so
that the queue never enters DA mode. We still have some look contemption.
One possible solution (hopefully) is to finally move the parser code out
of imtcp and onto the next thread. Need to address these issues first, then
come back to the test case.
2009-04-22 18:37:56 +02:00