[ZCM] [ZC] 1327/ 1 Request "FileStorage init confused by time travel"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed May 12 15:35:23 EDT 2004


Issue #1327 Update (Request) "FileStorage init confused by time travel"
 Status Accepted, Database/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1327

==============================================================
= Request - Entry #1 by tim_one on May 12, 2004 3:35 pm

 Status: Pending => Accepted

 Supporters added: tim_one

FileStorage generally guarantees to create a monotonically increasing sequence of tids, even if the system clock "goes backwards".  However, BaseStorage.__init__() initializes self._ts from current time, so if the system clock jumps backwards (a lot!) between opens, the first tid generated after an open can be (also a lot) smaller than the last tid actually used.

This appears to be the underlying cause of the real problem in

http://zope.org/Collectors/Zope/1261
==============================================================




More information about the Zope-Collector-Monitor mailing list