geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-2828) AEQ needs to be created before the user region
Date Mon, 01 May 2017 17:38:04 GMT

    [ https://issues.apache.org/jira/browse/GEODE-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991155#comment-15991155
] 

ASF GitHub Bot commented on GEODE-2828:
---------------------------------------

Github user jhuynh1 commented on a diff in the pull request:

    https://github.com/apache/geode/pull/481#discussion_r114161620
  
    --- Diff: geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/AbstractPartitionedRepositoryManager.java
---
    @@ -111,6 +121,10 @@ protected IndexRepository computeRepository(Integer bucketId) {
         return repo;
       }
     
    +  protected void allowRepositoryComputation() {
    --- End diff --
    
    Nitpick isn't this representing that the repository is ready for use?  Should rename the
latch and method to reflect this, such as readyForUse and enableRepositoryForUse? 


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

Mime
View raw message