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-307 Add Redistribute command to mcsadmin
This commit is contained in:
@ -189,7 +189,7 @@ int RedistributeControl::handleStartMsg(messageqcpp::ByteStream& bs, messageqcpp
|
||||
if (status != RED_STATE_IDLE)
|
||||
{
|
||||
if (status == RED_STATE_ACTIVE)
|
||||
oss << "Redistribute is already running. Command is ignored. You need to stop and clear this active session before start a new one.";
|
||||
oss << "Redistribute is already running. Command is ignored. You need to stop and clear this active session before starting a new one.";
|
||||
else
|
||||
oss << "Redistribute is not in IDLE state. Command is ignored. Please check the status of last session, then reset the state to IDLE using action CLEAR.";
|
||||
|
||||
@ -338,7 +338,7 @@ int RedistributeControl::handleStopMsg(messageqcpp::ByteStream&, messageqcpp::IO
|
||||
uint32_t status = getCurrentState();
|
||||
if (status != RED_STATE_ACTIVE)
|
||||
{
|
||||
oss << "Redistribute is not running. Command is ignored.";
|
||||
oss << "Redistribute is not running. Command is ignored.";
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -362,7 +362,7 @@ int RedistributeControl::handleClearMsg(messageqcpp::ByteStream&, messageqcpp::I
|
||||
uint32_t status = getCurrentState();
|
||||
if (status == RED_STATE_ACTIVE)
|
||||
{
|
||||
oss << "Redistribute is running. Command is ignored. To CLEAR, you have to wait or stop the running session.";
|
||||
oss << "Redistribute is running. Command is ignored. To CLEAR, you have to wait or stop the running session.";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -22,6 +22,7 @@
|
||||
#ifndef WE_REDISTRIBUTEDEF_H
|
||||
#define WE_REDISTRIBUTEDEF_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
|
||||
namespace redistribute
|
||||
|
Reference in New Issue
Block a user