| 809 | } |
| 810 | |
| 811 | void DatabaseConfiguration::fromKeyValues(Standalone<VectorRef<KeyValueRef>> rawConfig) { |
| 812 | resetInternal(); |
| 813 | this->rawConfiguration = rawConfig; |
| 814 | for (auto c = rawConfiguration.begin(); c != rawConfiguration.end(); ++c) { |
| 815 | setInternal(c->key, c->value); |
| 816 | } |
| 817 | setDefaultReplicationPolicy(); |
| 818 | } |
| 819 | |
| 820 | bool DatabaseConfiguration::isOverridden(std::string key) const { |
| 821 | key = configKeysPrefix.toString() + std::move(key); |
no test coverage detected