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

Martin Langhoff martin.langhoff at gmail.com
Fri May 23 00:27:49 EDT 2008


On Fri, May 23, 2008 at 3:25 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> I'll diagnose a bit more and post back.

I'm baffled. I initially suspected PEBKAC but it keeps happening. With
the patch the DS gets renamed, and journal never starts. If the
datastore code gets to complain somewhere I haven't been able to find
it.

If I back the patch out, and rename the datastore back to "datastore",
I get a new, empty datastore on reboot. (Data files are there,
though).

Nothing in the patch looks suspicious so I am a bit lost. Might still
be a problem with something silly. I am testing this on a 703 image
where I moved /usr/lib/python2.5/site-packages/olpc/datastore aside,
and replaced it with a symlink to my git checkout. The git checkout
was identical to the files from the 703 image, and I applied your
patch.

I've now merged in your latest commit, but it's just a version
identifier change, so bah.

!?



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff



More information about the Devel mailing list