[geode-native] branch GEODE-9741-t142 updated (5bbdc0c -> 77b25ce)

2021-10-22 Thread mmartell
This is an automated email from the ASF dual-hosted git repository.

mmartell pushed a change to branch GEODE-9741-t142
in repository https://gitbox.apache.org/repos/asf/geode-native.git.


from 5bbdc0c  Use lowest versions for tools & sdk
 add 77b25ce  Add the build tools to VS install: - without this, cmake 
won't work with new tooling

No new revisions were added by this update.

Summary of changes:
 packer/windows/install-vs-2019-community.ps1 | 1 +
 1 file changed, 1 insertion(+)


[geode] branch develop updated (380151b -> a6ef213)

2021-10-22 Thread dschneider
This is an automated email from the ASF dual-hosted git repository.

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


from 380151b  GEODE-9743: updated ClientSideHandshakeImpl and added UT 
(#7008)
 add a6ef213  GEODE-9722: removed geode-for-redis shutdown command (#7021)

No new revisions were added by this update.

Summary of changes:
 .../server/ShutDownNativeRedisAcceptanceTest.java  | 32 
 .../server/AbstractShutDownIntegrationTest.java| 60 --
 .../executor/server/ShutdownIntegrationTest.java   | 22 ++--
 .../geode/redis/internal/GeodeRedisServer.java |  2 +-
 .../geode/redis/internal/RedisCommandType.java |  4 --
 .../internal/executor/server/ShutDownExecutor.java | 30 ---
 .../internal/netty/ExecutionHandlerContext.java|  7 ---
 .../redis/internal/netty/NettyRedisServer.java |  6 +--
 8 files changed, 22 insertions(+), 141 deletions(-)
 delete mode 100644 
geode-for-redis/src/acceptanceTest/java/org/apache/geode/redis/internal/executor/server/ShutDownNativeRedisAcceptanceTest.java
 delete mode 100644 
geode-for-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/server/AbstractShutDownIntegrationTest.java
 delete mode 100755 
geode-for-redis/src/main/java/org/apache/geode/redis/internal/executor/server/ShutDownExecutor.java


[geode] branch support/1.12 updated: GEODE-7920: Geode UDP INT thread found processing cache operations (#7018)

2021-10-22 Thread burcham
This is an automated email from the ASF dual-hosted git repository.

burcham pushed a commit to branch support/1.12
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/support/1.12 by this push:
 new 6fe63cc  GEODE-7920: Geode UDP INT thread found processing cache 
operations (#7018)
6fe63cc is described below

commit 6fe63cc3dc586824ea827300728688fafcd3d002
Author: Bill Burcham 
AuthorDate: Fri Oct 22 10:43:57 2021 -0700

GEODE-7920: Geode UDP INT thread found processing cache operations (#7018)

Modified DistributionMessage to look for JGroups "internal" executor
threads.  We thought we'd turned off all JGroups thread pools but this
one is still around.  We don't want to process DistributionMessages in
these threads unless absolutely necessary since they're needed when
processing incoming messages.

(cherry picked from commit 8f24abbc7bade3f8e65a52a1a0402343e12ba2b5)

Co-authored-by: Bruce Schuchardt 
---
 .../internal/ClusterOperationExecutors.java   |  2 +-
 .../distributed/internal/DistributionMessage.java | 19 +--
 .../geode/distributed/internal/ShutdownMessage.java   |  2 +-
 .../internal/ThrottlingMemLinkedQueueWithDMStats.java |  2 +-
 .../distributed/internal/DistributionMessageTest.java | 12 
 5 files changed, 28 insertions(+), 9 deletions(-)

diff --git 
a/geode-core/src/main/java/org/apache/geode/distributed/internal/ClusterOperationExecutors.java
 
b/geode-core/src/main/java/org/apache/geode/distributed/internal/ClusterOperationExecutors.java
index 586f5dc..ab85e7a 100644
--- 
a/geode-core/src/main/java/org/apache/geode/distributed/internal/ClusterOperationExecutors.java
+++ 
b/geode-core/src/main/java/org/apache/geode/distributed/internal/ClusterOperationExecutors.java
@@ -738,7 +738,7 @@ public class ClusterOperationExecutors implements 
OperationExecutors {
   // UDP readers are throttled in the FC protocol, which queries
   // the queue to see if it should throttle
   if (stats.getInternalSerialQueueBytes() > TOTAL_SERIAL_QUEUE_THROTTLE
-  && !DistributionMessage.isPreciousThread()) {
+  && !DistributionMessage.isMembershipMessengerThread()) {
 do {
   boolean interrupted = Thread.interrupted();
   try {
diff --git 
a/geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionMessage.java
 
b/geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionMessage.java
index 4fed3c1..0f11b6b 100644
--- 
a/geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionMessage.java
+++ 
b/geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionMessage.java
@@ -412,7 +412,8 @@ public abstract class DistributionMessage
*/
   protected void schedule(final ClusterDistributionManager dm) {
 boolean inlineProcess = INLINE_PROCESS
-&& getProcessorType() == OperationExecutors.SERIAL_EXECUTOR && 
!isPreciousThread();
+&& getProcessorType() == OperationExecutors.SERIAL_EXECUTOR
+&& !isMembershipMessengerThread();
 
 boolean forceInline = this.acker != null || getInlineProcess() || 
Connection.isDominoThread();
 
@@ -476,13 +477,19 @@ public abstract class DistributionMessage
   }
 
   /**
-   * returns true if the current thread should not be used for inline 
processing. i.e., it is a
-   * "precious" resource
+   * returns true if the current thread should not be used for inline 
processing because it
+   * is responsible for reading geode-membership messages. Blocking such a 
thread can cause
+   * a server to be kicked out
*/
-  public static boolean isPreciousThread() {
+  public static boolean isMembershipMessengerThread() {
 String thrname = Thread.currentThread().getName();
-// return thrname.startsWith("Geode UDP");
-return thrname.startsWith("unicast receiver") || 
thrname.startsWith("multicast receiver");
+
+return isMembershipMessengerThreadName(thrname);
+  }
+
+  public static boolean isMembershipMessengerThreadName(String thrname) {
+return thrname.startsWith("unicast receiver") || 
thrname.startsWith("multicast receiver")
+|| thrname.startsWith("Geode UDP");
   }
 
 
diff --git 
a/geode-core/src/main/java/org/apache/geode/distributed/internal/ShutdownMessage.java
 
b/geode-core/src/main/java/org/apache/geode/distributed/internal/ShutdownMessage.java
index 66cadc4..2e1ebc4 100644
--- 
a/geode-core/src/main/java/org/apache/geode/distributed/internal/ShutdownMessage.java
+++ 
b/geode-core/src/main/java/org/apache/geode/distributed/internal/ShutdownMessage.java
@@ -79,7 +79,7 @@ public class ShutdownMessage extends 
HighPriorityDistributionMessage
 // reply.setRecipient(getSender());
 // can't send a response in a UDP receiver thread or we might miss
 // the other side going away due to blocking receipt of views
-// if 

[geode-native] branch develop updated (5a1ba8d -> aa99cb4)

2021-10-22 Thread bbender
This is an automated email from the ASF dual-hosted git repository.

bbender pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git.


from 5a1ba8d  GEODE-9719: Start/Stop cluster in a test fixture (#881)
 add aa99cb4  GEODE-9639: Removed the use of std::unary_function. (#874)

No new revisions were added by this update.

Summary of changes:
 cppcache/include/geode/internal/functional.hpp | 28 --
 cppcache/src/ClientMetadata.cpp| 12 +--
 cppcache/src/SerializationRegistry.hpp | 18 +
 cppcache/src/ThinClientDistributionManager.cpp |  4 ++--
 cppcache/src/ThinClientLocatorHelper.cpp   |  2 +-
 cppcache/src/ThinClientPoolDM.cpp  |  2 +-
 cppcache/src/ThinClientPoolDM.hpp  |  2 +-
 cppcache/src/ThinClientRedundancyManager.cpp   |  5 +++--
 cppcache/src/ThinClientRedundancyManager.hpp   |  2 +-
 cppcache/src/Utils.hpp | 22 +---
 10 files changed, 61 insertions(+), 36 deletions(-)