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-4675 DMLProc now automatically and gracefully shutdowns when a cluster state is set to
SS_SHUTDOWN_PENDING | SS_ROLLBACK
This commit is contained in:
committed by
Leonid Fedorov
parent
646ffb6f95
commit
90397dfed0
@ -146,6 +146,16 @@ public:
|
||||
fPackageWorkQueueSize = workQueueSize;
|
||||
}
|
||||
|
||||
inline bool pendingShutdown() const
|
||||
{
|
||||
return fShutdownFlag;
|
||||
}
|
||||
|
||||
inline void startShutdown()
|
||||
{
|
||||
fShutdownFlag = true;
|
||||
}
|
||||
|
||||
private:
|
||||
//not copyable
|
||||
DMLServer(const DMLServer& rhs);
|
||||
@ -156,6 +166,7 @@ private:
|
||||
|
||||
boost::scoped_ptr<messageqcpp::MessageQueueServer> fMqServer;
|
||||
BRM::DBRM* fDbrm;
|
||||
bool fShutdownFlag;
|
||||
|
||||
public:
|
||||
/** @brief the thread pool for processing dml packages
|
||||
|
Reference in New Issue
Block a user