summaryrefslogtreecommitdiffstats
path: root/queue.c
Commit message (Collapse)AuthorAgeFilesLines
...
* implemented dynamic startup and shutdown of worker threads based on currentRainer Gerhards2008-01-161-117/+207
| | | | activity
* cleaned up queue disk startupRainer Gerhards2008-01-161-28/+32
|
* queue is now able to restore persisted state on startup (but still someRainer Gerhards2008-01-161-42/+174
| | | | fine tuning to be done)
* first shot at queue restore on startup, but could not finish before I needRainer Gerhards2008-01-151-1/+62
| | | | to leave ;)
* improved shutdown processing - in-memory queue is now drained to diskRainer Gerhards2008-01-151-5/+31
|
* changed startup of disk assisted mode to allow for higher concurrency, mostRainer Gerhards2008-01-151-121/+155
| | | | | | importantly allow the input to continue enqueue msgs while the disk queue is initialized. This may help somewhat with UDP and other lossy sources
* disk assisted queue works quite well, except for startup from disk queueRainer Gerhards2008-01-151-28/+204
|
* some more work on disk assisted mode (still not complete)Rainer Gerhards2008-01-141-2/+48
|
* begin disk assisted queue memory queue modes (not fully implemented yet)Rainer Gerhards2008-01-141-42/+256
|
* - implemented $MainMsgQueueDiscardMark == 0 --> disable Discard logicRainer Gerhards2008-01-141-3/+6
| | | | - implemented $MainMsgQueueSize == 0 --> no limit on queue size
* also implemented $MainMsgQueueDiscardMark logic on dequeue, changedRainer Gerhards2008-01-141-9/+19
| | | | defaults
* implemented $MainMsgQueueDiscardMar and $MainMsgQueueDiscardSeverity (butRainer Gerhards2008-01-141-2/+19
| | | | serverity needs to be specified numerically for the time being)
* optimized codeRainer Gerhards2008-01-141-3/+4
|
* - implemented config file handlers forRainer Gerhards2008-01-141-0/+4
| | | | | | | | $MainMsgQueueHighWaterMark $MainMsgQueueLowWaterMark $MainMsgQueueDiscardMark $MainMsgQueueDiscardSeverity but did NOT yet implement the functionality behind these directives!
* removed $MainMsgQueueImmediateShutdown config directive and handling, thisRainer Gerhards2008-01-141-1/+0
| | | | | has been superseeded by the Timeout params. Backward compatibility is no concern, no version with that directive was ever released.
* - implemented $MainMsgQueueTimeoutActionCompletion config directiveRainer Gerhards2008-01-141-42/+82
| | | | | | - implemented $MainMsgQueueTimeoutEnqueue config directive - implemented $MainMsgQueueTimeoutShutdown config directive - some cleanup
* worker shutdown sequence enhanced to try different ways to shut down andRainer Gerhards2008-01-141-31/+111
| | | | | terminate workers if none helps (this protects against badly written output plugins which hold the queue for too long)
* changed queue shutdown procedure a bit - stage work for queue shutdownRainer Gerhards2008-01-131-9/+6
| | | | timeout setting
* added $MainMsgQueuePersistUpdateCount config file directiveRainer Gerhards2008-01-131-4/+45
|
* support for reading back persistet queue information completedRainer Gerhards2008-01-131-99/+154
|
* partial ability to read a disk queue back in (not completed, but would likeRainer Gerhards2008-01-111-2/+69
| | | | to save source for the weekend)
* support for de-serializing strm objects addedRainer Gerhards2008-01-111-1/+27
|
* added function to de-serialize a property bag (untested as other code isRainer Gerhards2008-01-111-2/+0
| | | | yet missing)
* queue can now persist disk queue information on immediate shutdownRainer Gerhards2008-01-111-1/+15
|
* support for object property bags addedRainer Gerhards2008-01-111-0/+17
|
* file stream objects are now persistet on immediate queue shutdown (queueRainer Gerhards2008-01-111-2/+88
| | | | itself is not yet fully persisted)
* added $MainMsgQueueImmediateShutdown config directiveRainer Gerhards2008-01-111-9/+4
|
* - begun to permit queue to terminate without being drainedRainer Gerhards2008-01-111-46/+47
| | | | | | - fixed a starvation condition in queueWorker (pthread_yield() was needed) could not be seen with any previously released code, came up during new development
* - some cleanupRainer Gerhards2008-01-101-31/+97
| | | | | - implemented management function for worker thread 0 in order to change queue workers dynamically -- stage work
* - implemented strm object serializer (untested as the code required forRainer Gerhards2008-01-101-5/+0
| | | | test is not yet present - hen/egg problem...)
* - fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1aRainer Gerhards2008-01-101-4/+13
| | | | | | was specified in rsyslog.conf - fixed a bug that caused a segfault on queues with types other than "disk" - removed the now longer needed thread TermSyncTool
* changed some config parameters and some cleanupRainer Gerhards2008-01-101-3/+3
|
* - added write functions for several types to stream classRainer Gerhards2008-01-101-4/+5
| | | | - changed objSerialize methods to work directly on the stream class
* added buffered output to stream classRainer Gerhards2008-01-101-1/+4
|
* changed queue file name generation (to be more generic)Rainer Gerhards2008-01-101-0/+9
|
* some cleanup on object modelRainer Gerhards2008-01-091-33/+5
|
* changed queue class to use stream classRainer Gerhards2008-01-091-229/+18
|
* created a generic stream class (for file access)Rainer Gerhards2008-01-091-9/+2
|
* implemented queue object method to set the file name prefixRainer Gerhards2008-01-091-15/+45
|
* - implemented new GetSize() handler for config filesRainer Gerhards2008-01-091-3/+29
| | | | - implemented $MainMsgQueueMaxFileSize configuration directive
* - first implementation of "disk" queue mode finished. It still needs someRainer Gerhards2008-01-081-10/+27
| | | | | | | work and the deserializer needs also to be expanded, but the queue at least performs well now. - fixed a race condition that could occur when input modules were terminated
* implemented queue disk reader to switch to multiple filesRainer Gerhards2008-01-081-29/+30
|
* fixed some memory leaks in new code -- thanks to varmojfekoj for the patchRainer Gerhards2008-01-081-0/+1
|
* worked a bit more on the queue, disk dequeing part (not complete yet)Rainer Gerhards2008-01-071-3/+13
|
* - MsgSetProperty() implementedRainer Gerhards2008-01-071-9/+41
| | | | | - defined a property class - implemented deserializer (needs some more work)
* implemented class type registryRainer Gerhards2008-01-071-1/+0
|
* implemented buffered read calls for the queue fileRainer Gerhards2008-01-071-20/+104
|
* implemented disk queue as far as I could without an object de-serializerRainer Gerhards2008-01-071-18/+111
|
* worked on object header (now also contains the size)Rainer Gerhards2008-01-061-4/+4
|
* worked a bit on object serializationRainer Gerhards2008-01-061-3/+3
|