This is an automated email from the ASF dual-hosted git repository.

vmamidi pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/8.1.x by this push:
     new f2267fe   Do not create stats for origin servers (#6955)
f2267fe is described below

commit f2267feafcc9579d689fe41a2d5e94d482917c05
Author: Vijay Mamidi <vijayabhaskar_mam...@yahoo.com>
AuthorDate: Fri Jun 26 08:35:42 2020 -0700

     Do not create stats for origin servers (#6955)
---
 src/traffic_server/HostStatus.cc | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/traffic_server/HostStatus.cc b/src/traffic_server/HostStatus.cc
index a33a844..348dc15 100644
--- a/src/traffic_server/HostStatus.cc
+++ b/src/traffic_server/HostStatus.cc
@@ -406,10 +406,6 @@ HostStatus::getHostStatus(const char *name)
     }
     _status->reasons = reasons;
   }
-  // didn't find this host in host status db, create the record
-  if (!lookup) {
-    createHostStat(name);
-  }
 
   return _status;
 }

Reply via email to