#5880: [with patch; needs review] notebook -- greatly reduce the number of 
actions
that trigger taking a snapshot
----------------------+-----------------------------------------------------
 Reporter:  was       |       Owner:  boothby   
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-3.4.2
Component:  notebook  |    Keywords:            
----------------------+-----------------------------------------------------

Comment(by tornaria):

 I promised to try this patch, but I haven't yet installed into my
 production server. As it turns out, there is a big improvement in 3.4.1
 wrt snapshots, which makes this issue less pressing wrt disk usage... I
 still think the semantics of snapshots are broken, and particularly they
 make "discard and quit" unusable, and "undo" a bit hard.

 To clean up the snapshot directories in my production server, without
 removing old revisions in case somebody actually cares about them, I wrote
 a script to clean up repeated snapshots. The script is only good until you
 install 3.4.1, and its behaviour is to remove any snapshot which is
 identical to an earlier one. In effect, this retroactively imposes the new
 behaviour for snapshots...

 To get an idea of the magnitude of the problem. Our notebook server has
 been in production for a little bit over a month. It has about 20 active
 users (most students on my sage course, so they actually use the
 notebook). Running the script deleted 479269 snapshots, keeping only
 5908... In fact, I ran the script again after a few hours, and it deleted
 another 15k new snapshots or so... I've switched the notebook to 3.4.1,
 and it's not producing redundant snapshots anymore.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5880#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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