geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nabarun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-2410) afterPrimary and afterSecondary event listeners pass through the same critical section
Date Wed, 01 Feb 2017 20:15:51 GMT

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

nabarun updated GEODE-2410:
---------------------------
    Description: 
* 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.


  was:
* 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 54 seconds and continue to loop as
long as it is still primary.



> 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
>
> * 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)

Mime
View raw message