Commit Graph

16 Commits (3961f4517ba8b2325e4637c77694d405766e03e3)

Author SHA1 Message Date
Onder Kalaci 3961f4517b Revert "Use condition variable instead of sleep"
This reverts commit bc282e8ee53b78cb4c88c6e10ccc00b5da11898a.
2020-04-08 10:13:42 +02:00
Onder Kalaci 96613c6b2b Use condition variable instead of sleep 2020-04-08 10:13:42 +02:00
Onder Kalaci cd4b9fd004 Minor refactoring 2020-04-08 10:13:42 +02:00
Onder Kalaci 7bff12571d Implement master_update_node 2020-04-08 10:13:42 +02:00
Onder Kalaci 452d0b1dcf Add more tests 2020-04-08 10:13:42 +02:00
Onder Kalaci 72a3e1df29 Add the first set of regression tests 2020-04-08 10:13:42 +02:00
Onder Kalaci 3d242ff5f9 Use LwLocks again 2020-04-08 10:13:42 +02:00
Onder Kalaci 593a3be1a3 Properly implement retry timeout 2020-04-08 10:13:42 +02:00
Onder Kalaci bed023c03d Add the GUC for MaxSharedPoolSize 2020-04-08 10:13:42 +02:00
Onder Kalaci 34dec931f4 Remove MaxTrackedWorkerNodes use MaxWorkerNodesTracked 2020-04-08 10:13:42 +02:00
Onder Kalaci 188e571d3c Replace LwLock with spinLock 2020-04-08 10:13:42 +02:00
Onder Kalaci ebb0ebc3c8 Naive implementation for Optional connection concept 2020-04-08 10:13:42 +02:00
Onder Kalaci a385c44f15 Naive implementation for Optional connection concept 2020-04-08 10:13:42 +02:00
Onder Kalaci 66e7b822aa Basic implementation for TryIncrementSharedConnectionCounter 2020-04-08 10:13:42 +02:00
Onder Kalaci 22c0f2a8cd Add citus_remote_connection_stats() function
This function is intended to be used for monitoring
the remote connections.
2020-04-08 10:13:42 +02:00
Onder Kalaci 4d00dc94f8 Add the necessary shared memory infrastructure
- The hashmap in the shared memory
- The lock to access the hashmap
- The GUC to control the size
2020-04-08 10:13:42 +02:00