summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* adapted testbench to new capabilitiesRainer Gerhards2009-05-2713-102/+87
| | | | | ... and now make check fails again, we have obviously found some new bugs thanks to the additional cases
* Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-2720-222/+317
|\ | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh tests/imtcp-multiport.sh tests/manytcp.sh tests/memq-persist.sh
| * Merge branch 'diag'Rainer Gerhards2009-05-2720-217/+317
| |\
| | * fixed typoRainer Gerhards2009-05-271-3/+1
| | |
| | * greatly enhanced testbenchRainer Gerhards2009-05-2720-217/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | The imdiag module now can very effectively inject messages, which also frees us from uncertainties of tcp reception and processing. All shell script based tests have been modularized, what makes it far easier to create new tests. Also, the test bench now executes more reliable and much faster, because we can now rely on actual engine information where we previously did just a dumb sleep.
* | | solved design issue with queue terminationRainer Gerhards2009-05-2617-136/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... 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.
* | | fixing some minor nitsRainer Gerhards2009-05-253-4/+5
| | |
* | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-255-5/+98
|\| | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | Merge branch 'diag'Rainer Gerhards2009-05-254-1/+92
| |\|
| | * added test suite for persistent queue shutdownRainer Gerhards2009-05-254-1/+92
| | |
| * | updated project statusRainer Gerhards2009-05-251-4/+4
| |/
* | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-2510-17/+105
|\|
| * solved some issues with testbench & a race conditionRainer Gerhards2009-05-253-4/+15
| |
| * improved testbench / solved imdiag race conditionRainer Gerhards2009-05-258-14/+91
| | | | | | | | | | | | | | | | | | imdiag/imtcp had a modload race condition (as imdiag is a testing aid, this has no implications for production deployments). Also, I replaced netcat by a custom program to talk to imdiag. This, for the first time ever, is now a Java program. I plan to add some GUI troubleshooting tools and thought it is a good idea to start doing things in Java that can simply be done in that language.
* | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-254-62/+60
|\|
| * preparing for 4.3.1v4.3.1Rainer Gerhards2009-05-254-62/+60
| |
* | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-2522-83/+290
|\| | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh
| * added new testing module imdiagRainer Gerhards2009-05-2521-82/+289
| | | | | | | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
| * fixing some nits with the build systemRainer Gerhards2009-05-222-2/+2
| |
* | minor cleanup: remove compiler warningRainer Gerhards2009-05-221-1/+1
| |
* | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-2238-245/+606
|\| | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tests/Makefile.am tools/syslogd.c
| * added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-2238-221/+584
| | | | | | | | | | | | | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
| * made imdiag *just* compile & some cleanupRainer Gerhards2009-05-202-27/+26
| | | | | | | | | | | | imdiag was never finished (not even really begun), but now I need it. I made the few things that are available compile, but more serious work is required.
* | minor cleanupRainer Gerhards2009-05-201-5/+2
| |
* | added explicit (base) test for linkedList and FixedArray queue modesRainer Gerhards2009-05-205-1/+86
| |
* | free last processed message in all casesRainer Gerhards2009-05-206-68/+129
| | | | | | | | | | | | | | | | | | so far, the last processed message was only freed when the next one was processed. This has been changed now. More precisely, a better algorithm has been selected for the queue worker process, which also involves less overhead than the previous one. The fix for "free last processed message" as then more or less a side-effect (easy to do) of the new algorithm.
* | yield() no longer needed on uniproc thanks to new algorithmsRainer Gerhards2009-05-203-42/+8
| |
* | solved the intended-discard-during-dequeue issueRainer Gerhards2009-05-193-11/+19
| |
* | some cleanupRainer Gerhards2009-05-193-89/+1
| |
* | queue size calculation now based on logical/physical dequeueRainer Gerhards2009-05-194-51/+71
| | | | | | | | | | | | ... 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.
* | Merge branch 'master' into tmpRainer Gerhards2009-05-1912-76/+446
|\| | | | | | | | | Conflicts: tests/Makefile.am
| * updated ChangeLog with Michael Biebl's changesRainer Gerhards2009-05-191-1/+2
| |
| * Cleanup configure.ac a little for better readabilityMichael Biebl2009-05-191-32/+44
| | | | | | | | | | | | | | | | - Use 2 new lines as separator between configure options. - Remove forgotten copy&paste text. - Reorder and move template configure option to the end. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Improve ./configure outputMichael Biebl2009-05-191-28/+38
| | | | | | | | | | | | | | Improve readability of the ./configure output by grouping relevant entries and indenting them. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Rename want_gssapi_krb5 to enable_gssapi_krb5Michael Biebl2009-05-191-6/+6
| | | | | | | | | | | | | | Be consistent and rename the configure variable want_gssapi_krb5 to enable_gssapi_krb5. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Do not fail "make check" if omstdout is not enabledMichael Biebl2009-05-192-6/+7
| | | | | | | | | | | | | | | | | | Only run omod-if-array.sh and parsertest.sh test if omstdout plugin is enabled. Remove the comment and fix the help output for --enable-stdout (default was "no", not "yes") Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Fix compiler warningsMichael Biebl2009-05-193-0/+3
| | | | | | | | | | | | include <string.h> for memcpy and strlen. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Cleanup and typo fixesMichael Biebl2009-05-192-7/+3
| | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Add autogen.shMichael Biebl2009-05-191-0/+32
| | | | | | | | | | | | | | | | This file is useful for building rsyslog from git. It is a shortcut for autoreconf and ./configure and enables shave by default. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * Add shave supportMichael Biebl2009-05-195-0/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | shave tranforms the verbose autotools output into a pretty Kbuild-like one which makes it easier to spot warnings. See also http://damien.lespiau.name/blog/2009/02/18/shave-making-the-autotools-output-sane/ git clone git://git.lespiau.name/shave By default, shave is disabled and you have to explicitly enable it via ./configure --enable-shave. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | removed queue's UngetObj() callRainer Gerhards2009-05-183-109/+15
| | | | | | | | ... which is no longer needed thanks to the new queue design.
* | t-delete list implemented, queue store drivers updated...Rainer Gerhards2009-05-187-60/+342
| | | | | | | | | | | | ... 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.
* | worked more on the design documentRainer Gerhards2009-05-155-29/+205
| |
* | worked on rsyslog design document (queue design enhancement)Rainer Gerhards2009-05-145-6/+218
| |
* | moved user object destruction to queue itselfRainer Gerhards2009-05-134-6/+38
| | | | | | | | | | | | So far, the consumer was responsible for destroying objects. However, this does not work well with ultra-reliable queues. This is the first move to support them.
* | added test for property replacer field functionality to testbenchRainer Gerhards2009-05-133-5/+16
| | | | | | | | plus some cosmetic changes
* | action batch processing implementedRainer Gerhards2009-05-123-25/+136
| | | | | | | | ... passed initial tests, but of course more are needed
* | one astrisk too much - and we have a segfault... - fixed ;)Rainer Gerhards2009-05-121-1/+1
| |
* | moving to a cleaner implementation of batchesRainer Gerhards2009-05-1210-60/+132
| | | | | | | | ... now that we know what we need from a theoretical POV.
* | Merge branch 'master' into multi-dequeueRainer Gerhards2009-05-1215-60/+593
|\| | | | | | | | | Conflicts: runtime/rsyslog.h