Bug 1155688 - Conditional Operation can fail erroneously during ST
Summary: Conditional Operation can fail erroneously during ST
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER3
: 6.4.0
Assignee: Dan Berindei
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-22 15:55 UTC by Dan Berindei
Modified: 2015-01-28 13:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-28 13:28:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-3830 0 Major Resolved Conditional Operation can fail erroneously during ST 2016-03-31 05:23:03 UTC

Description Dan Berindei 2014-10-22 15:55:21 UTC
Currently the retry logic for commands is to only throw a OutdatedTopologyException when a command is successful.

This however can have the following issue.

k1 owned by N1, N2

1. N3 updates k1 sending conditional command to N1
2. N1 receives command and starts running it (passes topology block)
3. ST occurs causing N1 to no longer be an owner and removes k1 from it's data container.
4. N1 runs optional command and it fails and thus doesn't throw OutdatedTopologyException
5. N3 gets response that command failed, but it could have worked had it gone to a real owner.

Comment 2 Sebastian Łaskawiec 2014-10-24 11:50:40 UTC
PR: https://github.com/infinispan/jdg/pull/303


Note You need to log in before you can comment on or make changes to this bug.