ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Goncharuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1165) Assertion error is thrown in OFFHEAP_TIERED mode and near cache enabled.
Date Tue, 28 Jul 2015 21:31:04 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645078#comment-14645078
] 

Alexey Goncharuk commented on IGNITE-1165:
------------------------------------------

The reason behind the failure (see GridNearGetFuture#map())

 - When data node is stopped, near entry becomes invalid because primary owner is changed
 - When {{get()}} is called on near node, local variable {{entry}} is first initialized with
near entry, but {{innerGet()}} returns {{null}} because near entry is invalid
 - Since offheap is enabled and node is client, {{dht.entryEx}} throws invalid partition exception
 - Local variable {{entry}} remains initialized with near entry, however {{finally}} block
assumes that {{entry}} is a DHT entry if not null


> Assertion error is thrown in OFFHEAP_TIERED mode and near cache enabled.
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-1165
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1165
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>            Reporter: Alexey Goncharuk
>            Assignee: Alexey Goncharuk
>            Priority: Blocker
>             Fix For: sprint-8
>
>         Attachments: IgniteCacheNearOffheapGetSelfTest.java
>
>
> The attached test fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message