Re: [ZODB-Dev] Re: extreme clock skew

2005-09-21 Thread Chris Withers
Lalo Martins wrote: So you've ignored critical-level log messages for a few weeks? I'm not trying to pick a fight , I'm trying to understand how you got into this. A critical-level log msg is the most severe thing we can do without plain refusing to run at all. It does. And we did. Don't w

[ZODB-Dev] Problems when Conflict Resolution import code that try to open client storage

2005-09-21 Thread Paolo Linux
Hi all, as a zodb newbie I had a hard debugging session... I had zodb hanging when It had to solve Conflict situations. It turned out to be that it tried to import some modules that tried to instantiate ClientStorage... I easily fixed the hurting code... Lesson learned: - never automati

[ZODB-Dev] Zope 2.8.1 w Zeo 3.4.1 fails where standalone Zope 2.8.1 works

2005-09-21 Thread Erik Lundh
I have used Zeo with Zope 2.7.6 for some time now. I currenty run Plone 2.05 on Zope 2.7.6 with zeo in production. Zope and Zeo runs on the same machine running Debian Linux 3.0 (i386). I started using zeo to make debugging of a simple skin product easier. Now I am moving to a fresh server w Debia

[ZODB-Dev] Change ZODB to PostgreSQL database

2005-09-21 Thread Tóth Zoltán
Hello! Can I change Zope Object Database to PostgeSQL database? Regards, Zoltán Tóth ___ 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/li

Re: [ZODB-Dev] Change ZODB to PostgreSQL database

2005-09-21 Thread Andreas Jung
--On 21. September 2005 12:33:47 +0200 Tóth Zoltán <[EMAIL PROTECTED]> wrote: Hello! Can I change Zope Object Database to PostgeSQL database? Why do you want to do that? As far as I know there is no dedicated storage for available for Postgres except using frameworks like Ape or SQLStora

Re: [ZODB-Dev] Change ZODB to PostgreSQL database

2005-09-21 Thread Tóth Zoltán
Hi, I would like to separate the object definitions from the contents, because the contents could be very big ordenary files and it seems better to keep them in another place, practicaly in postgesql in another server. thanx Zoli - Original Message - From: "Andreas Jung" <[EMAIL PR

[ZODB-Dev] afterCommitHook

2005-09-21 Thread Victor Safronovich
Hello zodb-dev! I used a MailHost product for e-mail notifications, but it sends mails at runtime. And when there are errors in transaction, objects have been created and its not commited, but users received mails. I think i must use an after commit hook, but transactions not supported s

Re: [ZODB-Dev] Change ZODB to PostgreSQL database

2005-09-21 Thread Andreas Jung
Look at APE or write your own logic. Moving large content into the filesystem and referencing the content by path is more or less straight forward except you have to deal with transaction issues. If you want to use Postgres you can of course write your custom ZSQL method that hook into the Zope

Re: [ZODB-Dev] afterCommitHook

2005-09-21 Thread Jim Fulton
Victor Safronovich wrote: Hello zodb-dev! ... But it should be better to add addAfterCommitHook to transaction as in addBeforeCommitHook. +1 Jim ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZO

RE: [ZODB-Dev] Re: extreme clock skew

2005-09-21 Thread Tim Peters
[Lalo Martins] >>> A few days later, we realized that pack wasn't working anymore [Tim Peters] >> What does "wasn't working" mean? ... [Lalo] > sorry for not giving detail here, I figured it would be obvious. > > During the clock skew, the database was packed at least once. Believe me when I say

RE: [ZODB-Dev] Problems when Conflict Resolution import code that try to open client storage

2005-09-21 Thread Tim Peters
[Paolo Linux] > as a zodb newbie I had a hard debugging session... > > I had zodb hanging when It had to solve Conflict situations. It turned > out to be that it tried to import some modules that tried to instantiate > ClientStorage... > > I easily fixed the hurting code... Lesson learned: >

RE: [ZODB-Dev] Zope 2.8.1 w Zeo 3.4.1 fails where standalone Zope 2.8.1works

2005-09-21 Thread Tim Peters
[Erik Lundh] > I have used Zeo with Zope 2.7.6 for some time now. I currenty run Plone > 2.05 on Zope 2.7.6 with zeo in production. Zope and Zeo runs on the same > machine running Debian Linux 3.0 (i386). I started using zeo to make > debugging of a simple skin product easier. > > Now I am moving t

RE: [ZODB-Dev] afterCommitHook

2005-09-21 Thread Tim Peters
[Victor Safronovich] > ... > it should be better to add addAfterCommitHook to transaction > as in addBeforeCommitHook. Sounds like a reasonable idea to me. Who wants to implement it? (It should be done on a branch off of current ZODB trunk, which is current ZODB 3.6 development.) The fi

Re: [ZODB-Dev] Zope 2.8.1 w Zeo 3.4.1 fails where standalone Zope 2.8.1 works

2005-09-21 Thread Dieter Maurer
Erik Lundh wrote at 2005-9-21 10:17 +0200: >I have used Zeo with Zope 2.7.6 for some time now. >I currenty run Plone 2.05 on Zope 2.7.6 with zeo in production. Zope and Zeo >runs on the same >machine running Debian Linux 3.0 (i386). >I started using zeo to make debugging of a simple skin product ea

Re: [ZODB-Dev] afterCommitHook

2005-09-21 Thread Dieter Maurer
Victor Safronovich wrote at 2005-9-21 17:19 +0600: > ... >I used a MailHost product for e-mail notifications, but it sends mails >at >runtime. And when there are errors in transaction, objects have been created >and its not >commited, but users received mails. > >I think i must use an aft

Re: [ZODB-Dev] Problems when Conflict Resolution import code that try to open client storage

2005-09-21 Thread Dieter Maurer
Paolo Linux wrote at 2005-9-21 11:23 +0200: > ... >I had zodb hanging when It had to solve Conflict situations. >It turned out to be that it tried to import some modules that >tried to instantiate ClientStorage... > >I easily fixed the hurting code... >Lesson learned: > >- never automatically regis

Re: [ZODB-Dev] afterCommitHook

2005-09-21 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim Peters wrote: > [Victor Safronovich] > >>... >>it should be better to add addAfterCommitHook to transaction >>as in addBeforeCommitHook. > yup it could be really useful to trigger non transactionnal code from there. We might use this in

RE: [ZODB-Dev] afterCommitHook

2005-09-21 Thread Tim Peters
[Victor Safronovich] >>> ... it should be better to add addAfterCommitHook to >>> transaction as in addBeforeCommitHook. [Julien Anguenot] > yup it could be really useful to trigger non transactionnal code from > there. We might use this in here with our CPSRelation product and the rdf > db

[ZODB-Dev] Re: afterCommitHook

2005-09-21 Thread Florent Guillaume
Dieter Maurer <[EMAIL PROTECTED]> wrote: > Victor Safronovich wrote at 2005-9-21 17:19 +0600: > > ... > >I used a MailHost product for e-mail notifications, but it sends > >mails at runtime. And when there are errors in transaction, objects > >have been created and its not commited, but users rece

[ZODB-Dev] Re: extreme clock skew

2005-09-21 Thread Lalo Martins
And so says Tim Peters on 21/09/05 23:22... > [Tim Peters] >>>You didn't tell us anything about what your packing fix did ... > [Lalo Martins] >>It considers timestamps in the future as infinitely old; so in a >>hypotetical database where all transactions are in the future, it would >>copy only "re

RE: [ZODB-Dev] Re: extreme clock skew

2005-09-21 Thread Tim Peters
[Lalo Martins] >>> It considers timestamps in the future as infinitely old; so in a >>> hypotetical database where all transactions are in the future, it would >>> copy only "reachable" transactions. [Tim Peters] >> Offhand that makes sense. It would be interesting to figure out why >> it didn't

[ZODB-Dev] Re: extreme clock skew

2005-09-21 Thread Lalo Martins
And so says Tim Peters on 22/09/05 08:12... > [Lalo] > >>It is in the collector, in case you want to check. >>http://www.zope.org/Collectors/Zope/1861 > > Hmm. Didn't you say this didn't work for you? If so, the Collector > comments should say so up front. It _does_ work, and if you have a mon

Re[2]: [ZODB-Dev] afterCommitHook

2005-09-21 Thread Victor Safronovich
Hello Dieter Maurer, Thursday, September 22, 2005, 12:23:05 AM, you wrote: DM> Do you not want to send the email and make the SQL/ZODB modification DM> in the *SAME* transaction? I want to send, but after transaction is done with positive result. DM> Your approach would send the email after th