You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
change the storage device name
This commit is contained in:
@ -6927,10 +6927,11 @@ namespace oam
|
||||
amazondeviceName = "/dev/xvd";
|
||||
|
||||
//calulate id numbers from DBRoot ID
|
||||
int lid = (dbrootid-1) / 10;
|
||||
int did = dbrootid - (dbrootid * lid);
|
||||
// int lid = (dbrootid-1) / 10;
|
||||
// int did = dbrootid - (dbrootid * lid);
|
||||
|
||||
return boost::make_tuple(PMdeviceName + deviceLetter[lid] + itoa(did), amazondeviceName + deviceLetter[lid] + itoa(did));
|
||||
// return boost::make_tuple(PMdeviceName + deviceLetter[lid] + itoa(did), amazondeviceName + deviceLetter[lid] + itoa(did));
|
||||
return boost::make_tuple(PMdeviceName + deviceLetter[dbrootid-1], amazondeviceName + deviceLetter[dbrootid-1]);
|
||||
}
|
||||
|
||||
/***************************************************************************
|
||||
|
Reference in New Issue
Block a user