Commit Graph

26 Commits (ab345ab4fb67a4faff94b70d50ea8871f9230fbc)

Author SHA1 Message Date
Onder Kalaci ab345ab4fb Style fix 2020-04-08 10:13:42 +02:00
Onder Kalaci 9311b4b953 WIP handle node operations 2020-04-08 10:13:42 +02:00
Onder Kalaci b6b47370dc WIP on update/delete 2020-04-08 10:13:42 +02:00
Onder Kalaci ef49e8ba04 Improve readability 2020-04-08 10:13:42 +02:00
Onder Kalaci dd36dd2530 Remove useless check 2020-04-08 10:13:42 +02:00
Onder Kalaci dfe2354378 Some indentation/style fixes 2020-04-08 10:13:42 +02:00
Onder Kalaci e09811cfe0 When force_max_query_parallelization is enabled, do not wait 2020-04-08 10:13:42 +02:00
Onder Kalaci 7f578c9c68 citus_inden 2020-04-08 10:13:42 +02:00
Onder Kalaci b780b42c93 Rely on condition variable again 2020-04-08 10:13:42 +02:00
Onder Kalaci 8a123fb8e8 Add debug message, shorten sleep 2020-04-08 10:13:42 +02:00
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