summaryrefslogtreecommitdiffstats
path: root/tests/da-mainmsg-q.sh
Commit message (Collapse)AuthorAgeFilesLines
* fixed regressions in testsuite due to imported changes from last mergeRainer Gerhards2009-11-051-1/+3
| | | | ... also bumped version number
* bugfix and testbench improvementsRainer Gerhards2009-10-071-1/+1
| | | | | | | | - 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
* some more fixes for queue engineRainer Gerhards2009-05-281-3/+0
| | | | The enhanced testbench now runs without failures, again
* fixing an issue during DA mode queue shutdownRainer Gerhards2009-05-281-3/+5
| | | | | also changed DA queue mode in that the regular workers now run concurrently.
* adapted testbench to new capabilitiesRainer Gerhards2009-05-271-48/+18
| | | | | ... and now make check fails again, we have obviously found some new bugs thanks to the additional cases
* solved design issue with queue terminationRainer Gerhards2009-05-261-1/+1
| | | | | | | | | | | ... 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.
* queue size calculation now based on logical/physical dequeueRainer Gerhards2009-05-191-2/+2
| | | | | | ... 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.
* fixed abort condition in DA modeRainer Gerhards2009-04-231-1/+0
|
* added test for DA queue mode (in main msg queue) - needs more workRainer Gerhards2009-04-221-0/+63
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.