You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ja...@apache.org on 2018/03/13 17:45:54 UTC

[geode] branch develop updated: GEODE-4825: Lucene Index should reset pdx read serialized (#1598)

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 a2099c4  GEODE-4825: Lucene Index should reset pdx read serialized (#1598)
a2099c4 is described below

commit a2099c436eb43412505d5f06a258473090da0679
Author: Jason Huynh <hu...@gmail.com>
AuthorDate: Tue Mar 13 10:45:51 2018 -0700

    GEODE-4825: Lucene Index should reset pdx read serialized (#1598)
---
 .../org/apache/geode/cache/lucene/internal/IndexRepositoryFactory.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/IndexRepositoryFactory.java b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/IndexRepositoryFactory.java
index d93a068..f8e83be 100644
--- a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/IndexRepositoryFactory.java
+++ b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/IndexRepositoryFactory.java
@@ -127,8 +127,8 @@ public class IndexRepositoryFactory {
     } finally {
       if (!success) {
         lockService.unlock(lockName);
-        cache.setPdxReadSerializedOverride(initialPdxReadSerializedFlag);
       }
+      cache.setPdxReadSerializedOverride(initialPdxReadSerializedFlag);
     }
   }
 

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