Track member status in Redis
This commit is contained in:
parent
ee91c81799
commit
b637ced1ee
2 changed files with 123 additions and 17 deletions
|
@ -70,6 +70,10 @@ private:
|
|||
|
||||
void commitThread();
|
||||
void onlineNotificationThread();
|
||||
void onlineNotification_Postgres();
|
||||
void onlineNotification_Redis();
|
||||
void _doRedisUpdate(sw::redis::Transaction &tx, std::string &controllerId,
|
||||
std::unordered_map< std::pair<uint64_t,uint64_t>,std::pair<int64_t,InetAddress>,_PairHasher > &lastOnline);
|
||||
|
||||
enum OverrideMode {
|
||||
ALLOW_PGBOUNCER_OVERRIDE = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue