Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
auto& sidx = boost::multi_index::get<ZoneEntry::SequencedTag>(zoneEntry->d_entries);
const auto toTrimForThisZone = static_cast<uint64_t>(std::round(static_cast<double>(toErase) * static_cast<double>(zoneSize) / static_cast<double>(entriesCount)));
if (entriesCount < zoneSize) {
- throw std::runtime_error("Inconsistent agggressive cache " + std::to_string(entriesCount) + " " + std::to_string(zoneSize));
+ throw std::runtime_error("Inconsistent aggressive cache " + std::to_string(entriesCount) + " " + std::to_string(zoneSize));
}
// This is comparable to what cachecleaner.hh::pruneMutexCollectionsVector() is doing, look there for an explanation
entriesCount -= zoneSize;
self.assertTrue(False)
def testNoEDE(self):
- # This isn't an aggresive cache check, but the strcuture is very similar to the others,
+ # This isn't an aggressive cache check, but the strcuture is very similar to the others,
# so letys place it here.
# It test the issue that an intermediate EDE does not get reported with the final answer
# https://github.com/PowerDNS/pdns/pull/12694