You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
change the storage device name
This commit is contained in:
@@ -6927,10 +6927,11 @@ namespace oam
|
|||||||
amazondeviceName = "/dev/xvd";
|
amazondeviceName = "/dev/xvd";
|
||||||
|
|
||||||
//calulate id numbers from DBRoot ID
|
//calulate id numbers from DBRoot ID
|
||||||
int lid = (dbrootid-1) / 10;
|
// int lid = (dbrootid-1) / 10;
|
||||||
int did = dbrootid - (dbrootid * lid);
|
// 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