[
https://issues.apache.org/jira/browse/GEODE-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15494571#comment-15494571
]
ASF subversion and git services commented on GEODE-1885:
--------------------------------------------------------
Commit 9b710ab0af2bc6af2667010c004ad4798b0b8700 in incubator-geode's branch
refs/heads/develop from [~agingade]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=9b710ab ]
GEODE-1885: Removed call to check readiness (region check) after the offheap
region entry is released.
GEODE-1885: Missing subsctiption event with Offheap partitioned region during
bucket rebalance.
During the trasaction commit on redundant bucket region, if the bucket region
is moved, the call-back logic (to deliver subscription events) were not invoked
due to check-readiness call with offheap region. The check-readiness throws
exception, if the region is not found, which causes the code to return early
without sending the subscription events.
In this scenario, calling check-readiness is not needed...
> Missing subsctiption event with Offheap partitioned region during bucket
> rebalance.
> -----------------------------------------------------------------------------------
>
> Key: GEODE-1885
> URL: https://issues.apache.org/jira/browse/GEODE-1885
> Project: Geode
> Issue Type: Bug
> Components: offheap
> Reporter: Anilkumar Gingade
> Assignee: Anilkumar Gingade
>
> During transaction operation, if there is concurrent redundant bucket
> re-balance is in progress, the client can miss a subscription event, if its
> primary queue is hosted on the node where bucket gets moved from.
> Consider, three node cluster N1, N2 and N3. With:
> - Client C1 connected to node N2.
> - Primary bucket region B1 on N1. And secondary bucket for B1 on N2.
> - A Transaction is started on N2, which creates a entry on B1.
> - When the TX is committed. At the same time the Bucket B1 on N2 is moved to
> N3.
> - The Tx commit message from N1 is sent to N2. This also includes the
> subscription message, satisfying the client C1.
> - On N2, for offheap region, when bucket is not found locally, the exception
> response is sent to back to N1 without processing the subscription message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)