Re: [ZODB-Dev] RAM Cache setting for ZEO

2005-04-19 Thread Jim Fulton
stored in the ZODB. When you update it on one client, it will automatically be updated on the other clients, as with any other persistent objects. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope

[ZODB-Dev] Re: [Zodb-checkins] SVN: ZODB/branches/3.4/src/ Added savepoints!

2005-04-25 Thread Jim Fulton
to send a query to zodb-dev and zope-dev. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

[ZODB-Dev] Data manager interface -- tpc_begin and other changes

2005-04-25 Thread Jim Fulton
that I need to support, please let me know. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

[ZODB-Dev] Re: [Zodb-checkins] SVN: ZODB/branches/3.4/src/ Added savepoints!

2005-04-25 Thread Jim Fulton
Florent Guillaume wrote: Jim Fulton wrote: +def tpc_begin(transaction): +Begin commit of a transaction, starting the two-phase commit. + +transaction is the ITransaction instance associated with the +transaction being committed. + +subtransaction is a Boolean

Re: [ZODB-Dev] Invalidations

2005-04-27 Thread Jim Fulton
/zodb-dev/2005-April/008722.html We can do a lot better though, especially now that we have the ISynchronizer API. I would argue that a conection that gets an afterCompletion call should call sync on it's storage. This would have avoided the problem cited above I think. Jim -- Jim Fulton

Re: [ZODB-Dev] Invalidations

2005-04-27 Thread Jim Fulton
of the message you didn't quote. :) I imagine that we'll make this so today. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] [Proposal] Size controlled ZODB cache

2005-06-02 Thread Jim Fulton
this refactoring.) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ For more information about

Re: [ZODB-Dev] Re: ZODB-Dev Digest, Vol 27, Issue 3

2005-06-03 Thread Jim Fulton
-- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ For more information about ZODB, see the ZODB

Re: [ZODB-Dev] ZEO client hangs when combined with other asyncore code

2005-06-22 Thread Jim Fulton
callbacks do as little as possible. Agreed. This is exactly the model that Zope uses. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Handling more databases with zeo

2005-06-29 Thread Jim Fulton
Chris McDonough wrote: I also use this feature but I would be happy to stop using it if it made the code materially simpler to maintain. +1 Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope

Re: [ZODB-Dev] Savepoints are invalidated once they are used

2005-07-11 Thread Jim Fulton
() FunkyRollbackException From my point of view I can't see a reason why the ZODB forbids a second rolback to the savepoint. I agree. This should be changed. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http

Re: [ZODB-Dev] Savepoints are invalidated once they are used

2005-07-11 Thread Jim Fulton
there reads like it's OK to roll back to the _same_ savepoint multiple times (it's not earlier than itself ...). Yup But transaction/savepoint.txt explicitly says (and tests that) you can't, so it's intended behavior: Yup, but I think it is incorrect behavior. Jim -- Jim Fulton mailto

Re: [ZODB-Dev] zodb connection question

2005-07-12 Thread Jim Fulton
- processes the queue in the callback I did this recently for with Zope 3's catalog and it worked very well. (I happend to use subclassing and would use adaptation if I were to do it again.) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540

Re: [ZODB-Dev] zodb connection question

2005-07-12 Thread Jim Fulton
Jürgen Herrmann wrote: [ Jim Fulton wrote:] Jürgen Herrmann wrote: hi all! i'm trying to form a patch that will result in a method _before_commit() being called on each modified object in a transaction (if that method exists of course) right before commit. main sense is to automate/delay

Re: [ZODB-Dev] zodb connection question

2005-07-12 Thread Jim Fulton
Jürgen Herrmann wrote: [ Jim Fulton wrote:] Jürgen Herrmann wrote: [ Jim Fulton wrote:] Jürgen Herrmann wrote: hi all! i'm trying to form a patch that will result in a method _before_commit() being called on each modified object in a transaction (if that method exists of course) right

Re: [ZODB-Dev] Re: Savepoints are invalidated once they are used

2005-07-12 Thread Jim Fulton
._invalidate_all_savepoints() i.e. swapping the first two blocks] [Jim Fulton] subtransactions != savepoints There is *no* promise of nestability with subtransactions. Committing a subtransaction invalidates prior savepoints by design. This is necessary to maintain backward compatibility

Re: [ZODB-Dev] Reloading product in 2.8

2005-07-14 Thread Jim Fulton
it fails, it does so in subtle ways that cause people to lose lots of time. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Setting the jar

2005-08-14 Thread Jim Fulton
to resolve this ambiguity. Jim P.S. No, I'm not back yet. :) -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Ordering before commit hooks

2005-08-14 Thread Jim Fulton
prefer not to see this added to the trunk until we've had a chance to discuss it a bit more. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http

Re: [ZODB-Dev] Ordering before commit hooks

2005-08-22 Thread Jim Fulton
strengthened my opposition. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ For more

Re: [ZODB-Dev] Ordering before commit hooks

2005-08-23 Thread Jim Fulton
a handler to go last. As I've pointed out in a separate note, this is achievable without the change. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http

Re: [ZODB-Dev] Ordering before commit hooks

2005-08-30 Thread Jim Fulton
to use this transaction feature. That's hypothetical. In any case, if you are so sure, provide a system that does this and let people use it. You don't need to make ZODB more complicated to address this use case. Julien Anguenot wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton

[ZODB-Dev] Re: Ordering before commit hooks

2005-08-31 Thread Jim Fulton
Florent Guillaume wrote: Jim Fulton wrote: I don't understand why keeping the order paremeter is such a big deal ? Because it clutters the ZODB API with something that is, fundamentally application policy. Ok seen that way I agree. That's not the ZODB's job to decide what kind of API

Re: [ZODB-Dev] Ordering before commit hooks

2005-08-31 Thread Jim Fulton
Dieter Maurer wrote: Jim Fulton wrote at 2005-8-31 10:20 -0400: ... Thus my proposal could be seen as well as a request to change (or to make more flexible) the policy already in place. (Which was my use case) Except that, as Tim and I have pointed out, the order gimmic didn't deal at all

Re: [ZODB-Dev] Setting _p_changed on a ghost

2005-09-01 Thread Jim Fulton
. This is an excellent argument. +1 on _p_changed=1 deghostifying, if necessary. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Blobs revisited...

2005-10-05 Thread Jim Fulton
still working on this in my downtime. If anyone else is interested in helping out, let me know! Thanks for the work! I'll try to squeeze in some time soon to review the current blob code. Where is it? I'll -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO

Re: [ZODB-Dev] Server Notification?

2005-10-09 Thread Jim Fulton
connections accessible by clients themselves? No. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Re: Fixing Broken Objects?

2005-10-13 Thread Jim Fulton
Andreas Jung wrote: ... Sorry, this is a stupid assumption. No. It was an incorrect assumption. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com

Re: [ZODB-Dev] Fixing Broken Objects?

2005-10-13 Thread Jim Fulton
synchronization is still a nughtmare. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] know the state of an object

2005-10-14 Thread Jim Fulton
interest to applications. Then applications can use the event system to be notified and provide additional functionality. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http

Re: [ZODB-Dev] Re: Fixing Broken Objects?

2005-10-16 Thread Jim Fulton
the most useful existing basis for database-managed code. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Fixing Broken Objects?

2005-10-16 Thread Jim Fulton
Tino Wildenhain wrote: Am Donnerstag, den 13.10.2005, 18:09 -0400 schrieb Jim Fulton: Tino Wildenhain wrote: Am Donnerstag, den 13.10.2005, 08:03 +0200 schrieb Andreas Jung: --On 13. Oktober 2005 01:45:30 -0400 Chris Spencer [EMAIL PROTECTED] wrote: I noticed that if a ZEOServer

Re: [ZODB-Dev] oids, numbers, hex and 8-byte strings

2005-10-25 Thread Jim Fulton
documentatoon to be managed with the code. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Class Versioning?

2005-10-29 Thread Jim Fulton
/zope/app/generations/README.txt?view=markup Note that even though this package is in zope.app, the solution is quite general and should be usable outside of Zope. (This package really should be lifted up a level.) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO

Re: [ZODB-Dev] Summertime - Wintertime harmful?

2005-10-30 Thread Jim Fulton
? No. First, ZODB time stamps are based on UTC time. Second, time-stamp skew doesn't lead to inconsistency. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com

Re: [ZODB-Dev] custom mount point container type

2005-11-17 Thread Jim Fulton
. Tarek ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev -- Jim Fulton mailto:[EMAIL PROTECTED] Python

[ZODB-Dev] ZEO ClientStorage's use of the asyncore main loop (was [Fwd: Re: [Zope3-dev] Twisted Publisher and Zope 2])

2005-12-08 Thread Jim Fulton
requite a switch to Twisted. This might be worthwhile, but would almost certainly entail a lot of risk. I'm not at all sure the benefit is worth it unless there were some able volunteers who wanted to work on it.) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered

[ZODB-Dev] ZEO ClientStorage's use of the asyncore main loop (was [Fwd: Re: [Zope3-dev] Twisted Publisher and Zope 2])

2005-12-08 Thread Jim Fulton
, but would almost certainly entail a lot of risk. I'm not at all sure the benefit is worth it unless there were some able volunteers who wanted to work on it.) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http

Re: [ZODB-Dev] OID length

2005-12-09 Thread Jim Fulton
about nor try to control OIDs, except in the case of the root object. Many storages use 64-bit unsigned integers, serialized as 8-byte strings for memory and space efficiency and to make allocation of new ids simple. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO

Re: [ZODB-Dev] OID length

2005-12-09 Thread Jim Fulton
not the right place to put complexity. If you don't expect to have more than 2**N objects, an oid that requires more than N bits is in some sense extravagant ;-). In any case, you should be able to use bigger strings now without changing anything. Yup. Jim -- Jim Fulton mailto:[EMAIL PROTECTED

Re: [ZODB-Dev] ZEO ClientStorage's use of the asyncore main loop (was [Fwd: Re: [Zope3-dev] Twisted Publisher and Zope 2])

2005-12-09 Thread Jim Fulton
Shane Hathaway wrote: Jim Fulton wrote: Tim and I have discussed this for some time. We think an asynchronous I/O approach is still appropriate, to handle asynchronous messages from servers to clients, but we need to get away from expecting a server to provide the asyncore main loop needed

Re: [ZODB-Dev] Re: [Zodb-checkins] SVN: ZODB/trunk/src/persistent/interfaces.py Nail the type of oids, as agreed ; -) to in

2005-12-09 Thread Jim Fulton
. It's obviously not just a documentation change. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Jim Fulton
of things sooner. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ For more information

Re: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Jim Fulton
Jim Fulton wrote: Tim Peters wrote: ... to stop running ZODB tests, no version of ZODB is regularly tested on any platform anymore; the overnight test runners and buildbot.zope.com used to at least test some ZODB versions regularly Yes, very specific versions, which doesn't help catch

Re: [ZODB-Dev] Savepoints and Shared.DC.ZRDB.TM

2005-12-21 Thread Jim Fulton
way to integrate data managers into it. I don't know if the best way to do that is with a base class, or whether a adapters would be better or ... Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope

Re: [ZODB-Dev] session problems

2006-01-05 Thread Jim Fulton
argument isn't stored because it's always True, at least when called from outside code. Application code should never pass this argument. Again, thse arguments are not part of the API. I'll respond to the original issue separately. Jim -- Jim Fulton mailto:[EMAIL PROTECTED

Re: [ZODB-Dev] session problems

2006-01-05 Thread Jim Fulton
the database connection itself. It should call get_connection on an existing connection and fail if that fails. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com

Re: [ZODB-Dev] Persistent ZEO Cache corruption?

2006-01-12 Thread Jim Fulton
. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ For more information about ZODB, see

Re: [ZODB-Dev] RE: lost implementer

2006-01-20 Thread Jim Fulton
gotten the version it needed and ZODB would have gotten the version it needed. (Hm, maybe eggs *would* make treating Zope as a library work. :) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope

Re: [ZODB-Dev] zodb pickle format for root

2006-01-20 Thread Jim Fulton
but it should. This is just a fossil. Feel free to change it if you wish. Or to add an entry to the ZODB collector. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com

Re: [ZODB-Dev] RE: lost implementer

2006-01-24 Thread Jim Fulton
on that page... That page is part of a collection of pages and it links to other pages to provide details on various subjects. One of the cool things about the web is that you don't have to put everything in a single page. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered

Re: [ZODB-Dev] packaging zodb in eggs.

2006-03-03 Thread Jim Fulton
that transaction and ZODB depend on and we'll need to decouple the transaction exceptions from ZODB.) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http

Re: [ZODB-Dev] Conflict Error that won't go away?

2006-03-03 Thread Jim Fulton
like making it more robust. I'm glad you were able to resolve your immediate issue. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] packaging zodb in eggs.

2006-03-03 Thread Jim Fulton
required C extensions, I expect source distributions, rather than eggs will be the norm. Of course, binary eggs for windows and perhaps some other platforms would be useful. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http

Re: [ZODB-Dev] packaging zodb in eggs.

2006-03-03 Thread Jim Fulton
and packaged separately. But that's more work than we want to do now. I do think that persistent will someday be useful outside of ZODB. In which case, so would BTrees. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http

Re: [ZODB-Dev] Re: Historical Persistent References -- Feedback Wanted!

2006-03-15 Thread Jim Fulton
reason, the ZODB uses jar as a term for a ZODB connection). This goes back to early BoboPOS versions and is based on the notion of a pickle jar. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope

[ZODB-Dev] New mailing list: [EMAIL PROTECTED] for all checkin messages

2006-03-18 Thread Jim Fulton
in saying your messages are being held for moderation. I am moderating the list. When I see legitimate held messages, I'll add the sender to the list of valid non-member senders. So if you don't want to subscribe, you don't have to. :) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python

[ZODB-Dev] Re: [Zope-dev] New mailing list: [EMAIL PROTECTED] for all checkin messages

2006-03-18 Thread Jim Fulton
Tino Wildenhain wrote: Jim Fulton schrieb: I've set up a new mailing list that gets all checkins for the zope.org CVS and Subversion repositories: http://mail.zope.org/mailman/listinfo/checkins Note to contributors: Only members can send messages to this list. This means that you will get

Re: [ZODB-Dev] [Performance] excessive time in Connection.afterCompletion

2006-04-02 Thread 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 http://mail.zope.org/mailman/listinfo/zodb-dev

Re: [ZODB-Dev] [Performance] excessive time in Connection.afterCompletion

2006-04-02 Thread Jim Fulton
Jim Fulton wrote: ... You can do that now. Just start a thread with the main loop. Note that Zope 3 does this now when the Twisted server is used. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org

[ZODB-Dev] Re: [Zope-dev] Re: 64-bit BTrees

2006-04-13 Thread Jim Fulton
either 32-bit or 64-bit integers at run-time. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: ZEO cache best practices, was Re: [ZODB-Dev] ZEO 3.2 (Zope 2.7) -3.6 (Zope 2.9) upgrading: Much slower startup due to cache file creation

2006-04-19 Thread Jim Fulton
definately error in the direction of using a larger cache Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Getting all OIDs from a storage.

2006-04-24 Thread Jim Fulton
of iterating over all objects on any storage? Absolutely. That has been the plan all along. The api in FileStorage was just a beginning step toward this. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http

Re: [ZODB-Dev] Getting all OIDs from a storage.

2006-04-24 Thread Jim Fulton
Christian Theune wrote: Am Montag, den 24.04.2006, 10:06 -0400 schrieb Jim Fulton: Christian Theune wrote: Hi, we are using Zope 3 generations to update ZODBs. Sometimes the default tools that traverse the object tree are not covering all bases. I opened access to the FileStorage index

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Jim Fulton
networking be independent of an application. Fortunately, asyncore allows multiple independent main loops. Does Twisted? Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Jim Fulton
Florent Guillaume wrote: On 25 Apr 2006, at 15:23, Jim Fulton wrote: Florent Guillaume wrote: [Ccing zodb-dev] On 25 Apr 2006, at 15:09, David Pratt wrote: The protocol is simple yes, but the iteractions w.r.t threading are sometimes subtle. Hi Florent. This could be set up using

[ZODB-Dev] Re: SVN: Zope3/branches/jim-adapter/src/zope/app/component/ Added compatibility for old pickles.

2006-04-25 Thread Jim Fulton
Florent Guillaume wrote: Hi, Jim Fulton wrote: Log message for revision 67595: Added compatibility for old pickles. Modified: Zope3/branches/jim-adapter/src/zope/app/component/tests/test_registration.py +# Work around a bug in ZODB +# XXX fix ZODB +class FileStorage

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Jim Fulton
are: - Whether we want Twisted to be a dependency of ZEO - Performance Switching to twisted would be a big change. If I was to make such a change, which I anticipate, it would be great if twised could be an option. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-05-01 Thread Jim Fulton
Rodrigo Dias Arruda Senra wrote: You probably already know all of these, but just in case ... [ Jim Fulton ]: --- | | I am strongly against linking ZEO to an application's main loop. Twisted performs better if the protocols build upon it rely on its reactor (asynchronous loop

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-05-01 Thread Jim Fulton
to experiment in zope's svn? Sure I could. Submit a contributor's ageement and make a branch. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Getting all OIDs from a storage.

2006-05-01 Thread Jim Fulton
Tim Peters wrote: [Christian Theune] Hmm. Sorry, but could you point out where the API is defined? I might not have looked hard enough. I only found internals to exploit. :( [Jim Fulton] I wish I could. I'm almost certain that Chris McDonough implemented one at PyCon 2005

Re: [ZODB-Dev] Missing Content

2006-05-01 Thread Jim Fulton
. The client and it's cache are not involved. In fact, this has nothing to do with ZEO., Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

[ZODB-Dev] RFC: Fixup Depedencies

2006-05-01 Thread Jim Fulton
-- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ For more information about ZODB, see the ZODB

Re: [ZODB-Dev] Getting all OIDs from a storage.

2006-05-02 Thread Jim Fulton
Jim Fulton wrote: ... I'm surprised I couldn't find a proposal for this. I think I'll work one one. It's at: http://www.zope.org/Wikis/ZODB/DatabaseConversionSupport Comments are welcome. :) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO

Re: [ZODB-Dev] Really want to refactor ZEO's networking archiecture

2006-05-05 Thread Jim Fulton
on this theme /* the sprint theme is presently open */. But I cannot promiss anything for the time being. I think that the first step is to discuss the design. This will not involved a lot of development time initially. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered

Re: [ZODB-Dev] Really want to refactor ZEO's networking archiecture

2006-05-05 Thread Jim Fulton
Tisted's use without requiring it. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Really want to refactor ZEO's networking archiecture

2006-05-05 Thread Jim Fulton
matter at all, except to provide new opportunities for the future. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Really want to refactor ZEO's networking archiecture

2006-05-05 Thread Jim Fulton
an explicitly stated goal, it's not likely to happen. :) Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org

Re: [ZODB-Dev] Really want to refactor ZEO's networking archiecture

2006-05-07 Thread Jim Fulton
Some notes on this can be found at: http://svn.zope.org/ZODB/branches/network/notes.txt?view=markup Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com

[ZODB-Dev] Version thoughts

2006-05-14 Thread Jim Fulton
. I just did a quick scan of the DB and Connection code and see opportunities like eliminating the modified-in-version cache, eliminating version-aware object-cache policies and possibly eliminating connection pools for version data. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python

[ZODB-Dev] getExtensionMethods

2006-05-14 Thread Jim Fulton
-- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ For more information about ZODB, see the ZODB Wiki

Re: [ZODB-Dev] getExtensionMethods

2006-05-15 Thread Jim Fulton
Toby Dickenson wrote: On Sunday 14 May 2006 21:52, Jim Fulton wrote: Toby, this is almost certainly a question for you. :) Can someone explain to me why getExtensionMethods is needed in the storage API? It's not used by anything in ZODB. ZEO proxies the standard storage API. Right

Re: [ZODB-Dev] Undo differences between Z2 and Z3

2006-05-16 Thread Jim Fulton
d.update(cPickle.loads(ext)) You should report this to Shane. It's possible that there is a bug in PGStorage in handling extension data. I can easily believe that Z2 doesn't use extension data and perhaps z3 does. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered

Re: [ZODB-Dev] Undo differences between Z2 and Z3

2006-05-17 Thread Jim Fulton
Chris Withers wrote: Hi Jim, Jim Fulton wrote: BTW, I strongly discourage use of Undo except in emergencies. Sadly, except when undoing the last (non-undo) transactions in a database can lead to inconsistency. What sort of inconsistencies are you referring to? Logical inconsistencies

Re: [ZODB-Dev] Undo differences between Z2 and Z3

2006-05-18 Thread Jim Fulton
Chris Withers wrote: Jim Fulton wrote: ... Even if you did track reads, how would you distinguish an unsafe read as above from a normal read that shouldn't cause a conflict? A write (or the undo of a write) would conflict with any reads in later transactions. Jim -- Jim Fulton

Re: [ZODB-Dev] Undo differences between Z2 and Z3

2006-05-19 Thread Jim Fulton
Chris Withers wrote: Jim Fulton wrote: Chris Withers wrote: Jim Fulton wrote: Even if you did track reads, how would you distinguish an unsafe read as above from a normal read that shouldn't cause a conflict? A write (or the undo of a write) would conflict with any reads in later

Re: [ZODB-Dev] Clustering ZEO Server with drbd

2006-05-30 Thread Jim Fulton
of ZRS is that it supports geographic replication. Your secondaries can be offsite. We will also be adding an option for remote backups using the ZRS recovery protocol without actually running a full-bore secondary. We are starting to use this for some of our customers now. Jim -- Jim

Re: [ZODB-Dev] ZEO LoadEx?

2006-06-19 Thread Jim Fulton
and don't have time to look atm, But I'll take a shot in the dark and see if I get lucky. :) Are you running the same versions of ZODB on the client and the server? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361

Re: [ZODB-Dev] ZEO cache bug? (again)

2006-07-31 Thread Jim Fulton
and client and restart them, does the problem persist? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com

Re: [ZODB-Dev] ZEO cache bug? (again)

2006-07-31 Thread Jim Fulton
On Jul 31, 2006, at 3:55 PM, Jim Fulton wrote: On May 31, 2006, at 4:03 AM, Chris Withers wrote: Hi All, I mentioned this before: File C:\Zope\2.9.2\lib\python\ZEO\cache.py, line 151, in setLastTid self.fc.settid(tid) File C:\Zope\2.9.2\lib\python\ZEO\cache.py, line 1060

Re: [ZODB-Dev] [Warning] potential ZODB cache inconsistency after client reconnect

2006-08-15 Thread Jim Fulton
On Jun 12, 2006, at 1:35 PM, Dieter Maurer wrote: Sorry to take so long to get to this Jim Fulton wrote at 2006-6-12 06:34 -0400: ... The potential inconsistency occurs because the ZODB (Connection) cache may contain objects not in the ZEO client cache. Even if invalid meanwhile

Re: Re[4]: [ZODB-Dev] Commit Progress Indictor

2006-08-16 Thread Jim Fulton
been found to be a problem? Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org

Re: [ZODB-Dev] [Warning] potential ZODB cache inconsistency after client reconnect

2006-08-16 Thread Jim Fulton
On Aug 15, 2006, at 2:32 PM, Jim Fulton wrote: On Jun 12, 2006, at 1:35 PM, Dieter Maurer wrote: Sorry to take so long to get to this Jim Fulton wrote at 2006-6-12 06:34 -0400: ... The potential inconsistency occurs because the ZODB (Connection) cache may contain objects

Re: Re[6]: [ZODB-Dev] Commit Progress Indictor

2006-08-17 Thread Jim Fulton
in ZODB. Yup I can put a fake progress indicator anytime that advances every second a bit and never reaches 100%. Good idea. :) Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http

Re: [ZODB-Dev] ZEO cache bug? (again)

2006-08-17 Thread Jim Fulton
On Aug 17, 2006, at 2:52 AM, Chris Withers wrote: Hi Jim, Sorry for the delay, was on holiday in Canada... Jim Fulton wrote: On May 31, 2006, at 4:03 AM, Chris Withers wrote: File C:\Zope\2.9.2\lib\python\ZEO\cache.py, line 151, in setLastTid self.fc.settid(tid) File C:\Zope

Re: [ZODB-Dev] Mounted ZODB support ?

2006-08-27 Thread Jim Fulton
. ? By creating separate transaction managers and passing each connection it's own transaction manager when you create it. This causes the connections to be divorced from the thread-local transaction manager. Note that this has nothing to do with mounting or multi- databases. Jim -- Jim Fulton

Re: [ZODB-Dev] Mounted ZODB support ?

2006-08-27 Thread Jim Fulton
On Aug 27, 2006, at 9:53 AM, Jim Fulton wrote: No. Starting in 3.3, ZODB has multi-database support, which made Zope 2's implementation of mounting much cleaner. I got confused about version numbers. Multi-databases were introduced in ZODB 3.6. Jim -- Jim Fulton

Re: [ZODB-Dev] Problem Storing Infinity

2006-09-12 Thread Jim Fulton
() result out of range - Yeah, especially because I didn't realize we were using protocol 2 yet. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation

Re: [ZODB-Dev] Problem Storing Infinity

2006-09-12 Thread Jim Fulton
. Unfortunately, it doesn't understand protocol 2 yet.) Jim -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com

Re: [ZODB-Dev] unghostified object not in cache

2006-09-18 Thread Jim Fulton
/listinfo/zodb-dev -- Jim Fulton mailto:[EMAIL PROTECTED]Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporationhttp://www.zope.com http://www.zope.org

  1   2   3   4   5   6   7   8   9   >