Browse Source

Add some comments for publishing zone transfer result news.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac329@2913 e5f2f494-b856-4b98-b285-d166d9295462
Likun Zhang 14 years ago
parent
commit
9b8dbf40ec
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/bin/xfrin/xfrin.py.in

+ 4 - 1
src/bin/xfrin/xfrin.py.in

@@ -329,7 +329,10 @@ def process_xfrin(server, xfrin_recorder, zone_name, rrclass, db_file,
     ret = XFRIN_FAIL
     if conn.connect_to_master():
         ret = conn.do_xfrin(check_soa)
-
+    
+    # Publish the zone transfer result news, so zonemgr can reset the
+    # zone timer, and xfrout can notify the zone's slaves if the result
+    # is success.
     server.publish_xfrin_news(zone_name, rrclass, ret)
     xfrin_recorder.decrement(zone_name)