| 21 | #include "fdbserver/LogSystemConfig.h" |
| 22 | |
| 23 | std::string TLogSet::toString() const { |
| 24 | return format("anti: %d replication: %d local: %d routers: %d tLogs: %s backupWorkers: %s locality: %d", |
| 25 | tLogWriteAntiQuorum, |
| 26 | tLogReplicationFactor, |
| 27 | isLocal, |
| 28 | logRouters.size(), |
| 29 | describe(tLogs).c_str(), |
| 30 | describe(backupWorkers).c_str(), |
| 31 | locality); |
| 32 | } |
| 33 | |
| 34 | bool TLogSet::operator==(const TLogSet& rhs) const { |
| 35 | if (tLogWriteAntiQuorum != rhs.tLogWriteAntiQuorum || tLogReplicationFactor != rhs.tLogReplicationFactor || |