Bug 1152886 - Split-brain: get() returns null when all owners are removed from view
Summary: Split-brain: get() returns null when all owners are removed from view
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER2
: 6.4.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks: jdg64-Beta-Blockers
TreeView+ depends on / blocked
 
Reported: 2014-10-15 07:05 UTC by Radim Vansa
Modified: 2015-01-28 13:27 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-28 13:27:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-4673 0 Critical Open Split-brain: get() returns null when all owners are removed from view 2014-10-15 07:05:21 UTC

Description Radim Vansa 2014-10-15 07:05:20 UTC
After split brain: when calling cache.get() for an entry that has all owners in the missing partition, JGroupsTransport removes the target nodes that are no longer members and then returns empty response map
BaseDistributionInterceptor.invokeClusterGetCommandRemotely takes empty map as null response, although the entry is just not available.

Comment 2 Sebastian Łaskawiec 2014-10-22 15:09:20 UTC
PR: https://github.com/infinispan/jdg/pull/301

Comment 3 Sebastian Łaskawiec 2014-10-24 11:51:23 UTC
PR: https://github.com/infinispan/jdg/pull/301


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