[PATCH] Maintain a metadata copy outside the index (was Re: Datastore & backup - request for help)

Ivan Krstić krstic at solarsail.hcs.harvard.edu
Fri May 23 01:35:50 EDT 2008


On May 22, 2008, at 8:25 PM, Martin Langhoff wrote:
> The first sign of oddness is that
> the DS dir got renamed to
>
>  /home/olpc/.sugar/default/datastore1211512411.22
>
> I'll diagnose a bit more and post back.


This is due to my patch that was pushed out to mitigate the massive DS  
outage in Uruguay. The patch did two things: it prevented the  
particular cause of DS malfunction that UY encountered, AND wrapped  
the entire DS initialization routine in a try/except that will, upon  
failure, move the old DS out of the way and start a clean one. It's  
basically an emergency bailout -- if we can't load the DS and we do  
nothing, the machine is unusable.

--
Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | http://radian.org




More information about the Devel mailing list