nabarun created GEODE-2410:
------------------------------
Summary: 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 54 seconds and continue
to loop as long as it is still primary.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)