1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Add data redundancy feature.

This commit is contained in:
Ben Thompson
2017-07-20 10:01:39 -05:00
parent 47fb014be3
commit 7ec2a244ef
9 changed files with 917 additions and 217 deletions

View File

@ -1295,6 +1295,23 @@ namespace oam
};
typedef std::vector<ActiveSqlStatement> ActiveSqlStatements;
struct DataRedundancyStorageSetup
{
int brickID;
std::string storageLocation;
std::string storageFilesytemType;
};
typedef std::vector<DataRedundancyStorageSetup> DataRedundancyStorage;
struct DataRedundancyConfig_s
{
int pmID;
std::string pmHostname;
std::string pmIpAddr;
std::vector<int> dbrootCopies;
DataRedundancyStorage storageLocations;
};
typedef struct DataRedundancyConfig_s DataRedundancyConfig;
// username / password for smbclient use
const std::string USERNAME = "oamuser";