<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm taking a look - started a discussion on the forums. :)<div><br><div><div>On 27 Jan 2012, at 16:44, Mircea Markus wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Looks like a bug, mind creating a JIRA for it?</div><div><br></div><div>On 24 Jan 2012, at 21:45, Pedro Ruivo wrote:</div><div><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
yes I have the versioning enabled. Like you said, I've posted in the
forum too [1].<br>
<br>
btw, the ISPN config is here [2]<br>
<br>
[1] -- <a class="moz-txt-link-freetext" href="https://community.jboss.org/thread/177846">https://community.jboss.org/thread/177846</a><br>
[2] -- <a class="moz-txt-link-freetext" href="http://pastebin.com/UCxGXw3K">http://pastebin.com/UCxGXw3K</a><br>
<br>
Cheers,<br>
Pedro<br>
<br>
On 24-01-2012 19:15, Mircea Markus wrote:
<blockquote cite="mid:7BC79A77-D118-4FB4-B1A2-6840EC417C06@jboss.com" type="cite">Hi Pedro and thanks for reporting this.
<div>Do you have versioning enabled? Otherwise the writeSkewCheck
won't be performed at commit time. </div>
<div>If you do have versioning enabled, may I suggest to take this
on the user forums[1] - this way it would be easier for other
users that have the same problem to find it.</div>
<div><br>
</div>
<div>[1] <a moz-do-not-send="true" href="https://community.jboss.org/community/infinispan?view=discussions&start=0">https://community.jboss.org/community/infinispan?view=discussions&start=0</a></div>
<div><br>
<div>
<div>On 24 Jan 2012, at 18:42, Pedro Ruivo wrote:</div>
<blockquote type="cite">
<div>Hi,<br>
<br>
I think I have spotted a problem with the write skew check
<br>
implementation based on versioning.<br>
<br>
I've made this test to confirm:<br>
<br>
I have a global counter that is incremented concurrently
by two <br>
different nodes, running ISPN with Repeatable Read with
write skew <br>
enabled. I expected that each successfully transaction
will commit a <br>
different value.<br>
<br>
In detail, each node do the following:<br>
<br>
beginTx<br>
Integer count = cache.get("counter");<br>
count = count + 1;<br>
cache.put("counter", count)<br>
commitTx<br>
<br>
To avoid errors, I've run this test on two ISPN versions:
5.1.0.CR4 and <br>
5.0.1.Final. In 5.0.1.Final, it works as expected.
However, on 5.1.0.CR4 <br>
I have a lot of repeated values. After a first check at
the code, I've <br>
the impression that the problem may be due to that the
version numbers <br>
of the keys for which the write skew check should be run
is not sent <br>
with the prepare command.<br>
<br>
Cheers,<br>
Pedro Ruivo<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a moz-do-not-send="true" href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
infinispan-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></pre>
</blockquote>
</div>
_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a></blockquote></div><br></div>_______________________________________________<br>infinispan-dev mailing list<br><a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/infinispan-dev</blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div>--</div><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div><a href="http://twitter.com/maniksurtani">twitter.com/maniksurtani</a></div><div><br></div><div>Lead, Infinispan</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>