mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-01-05 10:30:53 -06:00
EggsFS -> TernFS rename
Things not done because probably disruptive: * kmod filesystem string * sysctl/debugfs/trace * metrics names * xmon instance names Some of these might be renamed too, but starting with a relatively safe set.
This commit is contained in:
committed by
Francesco Mazzoli
parent
491c3628ff
commit
110705db8d
@@ -321,7 +321,7 @@ std::pair<int, std::string> fetchCDCReplicas(
|
||||
}
|
||||
|
||||
if (respContainer.getCdcReplicasDEPRECATED().replicas.els.size() != replicas.size()) {
|
||||
throw EGGS_EXCEPTION("expecting %s replicas, got %s", replicas.size(), respContainer.getCdcReplicasDEPRECATED().replicas.els.size());
|
||||
throw TERN_EXCEPTION("expecting %s replicas, got %s", replicas.size(), respContainer.getCdcReplicasDEPRECATED().replicas.els.size());
|
||||
}
|
||||
for (int i = 0; i < replicas.size(); i++) {
|
||||
replicas[i] = respContainer.getCdcReplicasDEPRECATED().replicas.els[i];
|
||||
@@ -349,7 +349,7 @@ std::pair<int, std::string> fetchLocalShards(const std::string& host, uint16_t p
|
||||
if (err) { return {err, errStr}; }
|
||||
}
|
||||
if (respContainer.getLocalShards().shards.els.size() != shards.size()) {
|
||||
throw EGGS_EXCEPTION("expecting %s shards, got %s", shards.size(), respContainer.getLocalShards().shards.els.size());
|
||||
throw TERN_EXCEPTION("expecting %s shards, got %s", shards.size(), respContainer.getLocalShards().shards.els.size());
|
||||
}
|
||||
for (int i = 0; i < shards.size(); i++) {
|
||||
shards[i] = respContainer.getLocalShards().shards.els[i];
|
||||
|
||||
Reference in New Issue
Block a user