Searched refs:GetHaMode (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_connection.cpp | 138 … if (config.GetHaMode() != HAMode::MAIN_REPLICA && config.GetHaMode() != HAMode::MANUAL_TRIGGER) { in CreateSlaveConnection() 149 …config.GetDBType(), config.GetHaMode(), config.IsEncrypt(), config.GetArea(), config.GetSecurityLe… in CreateSlaveConnection() 154 if (config.GetHaMode() == HAMode::MANUAL_TRIGGER && in CreateSlaveConnection() 210 rdbStoreConfig.SetHaMode(rdbConfig.GetHaMode()); in GetSlaveRdbStoreConfig() 1323 param.haMode_ = config.GetHaMode(); in SetServiceKey() 1391 if (rc != E_OK && config_.GetHaMode() == HAMode::MANUAL_TRIGGER) { in ExchangeSlaverToMaster() 1408 config_.GetHaMode() == HAMode::SINGLE || status == SlaveStatus::BACKING_UP) { in GenerateExchangeStrategy() 1419 if (config_.GetHaMode() == HAMode::MANUAL_TRIGGER) { in GenerateExchangeStrategy() 1446 if (config.GetHaMode() != MAIN_REPLICA && config.GetHaMode() != MANUAL_TRIGGER) { in Repair()
|
H A D | rdb_store_manager.cpp | 78 …config.GetDBType(), config.GetHaMode(), config.IsEncrypt(), config.GetArea(), config.GetSecurityLe… in GetStoreFromCache() 182 syncerParam.haMode_ = config.GetHaMode(); in GetSyncParam()
|
H A D | rdb_store_impl.cpp | 96 syncerParam_.haMode_ = config.GetHaMode(); in InitSyncerParam() 1516 if (config_.GetHaMode() != HAMode::SINGLE && SqliteUtils::IsSlaveDbName(databasePath)) { in InnerBackup() 1704 … if (isReadOnly_ || (config_.GetDBType() == DB_VECTOR) || config_.GetHaMode() != HAMode::SINGLE) { in Attach() 2268 if (config_.GetHaMode() != HAMode::MANUAL_TRIGGER) { in InterruptBackup() 2280 …if (config_.GetHaMode() != HAMode::MANUAL_TRIGGER && config_.GetHaMode() != HAMode::MAIN_REPLICA) { in GetBackupStatus() 2288 …if (!srcPath.empty() || config_.GetHaMode() == HAMode::SINGLE || config_.GetDBType() != DB_SQLITE)… in TryGetMasterSlaveBackupPath()
|
H A D | connection_pool.cpp | 68 …config.GetHaMode(), config.IsEncrypt(), config.GetArea(), config.GetSecurityLevel(), config.GetRol… in Create() 404 if (SqliteUtils::IsSlaveDbName(backupPath) && config_.GetHaMode() != HAMode::SINGLE) { in RestoreByDbSqliteType()
|
H A D | rdb_store_config.cpp | 584 int32_t RdbStoreConfig::GetHaMode() const in GetHaMode() function in OHOS::NativeRdb::RdbStoreConfig
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/ |
H A D | rdb_store_config.h | 247 int32_t GetHaMode() const;
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | rdb_store_config.h | 659 int32_t GetHaMode() const;
|