You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/04/20 15:43:49 UTC

[GitHub] [trafficserver] randall commented on a change in pull request #6686: Fixes to hostDB to avoid event and memory leaks

randall commented on a change in pull request #6686:
URL: https://github.com/apache/trafficserver/pull/6686#discussion_r411484138



##########
File path: iocore/hostdb/HostDB.cc
##########
@@ -1420,37 +1418,38 @@ HostDBContinuation::dnsEvent(int event, HostEnt *e)
         return EVENT_CONT;
       }
 
-      // We have seen cases were the action.mutex != action.continuation.mutex.
+      // We have seen cases were the action.mutex != action.continuation.mutex.  However, it seems that case
+      // is likely a memory corruption... Thus the introduction of the asssert.

Review comment:
       assert




----------------------------------------------------------------
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.

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