Re: [ZODB-Dev] RelStorage pack with history-free storage results in POSKeyErrors

2011-01-28 Thread Chris Withers
On 27/01/2011 11:24, Shane Hathaway wrote: On 01/27/2011 03:57 AM, Chris Withers wrote: It would also be *really* handy if zodbpack could run off a normal zope.conf for both logging and storage config (although, in my case, I'd then need to be able to specify which storage to pack, I want to

Re: [ZODB-Dev] RelStorage pack with history-free storage results in POSKeyErrors

2011-01-28 Thread Shane Hathaway
On 01/28/2011 02:21 AM, Chris Withers wrote: Okay, so next up I restored the backup. This time I set the batch running and *then* started the pack. This eventually caused the POSKeyErrors to begin again. I'm going to have a go at knocking up a small batch script that you can run to reproduce

Re: [ZODB-Dev] RelStorage, history-free, MySQL - errors

2011-01-28 Thread Chris Withers
Hi Shane, Okay, so here's the test harness: svn co https://secure.simplistix.co.uk/svn/relstorage_pack -r 4594 It uses the normal RelStorage test users and databases. After running the buildout, I do each of the following in their own terminal: bin/generate --zap bin/zodbpack pack.conf On

Re: [ZODB-Dev] RelStorage, history-free, pack causes POSKeyError with BTreeFolder2

2011-01-28 Thread Chris Withers
Bingo: svn co https://secure.simplistix.co.uk/svn/relstorage_pack -r 4595 cd relstorage_pack python2.6 bootstrap.py bin/buildout Then in one terminal: bin/generate --zap --folder_depth 3 Leave it running for a minute or two, and then in another do: bin/zodbpack pack.conf After a bit I get:

Re: [ZODB-Dev] RelStorage, history-free, pack causes POSKeyError with BTreeFolder2

2011-01-28 Thread Chris Withers
On 28 Jan 2011, at 21:58, Jürgen Herrmann juergen.herrm...@xlhost.de wrote: On Fri, 28 Jan 2011 12:34:35 +, Chris Withers wrote: Bingo: svn co https://secure.simplistix.co.uk/svn/relstorage_pack -r 4595 cd relstorage_pack python2.6 bootstrap.py bin/buildout Then in one terminal:

Re: [ZODB-Dev] RelStorage, history-free, pack causes POSKeyError with BTreeFolder2

2011-01-28 Thread Shane Hathaway
On 01/28/2011 05:34 AM, Chris Withers wrote: bin/generate --zap --folder_depth 3 Leave it running for a minute or two, and then in another do: bin/zodbpack pack.conf Thanks to this test, I found a serious flaw in the history-free variant of packing. Currently, the history-free and