BIND 10 trac741, updated. 46e6d4b1702e5c30c8bcd33e7fc73733872bc620 [trac741] Messages for message entry
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Jul 1 12:19:36 UTC 2011
The branch, trac741 has been updated
via 46e6d4b1702e5c30c8bcd33e7fc73733872bc620 (commit)
from 612a96ab3eea34e232fd97e834599745401b73eb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 46e6d4b1702e5c30c8bcd33e7fc73733872bc620
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Fri Jul 1 14:17:59 2011 +0200
[trac741] Messages for message entry
-----------------------------------------------------------------------
Summary of changes:
src/lib/cache/cache_messages.mes | 2 ++
src/lib/cache/message_entry.cc | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/cache/cache_messages.mes b/src/lib/cache/cache_messages.mes
index 429c746..48407bf 100644
--- a/src/lib/cache/cache_messages.mes
+++ b/src/lib/cache/cache_messages.mes
@@ -35,3 +35,5 @@ $NAMESPACE isc::cache
% CACHE_MESSAGES_UPDATE updating message entry %1/%2/%3
% CACHE_MESSAGES_REMOVE removing old instance of %1/%2/%3 first
+
+% CACHE_ENTRY_MISSING_RRSET missing RRset to generate message for %1
diff --git a/src/lib/cache/message_entry.cc b/src/lib/cache/message_entry.cc
index de4ea89..66f601f 100644
--- a/src/lib/cache/message_entry.cc
+++ b/src/lib/cache/message_entry.cc
@@ -64,7 +64,7 @@ static uint32_t MAX_UINT32 = numeric_limits<uint32_t>::max();
// tunable. Values of one to three hours have been found to work well
// and would make sensible a default. Values exceeding one day have
// been found to be problematic. (sec 5, RFC2308)
-// The default value is 3 hourse (10800 seconds)
+// The default value is 3 hours (10800 seconds)
// TODO:Give an option to let user configure
static uint32_t MAX_NEGATIVE_CACHE_TTL = 10800;
@@ -142,6 +142,8 @@ MessageEntry::genMessage(const time_t& time_now,
// has expired, if it is, return false.
vector<RRsetEntryPtr> rrset_entry_vec;
if (false == getRRsetEntries(rrset_entry_vec, time_now)) {
+ LOG_DEBUG(logger, DBG_TRACE_DATA, CACHE_ENTRY_MISSING_RRSET).
+ arg(entry_name_);
return (false);
}
More information about the bind10-changes
mailing list