[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2505: Magic Folder: consider types of (size, ctime, mtime) more carefully

Tahoe-LAFS trac at tahoe-lafs.org
Mon Jan 18 20:39:25 UTC 2016


#2505: Magic Folder: consider types of (size, ctime, mtime) more carefully
-------------------------------------+-------------------------------------
     Reporter:  daira                |      Owner:  daira
         Type:  defect               |     Status:  assigned
     Priority:  normal               |  Milestone:  undecided
    Component:  code-frontend-       |    Version:  1.10.1
  magic-folder                       |   Keywords:  blocks-magic-folder-
   Resolution:                       |  merge
Launchpad Bug:                       |
-------------------------------------+-------------------------------------

Comment (by daira):

 The issue here is, for all possible floats `f` that can be returned by
 `time.time()`, does storing `f` in a database field and then retrieving it
 result in a float `==` to `f`? Since we compare timestamps using `==`, if
 this were not the case, then we'd detect spurious timestamp mismatches.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2505#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list