summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-27 10:00:23 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-27 10:00:23 +0100
commit24cd5aee4720a98e321b69d2d9b5948348abd571 (patch)
treeeae0e6eea3bc9fde8ef1bcd86d68e128ae8fafc5 /tests
parenta5cddbdbce76f14b4216aa74698bbc168ca5409f (diff)
downloadrsyslog-24cd5aee4720a98e321b69d2d9b5948348abd571.tar.gz
rsyslog-24cd5aee4720a98e321b69d2d9b5948348abd571.tar.xz
rsyslog-24cd5aee4720a98e321b69d2d9b5948348abd571.zip
fixed race condition during queue shutdown
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.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/daqueue-persist-drvr.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/daqueue-persist-drvr.sh b/tests/daqueue-persist-drvr.sh
index c44ce6f8..7934eb2b 100755
--- a/tests/daqueue-persist-drvr.sh
+++ b/tests/daqueue-persist-drvr.sh
@@ -8,8 +8,8 @@
echo \[daqueue-persist-drvr.sh\]: testing memory daqueue persisting to disk, mode $1
source $srcdir/diag.sh init
-export RSYSLOG_DEBUG="debug nologfuncflow nostdout noprintmutexaction"
-export RSYSLOG_DEBUGLOG="log"
+#export RSYSLOG_DEBUG="debug nologfuncflow nostdout noprintmutexaction"
+#export RSYSLOG_DEBUGLOG="log"
# prepare config
echo \$MainMsgQueueType $1 > work-queuemode.conf