------------------------------------------------------------
revno: 1184
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Thu 2011-09-29 17:22:40 -0700
message:
  Backported the fix for what is now Bug #862675 to the 2.1 branch.
  
  In the process, added some more comments and synced the NEWS file for
  things now in the 2.1 branch.
modified:
  Mailman/MailList.py
  NEWS


--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'Mailman/MailList.py'
--- Mailman/MailList.py	2011-05-05 20:11:50 +0000
+++ Mailman/MailList.py	2011-09-30 00:22:40 +0000
@@ -605,6 +605,11 @@
             # We test strictly less than here because the resolution is whole
             # seconds and we have seen cases of the file being updated by
             # another process in the same second.
+            # Even this is not sufficient in shared file system environments
+            # if there is time skew between servers.  In those cases, the test
+            # could be
+            # if mtime + MAX_SKEW < self.__timestamp:
+            # or the "if ...: return" just deleted.
             mtime = os.path.getmtime(dbfile)
             if mtime < self.__timestamp:
                 # File is not newer

=== modified file 'NEWS'
--- NEWS	2011-09-16 00:22:52 +0000
+++ NEWS	2011-09-30 00:22:40 +0000
@@ -55,9 +55,6 @@
     - Added "If you are a list member" qualification to some messages from the
       options login page.  Bug #266442.
 
-    - Fixed some technical problems with the listinfo.html template and its
-      translations.
-
     - Changed the 'Approve' wording in the admindbdetails.html template to
       'Accept/Approve' for better agreement with the button labels.
 
@@ -65,12 +62,6 @@
       archive to emphasize that even if you got to the message from a
       subject, date or author index, previous and next are still by thread.
 
-    - A problem with the logic avoiding unnecessarily reloading a current list
-      object from the config.pck arises if the list is updated by another
-      process within the same second that it was last read/written.  That can
-      cause the reading of latest version of the list to be skipped.  This has
-      been fixed.
-
     - Fixed a problem in SpamDetect.py that could cause header_filter_rules
       to fail to match RFC 2047 encoded headers.
 
@@ -136,6 +127,12 @@
 
   Bug Fixes and other patches
 
+    - A problem with the logic avoiding unnecessarily reloading a current list
+      object from the config.pck arises if the list is updated by another
+      process within the same second that it was last read/written.  That can
+      cause the reading of latest version of the list to be skipped.  This has
+      been fixed.  Bug #862675.
+
     - Fixed bin/export.py to accept case insensitive password schemes.
       Bug #833134.
 
@@ -221,7 +218,7 @@
     - Fixed the host name in the From: address of the owner notification from
       bin/add_members.  Bug #666181.
 
-2.1.14 (xx-Sep-2010)
+2.1.14 (20-Sep-2010)
 
   Security
 
@@ -336,6 +333,9 @@
       admindb, private, options and roster CGIs, and an HTTP 404 status from
       all the CGIs for an invalid list name.
 
+    - Backported the listinfo template change from the 2.2 branch to fix
+      Bug #514050.
+
     - Fixed a bug where going to an archives/private/list.mbox/list.mbox URL
       would result in a munged URL if authentication was required. Bug #266164.
 

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to