1
0
Fork 0

abort startup when wrong alignment is detected

This commit is contained in:
Jan Steemann 2015-09-03 15:10:48 +02:00
parent c6a69ac781
commit 0e454b7a3e
1 changed files with 3 additions and 3 deletions

View File

@ -777,9 +777,9 @@ void ArangoServer::buildApplicationServer () {
int64_t alignment = std::stol(std::string(cpuAlignment.c_str() + start, end - start));
if ((alignment & 2) == 0) {
LOG_WARNING("possibly incompatible CPU alignment settings found in '%s'. this may cause arangod to abort with SIGBUS. it may be necessary to set the value in '%s' to 2",
filename.c_str(),
filename.c_str());
LOG_FATAL_AND_EXIT("possibly incompatible CPU alignment settings found in '%s'. this may cause arangod to abort with SIGBUS. please set the value in '%s' to 2",
filename.c_str(),
filename.c_str());
}
alignmentDetected = true;