Skip to content

Commit

Permalink
Merge "Cleanup deported record list on detecting named UP." into R3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 28, 2017
2 parents 1351903 + cda824a commit 9c6969c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/dns/mgr/dns_mgr.cc
Expand Up @@ -683,6 +683,7 @@ void DnsManager::BindEventHandler(BindStatus::Event event) {
DNS_OPERATIONAL_LOG(
g_vns_constants.CategoryNames.find(Category::DNSAGENT)->second,
SandeshLevel::SYS_NOTICE, "BIND named up; DNS is operational");
ClearDeportedPendingList();
UpdateAll();
break;
}
Expand Down
1 change: 1 addition & 0 deletions src/dns/mgr/dns_mgr.h
Expand Up @@ -92,6 +92,7 @@ class DnsManager {
return (true);
}
PendingListMap GetDeportedPendingListMap() { return dp_pending_map_; }
void ClearDeportedPendingList() { dp_pending_map_.clear(); }
void NotifyThrottledDnsRecords();
void DnsConfigMsgHandler(const std::string &key, const std::string &context) const;
void VdnsRecordsMsgHandler(const std::string &key, const std::string &context, bool show_all = false) const;
Expand Down

0 comments on commit 9c6969c

Please sign in to comment.