icinga2/lib/base
Michael Friedrich 78e24c53f1 DB IDO: Do not deactivate objects during application reload/restart
This follows the same principle as with the shutdown handler,
and was introduced with the changed reload handling with 2.9.
Previously IsShuttingDown() was sufficient which got set at one
location.

SigUsr2 as handler introduced a new location where m_ShuttingDown
is not necessarily set yet. Since this handler gets called when
l_Restarting is enabled, we'll use this flag to avoid config update
events resulting in object deactivation (object->IsActive() always
returns false).

refs #5996
refs #6691
refs #6970

fixes #7125
2019-05-03 15:40:48 +02:00
..
CMakeLists.txt Implement basic I/O engine 2019-04-01 11:40:14 +02:00
application-environment.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
application-version.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
application.cpp DB IDO: Do not deactivate objects during application reload/restart 2019-05-03 15:40:48 +02:00
application.hpp DB IDO: Do not deactivate objects during application reload/restart 2019-05-03 15:40:48 +02:00
application.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
array-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
array.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
array.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base64.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
base64.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
boolean-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
boolean.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
boolean.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
configobject-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
configobject.cpp Replace _unlink() + rename() with boost::filesystem::rename() 2019-04-25 09:53:02 +02:00
configobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
configobject.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
configtype.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
configtype.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
configuration.cpp Fix that MaxConcurrentChecks constant is overridden from 'checker' feature 2019-04-16 15:04:57 +02:00
configuration.hpp Fix that MaxConcurrentChecks constant is overridden from 'checker' feature 2019-04-16 15:04:57 +02:00
configuration.ti Fix that MaxConcurrentChecks constant is overridden from 'checker' feature 2019-04-16 15:04:57 +02:00
configwriter.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
configwriter.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
console.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
console.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
context.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
context.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
convert.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
convert.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
datetime-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
datetime.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
datetime.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
datetime.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
debug.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
debuginfo.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
debuginfo.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
defer.hpp Defer: ensure not to throw any exceptions out of a destructor 2019-03-01 14:29:35 +01:00
dependencygraph.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
dependencygraph.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
dictionary-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
dictionary.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
dictionary.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
exception.cpp Fix circular #include 2019-04-25 08:25:28 +02:00
exception.hpp Fix circular #include 2019-04-25 08:25:28 +02:00
fifo.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
fifo.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
filelogger.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
filelogger.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
filelogger.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
function-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
function.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
function.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
function.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
functionwrapper.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
i2-base.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
initialize.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
initialize.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
io-engine.cpp Introduce AsioConditionVariable 2019-04-01 13:31:16 +02:00
io-engine.hpp io-engine.hpp: fix missing namespace 2019-04-01 13:31:16 +02:00
json-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
json.cpp Make buildable with VS 2017 2019-03-18 15:07:57 +01:00
json.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
lazy-init.hpp Implement LazyInit<T> 2019-04-01 11:40:14 +02:00
library.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
library.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
loader.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
loader.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
logger.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
logger.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
logger.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
math-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
namespace-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
namespace.cpp Namespace: place ObjectLock in all methods 2019-04-16 17:38:58 +02:00
namespace.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
netstring.cpp Add non-async overloads for NetString::ReadStringFromStream() and NetString::WriteStringToStream() 2019-04-01 17:11:10 +02:00
netstring.hpp Add non-async overloads for NetString::ReadStringFromStream() and NetString::WriteStringToStream() 2019-04-01 17:11:10 +02:00
networkstream.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
networkstream.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
number-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
number.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
number.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
object-packer.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
object-packer.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
object-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
object.cpp Buildfix 2019-04-24 12:10:57 +02:00
object.hpp Make Object#m_Mutex std::recursive_mutex 2019-04-17 18:26:29 +02:00
objectlock.cpp Make Object#m_Mutex std::recursive_mutex 2019-04-17 18:26:29 +02:00
objectlock.hpp Make Object#m_Mutex std::recursive_mutex 2019-04-17 18:26:29 +02:00
objecttype.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
objecttype.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
perfdatavalue.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
perfdatavalue.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
perfdatavalue.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
primitivetype.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
primitivetype.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
process.cpp Merge pull request #7000 from Icinga/bugfix/goto-loop 2019-04-03 09:46:17 +02:00
process.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
reference-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
reference.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
reference.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
registry.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
ringbuffer.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
ringbuffer.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
scriptframe.cpp Merge pull request #6999 from Icinga/bugfix/compiler-warnings 2019-03-18 08:44:30 +01:00
scriptframe.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
scriptglobal.cpp Merge pull request #7102 from Icinga/feature/boost-fs-7101 2019-04-25 15:53:55 +02:00
scriptglobal.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
scriptutils.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
scriptutils.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
serializer.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
serializer.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
singleton.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
socket.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
socket.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
socketevents-epoll.cpp Fix circular #include 2019-04-25 08:25:28 +02:00
socketevents-poll.cpp Fix circular #include 2019-04-25 08:25:28 +02:00
socketevents.cpp Fix circular #include 2019-04-25 08:25:28 +02:00
socketevents.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
stacktrace.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
stacktrace.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
statsfunction.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
stdiostream.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
stdiostream.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
stream.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
stream.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
streamlogger.cpp StreamLogger#BindStream(): set #m_FlushLogTimer only if needed 2019-04-24 11:47:02 +02:00
streamlogger.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
streamlogger.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
string-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
string.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
string.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
stringbuilder.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
stringbuilder.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
sysloglogger.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
sysloglogger.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
sysloglogger.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
tcpsocket.cpp Don't require OS headers to provide SO_REUSEPORT 2019-02-26 11:25:44 +01:00
tcpsocket.hpp Connect(): add non-async overload 2019-04-01 17:11:09 +02:00
threadpool.cpp ThreadPool: use the Boost ASIO thread pool under the hood 2019-04-25 08:25:28 +02:00
threadpool.hpp Fix preprocessor macro comment 2019-04-25 08:25:28 +02:00
timer.cpp Timer::TimerThreadProc(): use C++11 lambda instead of bind() 2019-04-24 11:51:17 +02:00
timer.hpp Fix for double-free (and possibly other memory-corruption related) crashes at logrotate time 2019-04-24 11:42:54 +02:00
tlsstream.cpp Introduce UnbufferedAsioTlsStream#GetPeerCertificate() 2019-04-01 17:11:09 +02:00
tlsstream.hpp Merge pull request #7134 from Icinga/feature/boost-asio-influxdbwriter 2019-04-23 14:31:42 +02:00
tlsutility.cpp Make ApiListener#m_SSLContext a Boost ASIO SSL context 2019-04-01 11:40:14 +02:00
tlsutility.hpp Make ApiListener#m_SSLContext a Boost ASIO SSL context 2019-04-01 11:40:14 +02:00
type.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
type.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
typetype-script.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
unix.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
unixsocket.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
unixsocket.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
utility.cpp Replace unlink() with boost::filesystem::remove() 2019-04-25 09:53:02 +02:00
utility.hpp Replace unlink() with boost::filesystem::remove() 2019-04-25 09:53:02 +02:00
value-operators.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
value.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
value.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
win32.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
workqueue.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
workqueue.hpp Improve DB IDO HA failover behaviour 2019-04-01 08:50:00 +02:00