You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2017/02/02 23:31:51 UTC

[jira] [Resolved] (GEODE-2410) afterPrimary and afterSecondary event listeners pass through the same critical section

     [ https://issues.apache.org/jira/browse/GEODE-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nabarun resolved GEODE-2410.
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0

> afterPrimary and afterSecondary event listeners pass through the same critical section
> --------------------------------------------------------------------------------------
>
>                 Key: GEODE-2410
>                 URL: https://issues.apache.org/jira/browse/GEODE-2410
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: nabarun
>             Fix For: 1.1.0
>
>
> * afterPrimary and afterSecondary listeners will call the same critical section.
> * They will acquire a Dlock on the bucket and create the index if primary.
> * If they are secondary it will close the writer and release the Dlock.
> * The primary will reattempt to acquire the lock after 5seconds and continue to loop as long as it is still primary.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)