<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body 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>
</body>
</html>