summaryrefslogtreecommitdiffstats
path: root/tests/daqueue-persist-drvr.sh
Commit message (Collapse)AuthorAgeFilesLines
* fixed race condition during queue shutdownRainer Gerhards2009-10-271-2/+2
| | | | | | | | Problems could happen if the queue worker needed to be cancelled and this cancellation happened inside queue-code (including wtp, wti). We have now solved this by disabling cancellation while in this code and only enabling it when working inside the user consumer. This exactly matches the use case for which cancellation may be needed.
* addressed some race issues during queue shutdownRainer Gerhards2009-10-261-2/+2
| | | | | | | these occured in very unusual scenarios where we had a DA-queue running in parallel and very lengthy actions. Then, in some situations, the shutdown could hang. The code needs some addition lab time, but is believed to be much better than any previous version.
* implemented solution for cancel at shutdown/unprocessed entriesRainer Gerhards2009-10-261-2/+2
| | | | | We do now enqueue those objects that are left unprocessed. This enables us to delete the full batch, what is exactly what we need to do.
* Begun to work on partial batch deletes...Rainer Gerhards2009-10-221-1/+4
| | | | | | | | ... but this brings a lot of problems with it. The issue is that we still have a sequential store and we do not know how we could delete the one entry right in the middle of processing. I keep this branch if we intend to move on with it - but for now I look into a different solution...
* improved testbenchRainer Gerhards2009-10-211-1/+1
| | | | | - added a test to check handling of damaged .qi files on startup - made sure each test identifies itself on startup
* bugfix (testbench): left-over from manual test removedRainer Gerhards2009-10-211-7/+0
|
* bugfix: message processing states were not set correctly in all casesRainer Gerhards2009-10-191-4/+4
| | | | | | however, this had no negative effect, as the message processing state was not evaluated when a batch was deleted, and that was the only case where the state could be wrong.
* new queue engine - initial commit (probably not 100% working!)Rainer Gerhards2009-10-141-3/+6
| | | | | | | | | | 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.
* added some debug settings plus improved shutdown sequenceRainer Gerhards2009-10-131-0/+6
| | | | ... non-working version!
* bugfix and testbench improvementsRainer Gerhards2009-10-071-0/+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-1/+0
| | | | The enhanced testbench now runs without failures, again
* interim commit: working on failure casesRainer Gerhards2009-05-271-0/+3
| | | | slightly improved situation, would like to save it before carrying on
* adapted testbench to new capabilitiesRainer Gerhards2009-05-271-0/+28
... and now make check fails again, we have obviously found some new bugs thanks to the additional cases