BUG#19787 Modify correct message when some important variables are changed but...

BUG#19787 Modify correct message when some important variables are changed but cannot be applied by online
parent dac797f6
...@@ -6488,7 +6488,13 @@ void Dbdih::execCREATE_FRAGMENTATION_REQ(Signal * signal){ ...@@ -6488,7 +6488,13 @@ void Dbdih::execCREATE_FRAGMENTATION_REQ(Signal * signal){
}//for }//for
} }
} }
ndbrequire(count == (2 + noOfReplicas * noOfFragments)); if(count != (2 + noOfReplicas * noOfFragments)){
char buf[255];
BaseString::snprintf(buf, sizeof(buf),
"Illegal configuration change: NoOfReplicas."
" Can't be applied online ");
progError(__LINE__, NDBD_EXIT_INVALID_CONFIG, buf);
}
CreateFragmentationConf * const conf = CreateFragmentationConf * const conf =
(CreateFragmentationConf*)signal->getDataPtrSend(); (CreateFragmentationConf*)signal->getDataPtrSend();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment