With WriteSkew enabled and REPEATABLE_READ enabled, changing AtomicMap values during a transaction and then attempting to read or write these values , does not throw any WriteSkew exception. This happens for both DIST and REPL in local mode.
Pedro Ruivo <pruivo> updated the status of jira ISPN-4053 to Coding In Progress
Shay, I'm unable to reproduce this in any version. Do you have any logs? I created this test [1] and everything seems to work. If you have some sample code that reproduces this issue, I'll be glad to have it.
ops, forgot the link [1] https://github.com/pruivo/infinispan/commit/3504baf8225a25f4d185f463e20ab4171387d0b9#diff-08515c048ae2997f4096369f47c420b1R55
Pedro, this was tested when the repeatable read bz(https://bugzilla.redhat.com/show_bug.cgi?id=1047905) was still not fixed. Is it possible that fixing one, resolved the other? The test harness I used was the same for both issues , but on one test I enabled WritSkew , to see if I got the exception.your code looks just like the code I used.
Hi Shay, yes, probably I fixed without knowing. I'll add the my tests to both to the test suite.
great :) thanks much!