On Thu, Nov 19, 2009 at 5:38 PM, Chris Withers <ch...@simplistix.co.uk> wrote: > Chris Withers wrote: >> >> Jim Fulton wrote: >>> >>> I'm fine with change the storage server to pass the history size >>> argument as a keyword parameter. >> >> Okay, but where is the Z309 equivalent of ZEOStorage308Adapter's history >> method? > > Ug, the answer is much less pleasant :-( > > So, a ZODB 3.9.3 ClientStorage calls the ServerStub's history method, this > does an rpc call: > > self.rpc.call('history', oid, length) > > Which comes in on the server and gets despatched straight out in: > > /ZEO/zrpc/connection.py", line 581, in handle_request > > This, of course, means we can't pull the keyword parameters trick, since > ZEO's rpc doesn't support keyword parameters from what I saw... > > I'm not sure what to suggest here...
What's wrong with the original idea of having the server pass the size as a keyword parameter? The ZEO protocol is irrelevant. (Unless it's relevent somehow in the guts of ZEORAID, in which case, I don't care. :) Jim -- Jim Fulton _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev