mcsadmin> redistributeData STATUS
redistributedata Fri Dec 7 12:43:56 2018
redistributeData must have one of START, STOP or STATUS
mcsadmin> redistributeData status
redistributedata Fri Dec 7 12:44:02 2018
WriteEngineServer returned status 3: Redistribute is finished.
0 success, 0 skipped, 0 failed.
Total time: 0 seconds.
mcsadmin> redistributeData START
redistributedata Fri Dec 7 12:49:03 2018
redistributeData must have one of START, STOP or STATUS
mcsadmin> redistributeData start
redistributedata Fri Dec 7 12:49:10 2018
redistributeData START
Source dbroots: 1 2 3
Destination dbroots: 1 2 3
WriteEngineServer returned status 1: Cleared.
WriteEngineServer returned status 2: Redistribute is started.
Changed the usage from iequals() to strncasecmp (with #ifdef for MSC_VER). This is much more lightweight and we're not dealing with other than ASCII here.
David Hall (Inactive)
added a comment - Changed the usage from iequals() to strncasecmp (with #ifdef for MSC_VER). This is much more lightweight and we're not dealing with other than ASCII here.
Command is no longer case sensitive, as the ticket requested.
I noticed the following issue. I don't know if it
mcsadmin> redistributeData stop
redistributedata Wed Feb 6 22:14:17 2019
WriteEngineServer returned status 1: Redistribute is not running. Command is ignored.
redistributeData must have one of START, STOP or STATUS
mcsadmin> redistributeData STOP
redistributedata Wed Feb 6 22:15:12 2019
WriteEngineServer returned status 1: Redistribute is not running. Command is ignored.
redistributeData must have one of START, STOP or STATUS
WriteEngineServer returned status 1: Cleared.
WriteEngineServer returned status 2: Redistribute is started.
redistributeData must have one of START, STOP or STATUS
The commands are valid. We should not output the last line message
Daniel Lee (Inactive)
added a comment - Build tested: 1.1.7-1
server commit:
b5a7a22
engine commit:
1c23dc9
Command is no longer case sensitive, as the ticket requested.
I noticed the following issue. I don't know if it
mcsadmin> redistributeData stop
redistributedata Wed Feb 6 22:14:17 2019
WriteEngineServer returned status 1: Redistribute is not running. Command is ignored.
redistributeData must have one of START, STOP or STATUS
mcsadmin> redistributeData STOP
redistributedata Wed Feb 6 22:15:12 2019
WriteEngineServer returned status 1: Redistribute is not running. Command is ignored.
redistributeData must have one of START, STOP or STATUS
redistributeData START
Source dbroots: 1 2
Destination dbroots: 1 2
WriteEngineServer returned status 1: Cleared.
WriteEngineServer returned status 2: Redistribute is started.
redistributeData must have one of START, STOP or STATUS
The commands are valid. We should not output the last line message
Made the parameters for RedistributeData case insensitive.