6 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
c5408da3d8 new queue engine - initial commit (probably not 100% working!)
simplified and thus speeded up the queue engine, also fixed some
potential race conditions (in very unusual shutdown conditions)
along the way. The threading model has seriously changes, so there may
be some regressions.

NOTE: the code passed basic tests, but there is still more work
and testing to be done. This commit should be treated with care.
2009-10-14 11:01:21 +02: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
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
8088f9b01a added explicit (base) test for linkedList and FixedArray queue modes 2009-05-20 16:08:23 +02:00