#13826: Race condition in star_imports cache
--------------------------------+-------------------------------------------
       Reporter:  vbraun        |         Owner:  GeorgSWeber
           Type:  defect        |        Status:  needs_work 
       Priority:  critical      |     Milestone:  sage-5.5   
      Component:  build         |    Resolution:             
       Keywords:                |   Work issues:             
Report Upstream:  N/A           |     Reviewers:  Nils Bruin 
        Authors:  Volker Braun  |     Merged in:             
   Dependencies:                |      Stopgaps:             
--------------------------------+-------------------------------------------

Comment (by vbraun):

 Replying to [comment:9 nbruin]:
 > It's a space after a colon on a line you introduce, not some whitespace
 on an empty line left by an auto-indenting editor.

 So?

 > That's not what I meant. You can first write the temp file and then
 unlink the old one and move the new one in place. Presently the old cache
 file is already gone while you're writing the new one. An old cache file
 is better than none at all, it seems in this setting?

 Or one could argue that a potentially stale cache is worse than a non-
 existent one. Doesn't really matter either way, serializing a dict takes
 no time.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13826#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to