You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-24 14:20:59 +03:00
mcol-462, fixed um and pmvolumnesize in prompt to be minsize
This commit is contained in:
@@ -4248,7 +4248,7 @@ bool storageSetup(bool amazonInstall)
|
||||
{}
|
||||
|
||||
if ( UMVolumeSize.empty() || UMVolumeSize == "" || UMVolumeSize == oam::UnassignedName)
|
||||
UMVolumeSize = "10";
|
||||
UMVolumeSize = minSize;
|
||||
|
||||
while(true)
|
||||
{
|
||||
@@ -4572,14 +4572,6 @@ bool storageSetup(bool amazonInstall)
|
||||
}
|
||||
|
||||
cout << endl;
|
||||
try {
|
||||
oam.getSystemConfig("PMVolumeSize", PMVolumeSize);
|
||||
}
|
||||
catch(...)
|
||||
{}
|
||||
|
||||
if ( PMVolumeSize.empty() || PMVolumeSize == "" || PMVolumeSize == oam::UnassignedName)
|
||||
PMVolumeSize = "100";
|
||||
|
||||
string minSize = "1";
|
||||
string maxSize = "16384";
|
||||
@@ -4593,6 +4585,15 @@ bool storageSetup(bool amazonInstall)
|
||||
if (PMVolumeType == "standard")
|
||||
maxSize = "1024";
|
||||
|
||||
try {
|
||||
oam.getSystemConfig("PMVolumeSize", PMVolumeSize);
|
||||
}
|
||||
catch(...)
|
||||
{}
|
||||
|
||||
if ( PMVolumeSize.empty() || PMVolumeSize == "" || PMVolumeSize == oam::UnassignedName)
|
||||
PMVolumeSize = minSize;
|
||||
|
||||
while(true)
|
||||
{
|
||||
string prompt = "Enter EBS Volume storage size in GB: [" + minSize + "," + maxSize + "] (" + PMVolumeSize + ") > ";
|
||||
|
||||
Reference in New Issue
Block a user