Re: conflict resolution logs continuously coming in zeo.log
Sanjay Rao <[email protected]> Tue, 16 Oct 2018 02:32:54 -0700 (PDT)
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1936_673658584.1539682374397 Content-Type: multipart/alternative; boundary="----=_Part_1937_2074908133.1539682374397" ------=_Part_1937_2074908133.1539682374397 Content-Type: text/plain; charset="UTF-8" Is there any update on it ? or suggestion to solve this problem ? Would simply replacing "ValueError" with "ConflictError" solve the problem ? On Saturday, 30 September 2017 21:39:59 UTC+5:30, Jim Fulton wrote: > > > > On Thu, Sep 28, 2017 at 8:47 AM, Sanjay Rao <[email protected] > <javascript:>> wrote: > >> I am getting following logs in zeo.log again and again : >> > > So the server? > > >> >> >> 2017-06-09T15:31:46 ERROR ZODB.ConflictResolution Unexpected error while >> trying to resolve conflict on <type 'BTrees.OOBTree.OOBucket'> >> Traceback (most recent call last): >> File >> "C:\batonSites\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\ZODB\ConflictResolution.py", >> line 285, in tryToResolveConflict >> resolved = resolve(old, committed, newstate) >> File >> "C:\batonSites\Python27\lib\site-packages\zodb-4.4.3-py2.7.egg\ZODB\ConflictResolution.py", >> line 178, in _*cmp*_ >> "can't reliably compare against different " >> ValueError: can't reliably compare against different PersistentReferences >> >> >> What could be the reason of getting this type of error at ZEO end ? >> > This looks like a bug. It should raise a ConflictError, which shouldn't > be logged on the server. > > Wanna create an issue? > > Jim > > -- > Jim Fulton > http://jimfulton.info > -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. ------=_Part_1937_2074908133.1539682374397 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Is there any update on it ? <br></div><div>or suggest= ion to solve this problem ?</div><div>Would simply replacing "ValueErr= or" with "ConflictError" solve the problem ?<br></div><div><= br></div><br>On Saturday, 30 September 2017 21:39:59 UTC+5:30, Jim Fulton = wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8= ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><br><di= v><br><div class=3D"gmail_quote">On Thu, Sep 28, 2017 at 8:47 AM, Sanjay Ra= o <span dir=3D"ltr"><<a href=3D"javascript:" target=3D"_blank" gdf-obfus= cated-mailto=3D"AmzUt1ihAwAJ" rel=3D"nofollow" onmousedown=3D"this.href=3D&= #39;javascript:';return true;" onclick=3D"this.href=3D'javascript:&= #39;;return true;">[email protected]</a>></span> wrote:<br><blockquote= class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli= d;padding-left:1ex"><div dir=3D"ltr"><p>I am getting following logs in zeo.= log again and again :</p></div></blockquote><div><br></div><div>So the serv= er?</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin= :0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><= p><br></p><p><br></p> <p>2017-06-09T15:31:46 ERROR ZODB.ConflictResolution Unexpected error=20 while trying to resolve conflict on <type=20 'BTrees.OOBTree.OOBucket'><br> Traceback (most recent call last):<br> File=20 "C:\batonSites\Python27\lib\<wbr>site-packages\zodb-4.4.3-py2.<wbr>7.e= gg\ZODB\ConflictResolution.<wbr>py", line 285, in tryToResolveConflict<br> resolved =3D resolve(old, committed, newstate)<br> File "C:\batonSites\Python27\lib\<wbr>site-packages\zodb-4.4.3-py2.<= wbr>7.egg\ZODB\ConflictResolution.<wbr>py", line 178, in _<i>cmp</i>_<= br> "can't reliably compare against different "<br> ValueError: can't reliably compare against different PersistentReferenc= es</p><p><br></p><p>What could be the reason of getting this type of error = at ZEO end ?</p></div></blockquote><div>This looks like a bug.=C2=A0 It sho= uld raise a ConflictError, which shouldn't be logged on the server.</di= v><div><br></div><div>Wanna create an issue?</div><div><br></div><div>Jim</= div><div><br></div></div>-- <br><div>Jim Fulton<br><a href=3D"http://jimful= ton.info" target=3D"_blank" rel=3D"nofollow" onmousedown=3D"this.href=3D= 9;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjimfulton.info\x26sa\x3dD\x26= sntz\x3d1\x26usg\x3dAFQjCNHmSNcJBOrf0pC5m6u_EGiOTWHw1g';return true;" o= nclick=3D"this.href=3D'http://www.google.com/url?q\x3dhttp%3A%2F%2Fjimf= ulton.info\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHmSNcJBOrf0pC5m6u_EGiOTW= Hw1g';return true;">http://jimfulton.info</a><br></div> </div></div> </blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;zodb" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">zodb+unsubscri= [email protected]</a>.<br /> For more options, visit <a href=3D"https://groups.google.com/d/optout">http= s://groups.google.com/d/optout</a>.<br /> ------=_Part_1937_2074908133.1539682374397-- ------=_Part_1936_673658584.1539682374397--