[Zope-ZEO] Re: [Zope-dev] ZEO on NT?

julio dinis juliodinis@hotmail.com
Mon, 26 Jun 2000 13:08:00 PDT


Hi all,

here is the traceback I get from an NT Client
when try to change an object.

--------------------------------------------------------------------
Traceback (innermost last):
  File C:\Portal2.2\lib\python\ZPublisher\Publish.py, line 222, in 
publish_module
  File C:\Portal2.2\lib\python\ZPublisher\Publish.py, line 199, in publish
  File C:\Portal2.2\lib\python\ZPublisher\Publish.py, line 199, in publish
  File C:\Portal2.2\lib\python\ZPublisher\Publish.py, line 199, in publish
  File C:\Portal2.2\lib\python\ZPublisher\Publish.py, line 195, in publish
  File C:\Portal2.2\lib\python\Zope\__init__.py, line 188, in 
zpublisher_exception_hook
  File C:\Portal2.2\lib\python\ZPublisher\Publish.py, line 175, in publish
  File C:\Portal2.2\lib\python\Zope\__init__.py, line 235, in commit
  File C:\Portal2.2\lib\python\ZODB\Transaction.py, line 267, in commit
  File C:\Portal2.2\lib\python\ZODB\Connection.py, line 530, in tpc_vote
ConflictError: ('\004>,\334O\034\223"', 
'\004>,\335\366\221\015\231')
--------------------------------------------------------------------

Any comments to this would help.



I've made a different test. Setup:

Machine 1 ZSS Linux
Machine 2 ZCS Linux
Machine 3 ZCS Linux
Machine 4 ZCS NT
Machine 5 ZCS NT
I put all client's cache_size=0, so no cache.

conclusion: NT clients can change objects changed by other clients
and no more conflict error. However NT clients cant see other clients
changes made to objects.


So like Jim said this is something related with the networking stuff
with NT Clients, looks like they are not being completely updated 
(invalidator?) by the ZSS. Medusa debug is giving me correct results
either from NT or Linux,i.e, when a change is made the debug from the ZSS 
asyncore gives me:

[15] [] []
[] [15] []
[15] [] []
[] [15] []
[15] [] []
[] [15] []
[15] [] []
[] [15, 14, 13, 16] []


so all my clients get the *invalidator* response from the ZSS but the NTs 
are not catching something here.


But wondering *why* on NT, and since Jim said the focus is on unix, it could 
be some code that are not completly os independent,
such as file handling(read,write), for this I have in mind the way .zec 
files are updated. Or the use of sockets.

I'll continue to dig,

Júlio Dinis Silva

>From: Jim Fulton <jim@digicool.com>
>To: julio dinis <juliodinis@hotmail.com>
>CC: zope-dev@zope.org, zope-zeo@zope.org
>Subject: Re: [Zope-dev] ZEO on NT? update
>Date: Thu, 22 Jun 2000 19:07:43 -0400
>
>Messages about ZEO should be sent to the zope-zeo@zope.org,
>http://lists.zope.org/mailman/listinfo/zope-zeo
>
>julio dinis wrote:
> >
> > Ok. :-)
> >
> > Continuing with the ZODB.POSException.Conflit...
> >
> > Now I know the problem with Zeo on NT is with the ClientStorage
> > and not with the ServerStorage.
> > You ask why? Because Ive tested different setup to come to this
> > conclusion.
>(snip)
>
>This is very helpful. Our *current* focus is on Unix.
>I've seen this problem on Windows, but haven't had time
>yet to look into it, and probably won't very soon.
>I certainly haven't done the sort of test you've done.
>
>I don't think that the problem it pickle-related, since pickles
>are platform independent. It appears to be some strangosity
>with the async/networking code.
>
>Let me know if you figure anything out. :)
>
>Jim
>
>--
>Jim Fulton           mailto:jim@digicool.com   Python Powered!
>Technical Director   (888) 344-4332            http://www.python.org
>Digital Creations    http://www.digicool.com   http://www.zope.org
>
>Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
>address may not be added to any commercial mail list with out my
>permission.  Violation of my privacy with advertising or SPAM will
>result in a suit for a MINIMUM of $500 damages/incident, $1500 for
>repeats.
>
>_______________________________________________
>Zope-Dev maillist  -  Zope-Dev@zope.org
>http://lists.zope.org/mailman/listinfo/zope-dev
>**  No cross posts or HTML encoding!  **
>(Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com