summaryrefslogtreecommitdiffstats
path: root/runtime/queue.h
Commit message (Collapse)AuthorAgeFilesLines
* solved design issue with queue terminationRainer Gerhards2009-05-261-0/+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.
* solved the intended-discard-during-dequeue issueRainer Gerhards2009-05-191-1/+1
|
* queue size calculation now based on logical/physical dequeueRainer Gerhards2009-05-191-1/+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.
* removed queue's UngetObj() callRainer Gerhards2009-05-181-6/+0
| | | | ... which is no longer needed thanks to the new queue design.
* t-delete list implemented, queue store drivers updated...Rainer Gerhards2009-05-181-5/+20
| | | | | | ... on the way to the ultra-reliable queue modes (redesign doc). This version does not really work, but is a good commit point. Next comes queue size calculation. DA mode does not yet work.
* moving to a cleaner implementation of batchesRainer Gerhards2009-05-121-2/+3
| | | | ... now that we know what we need from a theoretical POV.
* added $MainMsgQueueDequeueBatchSize and $ActionQueueDequeueBatchSize ↵Rainer Gerhards2009-04-231-1/+2
| | | | configuration directives
* now batches are handed down to the actual consumerRainer Gerhards2009-04-221-5/+4
| | | | | | ... but the action consumer does not do anything really intelligent with them. But the DA consumer is already done, as is the main message queue consumer.
* first attempt at dequeueing multiple batches inside the queueRainer Gerhards2009-04-221-1/+3
| | | | | | ... but this code has serious problems when terminating the queue, also it is far from being optimal. I will commit a series of patches (hopefully) as I am on the path to the final implementation.
* integrated various patches for solarisRainer Gerhards2009-03-051-25/+25
| | | | | | | | | Unfortunatley, I do not have the full list of contributors available. The patch set was compiled by Ben Taylor, and I made some further changes to adopt it to the news rsyslog branch. Others provided much of the base work, but I can not find the names of the original authors. If you happen to be one of them, please let me know so that I can give proper credits.
* added a setting "$OptimizeForUniprocessor"Rainer Gerhards2008-10-221-0/+1
| | | | | | ...to enable users to turn off pthread_yield calls which are counter-productive on multiprocessor machines (but have been shown to be useful on uniprocessors)
* begin building runtime convenience library (does not build!)Rainer Gerhards2008-04-151-0/+205