[
https://issues.apache.org/jira/browse/GEODE-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985582#comment-15985582
]
ASF GitHub Bot commented on GEODE-2828:
---------------------------------------
Github user upthewaterspout commented on a diff in the pull request:
https://github.com/apache/geode/pull/479#discussion_r113564312
--- Diff:
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneEventListener.java
---
@@ -53,6 +54,8 @@
Logger logger = LogService.getLogger();
private final RepositoryManager repositoryManager;
+ private CountDownLatch isFileAndChunkRegionReady = new CountDownLatch(1);
+ private boolean ready = false;
--- End diff --
Does this need to be a separate flag? Seems like the CoutDownLatch already
has the flag. If not this should be volatile.
> AEQ needs to be created before the user region
> ----------------------------------------------
>
> Key: GEODE-2828
> URL: https://issues.apache.org/jira/browse/GEODE-2828
> Project: Geode
> Issue Type: Bug
> Components: lucene
> Reporter: nabarun
>
> Issue:
> Events are lost as the region is being created, because the AEQ gets created
> after the user region is created, and the indexes are not being created via
> AEQ.
> Solution:
> 1. AEQ being created before the user region.
> 2. Processing of lucene events are being halted by a countdown latch and
> starts processing after the user region is created.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)