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

2017-02-08 Thread Hitesh Khamesra (JIRA)

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

Hitesh Khamesra updated GEODE-2410:
---
Fix Version/s: (was: 1.1.0)
   1.2.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.2.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)


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

2017-02-01 Thread nabarun (JIRA)

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