You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bs...@apache.org on 2018/11/10 00:09:55 UTC

[geode] branch feature/GEODE-5072 created (now 98927d1)

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

bschuchardt pushed a change to branch feature/GEODE-5072
in repository https://gitbox.apache.org/repos/asf/geode.git.


      at 98927d1  GEODE-5072 Java clients should not access or modify internal regions

This branch includes the following new commits:

     new 98927d1  GEODE-5072 Java clients should not access or modify internal regions

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[geode] 01/01: GEODE-5072 Java clients should not access or modify internal regions

Posted by bs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bschuchardt pushed a commit to branch feature/GEODE-5072
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 98927d1f49221b3cd617337299c799de5470e072
Author: Bruce Schuchardt <bs...@pivotal.io>
AuthorDate: Fri Nov 9 16:07:53 2018 -0800

    GEODE-5072 Java clients should not access or modify internal regions
    
    Modified the kind of cache available to client/server command processing
    in order to restrict access to internal regions.
---
 .../java/org/apache/geode/internal/cache/tier/CachedRegionHelper.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/CachedRegionHelper.java b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/CachedRegionHelper.java
index 0bf102d..6e96512 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/tier/CachedRegionHelper.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/tier/CachedRegionHelper.java
@@ -31,7 +31,7 @@ public class CachedRegionHelper {
   private volatile boolean shutdown = false;
 
   public CachedRegionHelper(InternalCache cache) {
-    this.cache = cache;
+    this.cache = cache.getCacheForProcessingClientRequests();
   }
 
   public void checkCancelInProgress(Throwable e) throws CancelException {