Track member status in Redis
This commit is contained in:
parent
15c0c1db39
commit
701960def5
2 changed files with 124 additions and 18 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