This is an automated email from the ASF dual-hosted git repository.

jasonhuynh pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 83c667b  GEODE-3926: Catching exception from lucene query computing 
thread (#1774)
83c667b is described below

commit 83c667b12c510f7a10aca57179b9e61f29cfddbb
Author: Jason Huynh <huyn...@gmail.com>
AuthorDate: Fri Apr 13 13:28:59 2018 -0700

    GEODE-3926: Catching exception from lucene query computing thread (#1774)
---
 .../geode/cache/lucene/internal/PartitionedRepositoryManager.java       | 2 +-
 .../cache/lucene/internal/PartitionedRepositoryManagerJUnitTest.java    | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/PartitionedRepositoryManager.java
 
b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/PartitionedRepositoryManager.java
index e439293..bc8450e 100755
--- 
a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/PartitionedRepositoryManager.java
+++ 
b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/PartitionedRepositoryManager.java
@@ -92,7 +92,7 @@ public class PartitionedRepositoryManager implements 
RepositoryManager {
           waitingThreadPoolFromDM.execute(() -> {
             try {
               getRepository(userBucket.getId());
-            } catch (BucketNotFoundException | LuceneIndexDestroyedException 
e) {
+            } catch (Exception e) {
               logger.debug("Lucene Index creation in progress.", e);
             }
           });
diff --git 
a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/PartitionedRepositoryManagerJUnitTest.java
 
b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/PartitionedRepositoryManagerJUnitTest.java
index a796563..654c6a9 100644
--- 
a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/PartitionedRepositoryManagerJUnitTest.java
+++ 
b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/PartitionedRepositoryManagerJUnitTest.java
@@ -288,7 +288,6 @@ public class PartitionedRepositoryManagerJUnitTest {
     repoManager.getRepositories(ctx);
   }
 
-  @Ignore
   @Test
   public void queryOnlyWhenIndexIsAvailable() throws Exception {
     setUpMockBucket(0);

-- 
To stop receiving notification emails like this one, please contact
jasonhu...@apache.org.

Reply via email to