geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject incubator-geode git commit: Revert "management events are now disabled if the distributed system is a loner"
Date Mon, 27 Jul 2015 22:12:48 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-86 11dfc07a1 -> b6096d880


Revert "management events are now disabled if the distributed system is a loner"

This reverts commit 98c31fa34c819007adfb2b35daf14abc23d05dd5.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/b6096d88
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/b6096d88
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/b6096d88

Branch: refs/heads/feature/GEODE-86
Commit: b6096d880516fa4229992ef162a5bd941787451d
Parents: 11dfc07
Author: Darrel Schneider <dschneider@pivotal.io>
Authored: Mon Jul 27 15:12:19 2015 -0700
Committer: Darrel Schneider <dschneider@pivotal.io>
Committed: Mon Jul 27 15:12:19 2015 -0700

----------------------------------------------------------------------
 .../gemfire/distributed/internal/InternalDistributedSystem.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/b6096d88/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalDistributedSystem.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalDistributedSystem.java
b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalDistributedSystem.java
index f3704b1..e30b20b 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalDistributedSystem.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/InternalDistributedSystem.java
@@ -484,8 +484,7 @@ public final class InternalDistributedSystem
    *          resource on which event is generated
    */
   public void handleResourceEvent(ResourceEvent event, Object resource) {
-    if (disableManagement || isLoner()) {
-      // no need for management events in a loner
+    if (disableManagement) {
       return;
     }
     if (resourceListeners.size() == 0) {


Mime
View raw message