Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-17 Thread Kapil Thangavelu
On Thu, Dec 10, 2009 at 8:12 PM, Marius Gedminas wrote: > On Thu, Dec 10, 2009 at 02:07:06PM -0500, Jim Fulton wrote: > > On Thu, Dec 10, 2009 at 1:50 PM, Marius Gedminas > wrote: > > > On Thu, Dec 10, 2009 at 12:41:11PM -0500, Jim Fulton wrote: > > >> On Thu, Dec 10, 2009 at 11:54 AM, Marius Ge

Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-10 Thread Marius Gedminas
On Thu, Dec 10, 2009 at 02:07:06PM -0500, Jim Fulton wrote: > On Thu, Dec 10, 2009 at 1:50 PM, Marius Gedminas wrote: > > On Thu, Dec 10, 2009 at 12:41:11PM -0500, Jim Fulton wrote: > >> On Thu, Dec 10, 2009 at 11:54 AM, Marius Gedminas wrote: > >> In 3.9 for FileStorage, if you give a starting t

Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-10 Thread Jim Fulton
On Thu, Dec 10, 2009 at 1:50 PM, Marius Gedminas wrote: > On Thu, Dec 10, 2009 at 12:41:11PM -0500, Jim Fulton wrote: >> On Thu, Dec 10, 2009 at 11:54 AM, Marius Gedminas wrote: >> In 3.9 for FileStorage, if you give a starting tid that is toward the >> end of the file, >> it will scan backward,

Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-10 Thread Marius Gedminas
On Thu, Dec 10, 2009 at 12:41:11PM -0500, Jim Fulton wrote: > On Thu, Dec 10, 2009 at 11:54 AM, Marius Gedminas wrote: > ... > > Well, there is IStorage, and I think all storages (except for > > FileStorage) implemented it faithfully > > I guess that depends on what you mean by faithfully. Mappin

Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-10 Thread Jim Fulton
On Thu, Dec 10, 2009 at 11:54 AM, Marius Gedminas wrote: ... > Well, there is IStorage, and I think all storages (except for > FileStorage) implemented it faithfully I guess that depends on what you mean by faithfully. MappingStorage and Demostorage in 3.8 inherited a null implementation from Bas

Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-10 Thread Marius Gedminas
On Thu, Dec 10, 2009 at 10:08:36AM -0500, Jim Fulton wrote: > On Thu, Dec 10, 2009 at 5:58 AM, Marius Gedminas wrote: > > On Wed, Dec 09, 2009 at 01:04:03PM -0500, Jim Fulton wrote: > >> On Wed, Dec 9, 2009 at 12:06 PM, Marius Gedminas wrote: > >> ... > >> > (Supporting both ZODB 3.8 and 3.9 is k

Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-10 Thread Jim Fulton
On Thu, Dec 10, 2009 at 5:58 AM, Marius Gedminas wrote: > On Wed, Dec 09, 2009 at 01:04:03PM -0500, Jim Fulton wrote: >> On Wed, Dec 9, 2009 at 12:06 PM, Marius Gedminas wrote: >> ... >> > (Supporting both ZODB 3.8 and 3.9 is kinda tricky, but with some very >> > ugly hacks I managed.) >> >> This

Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-10 Thread Marius Gedminas
On Thu, Dec 10, 2009 at 11:08:25AM +, Chris Withers wrote: > Marius Gedminas wrote: > > * In ZODB 3.8, the 'version' argument of ClientStorage.history (as well > > as other kinds of storages, I suppose) is mandatory. In ZODB 3.9 > > it's gone. > > > > Solved by peeking into the

Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-10 Thread Chris Withers
Marius Gedminas wrote: > * In ZODB 3.8, the 'version' argument of ClientStorage.history (as well > as other kinds of storages, I suppose) is mandatory. In ZODB 3.9 > it's gone. > > Solved by peeking into the method signature with inspect.getargspec() > and supplying a version on

Re: [ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-10 Thread Marius Gedminas
On Wed, Dec 09, 2009 at 01:04:03PM -0500, Jim Fulton wrote: > On Wed, Dec 9, 2009 at 12:06 PM, Marius Gedminas wrote: > ... > > (Supporting both ZODB 3.8 and 3.9 is kinda tricky, but with some very > > ugly hacks I managed.) > > This sounds like something that needs to be fixed. Can you share som

[ZODB-Dev] ZODB 3.9/3.8 incompatibility (was Re: Data.fs size grows non-stop)

2009-12-09 Thread Jim Fulton
On Wed, Dec 9, 2009 at 12:06 PM, Marius Gedminas wrote: ... > (Supporting both ZODB 3.8 and 3.9 is kinda tricky, but with some very > ugly hacks I managed.) This sounds like something that needs to be fixed. Can you share some of the issues you ran into? (Or maybe file bugs reports.) In particul