21 Commits

Author SHA1 Message Date
6e04e7a14d Log an all-clear message once when all instances are alive 2017-08-11 14:50:24 +02:00
c0dd3265d2 Abort if we have not seen ourself alive for the past x minutes (defaults to 5) 2017-06-02 12:20:50 +02:00
353fd339fc Modify vagus dead/alive log slightly 2017-06-01 15:14:19 +02:00
9f3de50ad2 Add debug vagus log (config). Change some vague log to info instead 2017-06-01 13:49:47 +02:00
930a105677 Set thread-name for vaugs-poll thread, otherwise it inherits the name 'main' which just confuses 2017-05-26 17:14:11 +02:00
97fe2f55c1 vagus: log if there are dead instances 2017-05-26 14:41:14 +02:00
5790b7f7db Renamed HostRuntimeInformation::m_flagsValid to m_valid 2017-05-05 14:18:40 +02:00
edb2423c5a moved PingInfo::m_repairMode and logic form PingServer to Hostdb+Repair.cpp 2017-05-05 14:05:01 +02:00
de1a28f958 Dont pthread_join if vagus is disabled 2017-05-05 12:10:15 +02:00
7e7db15f5d Moved hosts.conf CRC info and check from PingServer to Hostdb+vagus 2017-05-04 17:58:19 +02:00
e6d7f1a401 Moved PingINfo::m_totalDocsIndexed to Host::RuntimeHostInformation 2017-05-04 16:18:49 +02:00
63ed7b6351 Moved some fields originating from PingInfo from Host to HostRuntimeInformation 2017-05-04 16:18:49 +02:00
4d7aeb221a Moved PingInfo::m_gbVersionStr to Host:: 2017-05-04 15:01:55 +02:00
aab478e6d6 Moved PingInfo::m_dailyMergeCollnum to Host:: 2017-05-04 14:53:23 +02:00
61dc9e4573 Keep our own Host::m_flags up-to-date 2017-05-04 14:37:19 +02:00
5a78eac74f Moved PingInfo::m_flags to Host
Also moved responsibility of updating it from PingServer to Vagus client
2017-05-04 14:01:10 +02:00
8f19577d8f Use Vagus for detecting dead instances
Vagus is now required for multi-instance installations.
2017-05-04 12:06:19 +02:00
f6b209f1ca Don't talk to Vagus if only 1 host is configured i hosts.conf 2017-05-04 11:48:34 +02:00
5343035fd7 Back off reconnecting to Vagus 2017-05-02 12:13:57 +02:00
0e1120eec7 Removed parameter from InstanceInfoExchange::weAreAlive() 2017-05-02 11:57:22 +02:00
d3ecbda478 Use Vagus for some host/instnace information
hosts.conf CRC and total_docs_indexed is now exchanged over Vagus. rest will follow in separate commits.
The vagus cluster identifier defaults to "gb-"$USER
2017-05-01 17:21:34 +02:00