You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ds...@apache.org on 2018/01/11 00:55:32 UTC
[geode] branch feature/GEODE-3583-storage updated: GEODE-4213: do
not call getExisting
This is an automated email from the ASF dual-hosted git repository.
dschneider pushed a commit to branch feature/GEODE-3583-storage
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/feature/GEODE-3583-storage by this push:
new 2c64247 GEODE-4213: do not call getExisting
2c64247 is described below
commit 2c642473ccef0af9ee9b4f7b2ff1c3dc271f251c
Author: Darrel Schneider <ds...@pivotal.io>
AuthorDate: Wed Jan 10 16:53:52 2018 -0800
GEODE-4213: do not call getExisting
Now uses LocalRegion.getCache() instead.
---
.../geode/internal/cache/snapshot/RegionSnapshotServiceImpl.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/snapshot/RegionSnapshotServiceImpl.java b/geode-core/src/main/java/org/apache/geode/internal/cache/snapshot/RegionSnapshotServiceImpl.java
index 9554f21..49e1e58 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/snapshot/RegionSnapshotServiceImpl.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/snapshot/RegionSnapshotServiceImpl.java
@@ -282,9 +282,8 @@ public class RegionSnapshotServiceImpl<K, V> implements RegionSnapshotService<K,
}
final Map<K, V> copy = new HashMap<>(buffer);
- Future<?> f = GemFireCacheImpl.getExisting("Importing region from snapshot")
- .getDistributionManager().getWaitingThreadPool().submit((Runnable) () -> local
- .basicImportPutAll(copy, !options.shouldInvokeCallbacks()));
+ Future<?> f = local.getCache().getDistributionManager().getWaitingThreadPool().submit(
+ (Runnable) () -> local.basicImportPutAll(copy, !options.shouldInvokeCallbacks()));
puts.addLast(f);
buffer.clear();
--
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].