summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLuis Fernando Muñoz Mejías <Luis.Fernando.Munoz.Mejias@cern.ch>2009-04-28 21:14:53 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-29 17:10:19 +0200
commit9823c73d1d07e50e6bec7f7c02c88d61d6955526 (patch)
treefe45b83508fb906ae79163849b5d62937ad39b88 /tools
parentc35ce31aed4d873ed9564332374fbf82d7ff187d (diff)
downloadrsyslog-9823c73d1d07e50e6bec7f7c02c88d61d6955526.tar.gz
rsyslog-9823c73d1d07e50e6bec7f7c02c88d61d6955526.tar.xz
rsyslog-9823c73d1d07e50e6bec7f7c02c88d61d6955526.zip
Make it recover from errors on insertions.
If the database rejected some entry, making the statement fail on it, the batch was not cleaned and the same values were retried over and over, causing a cascade of failures and a denial of service. We use now OCI_BATCH_ERRORS so that everything valid in the batch is inserted, and rejected values can be discarded.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions