You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-4337 Controllernode now tries to establish connections to
all workernodes when initialising There is a new corresponding XML config options DBRM_Controller.WorkerConnectionTimeout that controls how long controllernode waits for wns before it proceeds
This commit is contained in:
@ -81,6 +81,8 @@ namespace BRM
|
||||
* \endcode
|
||||
*/
|
||||
|
||||
constexpr size_t connectTimeoutStep = 50000;
|
||||
|
||||
class MasterDBRMNode
|
||||
{
|
||||
public:
|
||||
@ -140,6 +142,13 @@ public:
|
||||
{
|
||||
return readOnly;
|
||||
}
|
||||
/** @brief Connects to the all workers */
|
||||
void connectToWorkers(const size_t connectTimeoutSecs);
|
||||
|
||||
/** @brief Extracts number of workers and connection timeout from the config */
|
||||
void getNumWorkersAndTimeout(size_t& connectTimeoutSecs,
|
||||
const std::string& methodName,
|
||||
config::Config* config);
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user