You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/10/06 18:57:20 UTC

[GitHub] [trafficcontrol] zrhoffman commented on a diff in pull request #7109: Remove dnssec optimization flags from Traffic Router

zrhoffman commented on code in PR #7109:
URL: https://github.com/apache/trafficcontrol/pull/7109#discussion_r989385185


##########
traffic_router/core/src/main/java/org/apache/traffic_control/traffic_router/core/dns/ZoneManager.java:
##########
@@ -527,7 +527,7 @@ private static void primeZoneCache(final String domain, final Name name, final L
 					}
 				}
 				final Zone zone = zc.get(newZoneKey); // cause the zone to be loaded into the new cache
-				if (tr.isDnssecZoneDiffingEnabled()) {
+				if (tr.isDnssecEnabled()) {

Review Comment:
   Same here, this part can just be removed



##########
traffic_router/core/src/main/java/org/apache/traffic_control/traffic_router/core/dns/ZoneManager.java:
##########
@@ -511,7 +511,7 @@ private static void primeZoneCache(final String domain, final Name name, final L
 		generationTasks.add(() -> {
 			try {
 				final ZoneKey newZoneKey = signatureManager.generateZoneKey(name, list);
-				if (tr.isDnssecZoneDiffingEnabled() && domainsToZoneKeys.containsKey(domain)) {

Review Comment:
   The RRSIG cache makes zone diffing obsolete, so you could just remove this part



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org