Re: [Chandler-dev] Re: [Proposal] 3 Possible Hacks to Improve Performance

Jeffrey Harris <jeffrey-6zGkXsw2EZWGJGYlWa3Ukdi2O/[email protected]>
Newsgroups gmane.org.osaf.devel
Message-ID <[email protected]>
>>> 1. Replace weekly auto-purge with auto-export/reload. (Would this 
>>> actually help?)
>>
>> I think this would work.  Making it work smoothly and in a 
>> fault-tolerant way would take some thought, though.  Does it run at 
>> shut-down?  Start-up?

Following up on this, I've checked in code that implements auto-restore 
from backup.  It's turned off by default, but it can be turned on from 
the tools menu if you're running Chandler from SVN.

As an added safety measure, I have auto-restore first make a binary 
backup of the repository before loading backup.chex.  The binary backup 
is roughly 5% of the size of your repository, so I don't think you'll 
notice the space.

We should discuss whether we want this turned on by default.  I 
definitely notice that there are a few preferences that we aren't 
backing up to chex which get reset every reload, which is a minor 
annoyance.  Other than that, auto-restore seems to work great.  I think 
it's a little slower than purge, but the startup dialog gives you 
feedback during the process, so it may be psychologically less frustrating.

Sincerely,
Jeffrey
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.