]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2964] added thread-related note to xfrin_start()
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 4 Jun 2013 21:29:29 +0000 (14:29 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 4 Jun 2013 21:29:29 +0000 (14:29 -0700)
src/bin/xfrin/xfrin.py.in

index 4c93ba6c46713be74fb57694a9af5bc79c116fc7..03141a99c5ce2e11b4b75260635cf5ce522d8727 100755 (executable)
@@ -1712,6 +1712,9 @@ class Xfrin:
 
         # Identify the data source to which the zone content is transferred,
         # and get the current zone SOA from the data source (if available).
+        # Note that we do this before spawning the xfrin session thread.
+        # find() on the client list and use of ZoneFinder (in _get_zone_soa())
+        # should be completed within the same single thread.
         datasrc_client = None
         clist = self._datasrc_clients_mgr.get_client_list(rrclass)
         if clist is None: