[geode] branch develop updated (c5c8756 -> 3aa5d97)

2021-05-26 Thread dbarnes
This is an automated email from the ASF dual-hosted git repository.

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


from c5c8756  GEODE-9211: Replace 'GemFire' by 'Geode' in LocatorLauncher & 
ServerLauncher (#6394)
 add 3aa5d97  GEODE-9312: Uplift Bookbinder to 10.1.17 (#6519)

No new revisions were added by this update.

Summary of changes:
 geode-book/Gemfile  |  3 +-
 geode-book/Gemfile.lock | 96 +++--
 geode-book/README.md| 34 +-
 3 files changed, 64 insertions(+), 69 deletions(-)


[geode-dotnet-core-client] branch develop updated: Update to get in sync with recent changes in native - apache_geode_CreateCacheFactory takes a client parameter

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

bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-dotnet-core-client.git


The following commit(s) were added to refs/heads/develop by this push:
 new c885c1e  Update to get in sync with recent changes in native - 
apache_geode_CreateCacheFactory takes a client parameter
c885c1e is described below

commit c885c1ef2d4786fdffe1019c3dfa7b2c39e1f7f5
Author: Blake Bender 
AuthorDate: Wed May 26 14:51:17 2021 -0700

Update to get in sync with recent changes in native
- apache_geode_CreateCacheFactory takes a client parameter
---
 NetCore.Test/CacheFactoryUnitTest.cs  | 14 +++
 NetCore.Test/CacheUnitTest.cs | 15 +++
 NetCore.Test/ObjectLeakUnitTest.cs|  2 +-
 NetCore.Test/PoolFactoryUnitTest.cs   | 73 ++-
 NetCore.Test/PoolManagerUnitTest.cs   | 14 +++
 NetCore.Test/RegionFactoryUnitTest.cs | 32 ---
 NetCore/Cache.cs  | 10 -
 NetCore/CacheFactory.cs   | 10 ++---
 NetCore/GeodeNativeObject.cs  |  7 
 NetCore/PoolFactory.cs|  6 ---
 10 files changed, 101 insertions(+), 82 deletions(-)

diff --git a/NetCore.Test/CacheFactoryUnitTest.cs 
b/NetCore.Test/CacheFactoryUnitTest.cs
index 20b246a..6dee7fe 100644
--- a/NetCore.Test/CacheFactoryUnitTest.cs
+++ b/NetCore.Test/CacheFactoryUnitTest.cs
@@ -16,7 +16,7 @@ namespace GemfireDotNetTest
 {
 using (var client = new Client())
 {
-using (var cacheFactory = CacheFactory.Create())
+using (var cacheFactory = CacheFactory.Create(client))
 {
 Assert.IsNotNull(cacheFactory);
 }
@@ -28,7 +28,7 @@ namespace GemfireDotNetTest
 {
 using (var client = new Client())
 {
-using (var cacheFactory = CacheFactory.Create())
+using (var cacheFactory = CacheFactory.Create(client))
 {
 var version = cacheFactory.Version;
 Assert.AreNotEqual(version, String.Empty);
@@ -43,7 +43,7 @@ namespace GemfireDotNetTest
 {
 using (var client = new Client())
 {
-using (var cacheFactory = CacheFactory.Create())
+using (var cacheFactory = CacheFactory.Create(client))
 {
 var description = cacheFactory.ProductDescription;
 Assert.AreNotEqual(description, String.Empty);
@@ -58,7 +58,7 @@ namespace GemfireDotNetTest
 {
 using (var client = new Client())
 {
-using (var cacheFactory = CacheFactory.Create())
+using (var cacheFactory = CacheFactory.Create(client))
 {
 cacheFactory.PdxIgnoreUnreadFields = true;
 cacheFactory.PdxIgnoreUnreadFields = false;
@@ -73,7 +73,7 @@ namespace GemfireDotNetTest
 {
 using (var client = new Client())
 {
-using (var cacheFactory = CacheFactory.Create())
+using (var cacheFactory = CacheFactory.Create(client))
 {
 cacheFactory.PdxReadSerialized = true;
 cacheFactory.PdxReadSerialized = false;
@@ -88,7 +88,7 @@ namespace GemfireDotNetTest
 {
 using (var client = new Client())
 {
-using (var cacheFactory = CacheFactory.Create())
+using (var cacheFactory = CacheFactory.Create(client))
 {
 using (var cache = cacheFactory.CreateCache())
 {
@@ -105,7 +105,7 @@ namespace GemfireDotNetTest
 {
 using (var client = new Client())
 {
-using (var cacheFactory = CacheFactory.Create())
+using (var cacheFactory = CacheFactory.Create(client))
 {
 cacheFactory.SetProperty("log-level", "none")
 .SetProperty("log-file", "geode_native.log");
diff --git a/NetCore.Test/CacheUnitTest.cs b/NetCore.Test/CacheUnitTest.cs
index 20eced5..65de6e0 100644
--- a/NetCore.Test/CacheUnitTest.cs
+++ b/NetCore.Test/CacheUnitTest.cs
@@ -17,7 +17,7 @@ namespace GemfireDotNetTest
 {
 using (var client = new Client())
 {
-using (var cacheFactory = CacheFactory.Create()
+using (var cacheFactory = CacheFactory.Create(client)
 .SetProperty("log-level", "debug")
 .SetProperty("log-file", 
"TestClientCacheGetPdxReadSerialized.log"))
 {
@@ -51,7 +51,7 @@ namespace GemfireDotNetTest
 {
 using (var client = new Client())
 {
-using (var cacheFactory = CacheFactory.Create()
+   

[geode] branch develop updated (c857586 -> c5c8756)

2021-05-26 Thread albertobr
This is an automated email from the ASF dual-hosted git repository.

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


from c857586  GEODE-8951: Unnecessary messaging in WAN locator discovery 
(#6496)
 add c5c8756  GEODE-9211: Replace 'GemFire' by 'Geode' in LocatorLauncher & 
ServerLauncher (#6394)

No new revisions were added by this update.

Summary of changes:
 .../apache/geode/distributed/LocatorLauncher.java  |  82 ++--
 .../apache/geode/distributed/ServerLauncher.java   | 146 ++---
 2 files changed, 114 insertions(+), 114 deletions(-)


[geode] branch develop updated (7be4e68 -> c857586)

2021-05-26 Thread albertobr
This is an automated email from the ASF dual-hosted git repository.

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


from 7be4e68  GEODE-9314: Redis CLUSTER NODES incorrect when primary 
buckets are moving (#6521)
 add c857586  GEODE-8951: Unnecessary messaging in WAN locator discovery 
(#6496)

No new revisions were added by this update.

Summary of changes:
 .../wan/internal/client/locator/LocatorMembershipListenerTest.java   | 5 +
 1 file changed, 5 insertions(+)


[geode] branch develop updated (c728beb -> 7be4e68)

2021-05-26 Thread jensdeppe
This is an automated email from the ASF dual-hosted git repository.

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


from c728beb  GEODE-9313: Allow AllowExecutionInLowMemory to be usable 
generically (#6520)
 add 7be4e68  GEODE-9314: Redis CLUSTER NODES incorrect when primary 
buckets are moving (#6521)

No new revisions were added by this update.

Summary of changes:
 .../cluster/ClusterSlotsAndNodesDUnitTest.java | 55 +++---
 .../apache/geode/redis/internal/SlotAdvisor.java   | 23 +
 .../internal/executor/cluster/ClusterExecutor.java | 16 ++-
 3 files changed, 73 insertions(+), 21 deletions(-)


[geode] branch develop updated (a52aa33 -> c728beb)

2021-05-26 Thread jensdeppe
This is an automated email from the ASF dual-hosted git repository.

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


from a52aa33  GEODE-9233: Add redis ZADD and ZSCORE commands (#6489)
 add c728beb  GEODE-9313: Allow AllowExecutionInLowMemory to be usable 
generically (#6520)

No new revisions were added by this update.

Summary of changes:
 .../apache/geode/redis/internal/executor/SingleResultRedisFunction.java | 2 +-
 .../apache/geode/internal/cache/execute/AllowExecutionInLowMemory.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


[geode] branch support/1.13 updated: GEODE-9315: Bump spring-security from 5.3.8.RELEASE to 5.3.9.RELEASE

2021-05-26 Thread onichols
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/support/1.13 by this push:
 new 8fc4916  GEODE-9315: Bump spring-security from 5.3.8.RELEASE to 
5.3.9.RELEASE
8fc4916 is described below

commit 8fc4916ae4d89f32686d518423120d7ebb1d4743
Author: Owen Nichols 
AuthorDate: Wed May 26 10:00:19 2021 -0700

GEODE-9315: Bump spring-security from 5.3.8.RELEASE to 5.3.9.RELEASE
---
 boms/geode-all-bom/src/test/resources/expected-pom.xml   | 16 
 .../geode/gradle/plugins/DependencyConstraints.groovy|  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/boms/geode-all-bom/src/test/resources/expected-pom.xml 
b/boms/geode-all-bom/src/test/resources/expected-pom.xml
index 5c97078..52881fe 100644
--- a/boms/geode-all-bom/src/test/resources/expected-pom.xml
+++ b/boms/geode-all-bom/src/test/resources/expected-pom.xml
@@ -760,49 +760,49 @@
   
 org.springframework.security
 spring-security-config
-5.3.8.RELEASE
+5.3.9.RELEASE
 compile
   
   
 org.springframework.security
 spring-security-core
-5.3.8.RELEASE
+5.3.9.RELEASE
 compile
   
   
 org.springframework.security
 spring-security-ldap
-5.3.8.RELEASE
+5.3.9.RELEASE
 compile
   
   
 org.springframework.security
 spring-security-test
-5.3.8.RELEASE
+5.3.9.RELEASE
 compile
   
   
 org.springframework.security
 spring-security-web
-5.3.8.RELEASE
+5.3.9.RELEASE
 compile
   
   
 org.springframework.security
 spring-security-oauth2-core
-5.3.8.RELEASE
+5.3.9.RELEASE
 compile
   
   
 org.springframework.security
 spring-security-oauth2-client
-5.3.8.RELEASE
+5.3.9.RELEASE
 compile
   
   
 org.springframework.security
 spring-security-oauth2-jose
-5.3.8.RELEASE
+5.3.9.RELEASE
 compile
   
   
diff --git 
a/buildSrc/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
 
b/buildSrc/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
index ec8449e..40c7a9d 100644
--- 
a/buildSrc/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
+++ 
b/buildSrc/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
@@ -243,7 +243,7 @@ class DependencyConstraints implements Plugin {
   entry('selenium-support')
 }
 
-dependencySet(group: 'org.springframework.security', version: 
'5.3.8.RELEASE') {
+dependencySet(group: 'org.springframework.security', version: 
'5.3.9.RELEASE') {
   entry('spring-security-config')
   entry('spring-security-core')
   entry('spring-security-ldap')


[geode] branch develop updated (4abcba9 -> a52aa33)

2021-05-26 Thread ringles
This is an automated email from the ASF dual-hosted git repository.

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


from 4abcba9  GEODE-9272: postpone marking of event as possible duplicate 
to the mo… (#6474)
 add a52aa33  GEODE-9233: Add redis ZADD and ZSCORE commands (#6489)

No new revisions were added by this update.

Summary of changes:
 geode-apis-compatible-with-redis/build.gradle  |   1 +
 .../sortedset/ZAddNativeRedisAcceptanceTest.java}  |  24 +-
 .../ZScoreNativeRedisAcceptanceTest.java}  |  23 +-
 .../test/dunit/rules/RedisClusterStartupRule.java  |   1 +
 .../geode/redis/internal/data/DeltaDUnitTest.java  |   3 +-
 .../data/PartitionedRegionStatsUpdateTest.java |   3 +-
 .../executor/CrashAndNoRepeatDUnitTest.java|   3 +-
 .../redis/internal/executor/InfoDUnitTest.java |   3 +-
 .../internal/executor/hash/HExistsDUnitTest.java   |   3 +-
 .../internal/executor/hash/HGetDUnitTest.java  |   3 +-
 .../internal/executor/hash/HMgetDUnitTest.java |   3 +-
 .../internal/executor/hash/HMsetDUnitTest.java |   3 +-
 .../internal/executor/hash/HScanDunitTest.java |   3 +-
 .../executor/hash/HashesAndCrashesDUnitTest.java   |   3 +-
 .../internal/executor/hash/HsetDUnitTest.java  |   3 +-
 .../internal/executor/key/ExpireDUnitTest.java |   3 +-
 .../internal/executor/key/RenameDUnitTest.java |   3 +-
 .../redis/internal/executor/set/SaddDUnitTest.java |   3 +-
 .../redis/internal/executor/set/SremDUnitTest.java |   3 +-
 .../ZAddDUnitTest.java}| 105 +
 .../internal/executor/string/StringsDUnitTest.java |   3 +-
 .../sortedset/AbstractZAddIntegrationTest.java | 235 +++
 .../sortedset/AbstractZScoreIntegrationTest.java   |  67 ++
 .../executor/sortedset/ZAddIntegrationTest.java}   |  23 +-
 .../executor/sortedset/ZScoreIntegrationTest.java} |  23 +-
 .../codeAnalysis/sanctionedDataSerializables.txt   |  12 +-
 .../geode/redis/internal/GeodeRedisService.java|   8 +
 .../geode/redis/internal/RedisCommandType.java |   7 +
 .../geode/redis/internal/RedisConstants.java   |   2 +
 .../geode/redis/internal/RegionProvider.java   |   8 +
 .../geode/redis/internal/data/CommandHelper.java   |  24 ++
 .../internal/data/NullRedisDataStructures.java |   1 +
 ...{RedisDataType.java => NullRedisSortedSet.java} |  36 ++-
 .../geode/redis/internal/data/RedisDataType.java   |   1 +
 .../geode/redis/internal/data/RedisSortedSet.java  | 255 +
 .../RedisSortedSetCommandsFunctionExecutor.java|  46 
 .../SetOptions.java => BaseSetOptions.java}|  33 +--
 .../redis/internal/executor/CommandFunction.java   |  12 +
 .../sortedset/RedisSortedSetCommands.java} |  22 +-
 .../RedisSortedSetCommandsFunctionInvoker.java |  51 +
 .../internal/executor/sortedset/ZAddExecutor.java  | 116 ++
 .../sortedset/ZAddOptions.java}|  24 +-
 .../ZScoreExecutor.java}   |  25 +-
 .../internal/executor/string/SetEXExecutor.java|   2 +-
 .../internal/executor/string/SetNXExecutor.java|   2 +-
 .../redis/internal/executor/string/SetOptions.java |  43 +---
 .../internal/netty/ExecutionHandlerContext.java|   5 +
 ...de-apis-compatible-with-redis-serializables.txt |   2 +-
 .../redis/internal/SupportedCommandsJUnitTest.java |   4 +-
 .../redis/internal/data/RedisSortedSetTest.java| 242 +++
 .../serialization/DataSerializableFixedID.java |   2 +
 51 files changed, 1291 insertions(+), 244 deletions(-)
 copy 
geode-apis-compatible-with-redis/src/{main/java/org/apache/geode/redis/internal/data/RedisDataType.java
 => 
acceptanceTest/java/org/apache/geode/redis/internal/executor/sortedset/ZAddNativeRedisAcceptanceTest.java}
 (64%)
 copy 
geode-apis-compatible-with-redis/src/{main/java/org/apache/geode/redis/internal/data/RedisDataType.java
 => 
acceptanceTest/java/org/apache/geode/redis/internal/executor/sortedset/ZScoreNativeRedisAcceptanceTest.java}
 (63%)
 copy 
geode-apis-compatible-with-redis/src/distributedTest/java/org/apache/geode/redis/internal/executor/{set/SaddDUnitTest.java
 => sortedset/ZAddDUnitTest.java} (54%)
 create mode 100755 
geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/sortedset/AbstractZAddIntegrationTest.java
 create mode 100755 
geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/sortedset/AbstractZScoreIntegrationTest.java
 copy 
geode-apis-compatible-with-redis/src/{main/java/org/apache/geode/redis/internal/data/RedisDataType.java
 => 
integrationTest/java/org/apache/geode/redis/internal/executor/sortedset/ZAddIntegrationTest.java}
 (69%)
 copy 
geode-apis-compatible-with-redis/src/{main/java/org/apache/geode/redis/internal/data/RedisDataType.java
 => 
integrationTest/java/org/apache/geode/redis/internal/e

[geode] branch develop updated (9de676e -> 4abcba9)

2021-05-26 Thread mivanac
This is an automated email from the ASF dual-hosted git repository.

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


from 9de676e  GEODE-9308: Update "Controlling Socket Use" to reflect new 
default (#6516)
 add 4abcba9  GEODE-9272: postpone marking of event as possible duplicate 
to the mo… (#6474)

No new revisions were added by this update.

Summary of changes:
 .../internal/cache/AbstractBucketRegionQueue.java  | 22 --
 .../geode/internal/cache/BucketRegionQueue.java| 39 +-
 .../internal/cache/BucketRegionQueueJUnitTest.java | 83 ++
 3 files changed, 119 insertions(+), 25 deletions(-)


[geode] branch develop updated (a540b40 -> 9de676e)

2021-05-26 Thread dbarnes
This is an automated email from the ASF dual-hosted git repository.

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


from a540b40  GEODE-9309: Tool to filter/format progress info (#6518)
 add 9de676e  GEODE-9308: Update "Controlling Socket Use" to reflect new 
default (#6516)

No new revisions were added by this update.

Summary of changes:
 ...ance_controls_controlling_socket_use.html.md.erb | 21 ++---
 1 file changed, 18 insertions(+), 3 deletions(-)


[geode] branch support/1.14 updated: GEODE-9308: Update "Controlling Socket Use" to reflect new default (#6516)

2021-05-26 Thread dbarnes
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/support/1.14 by this push:
 new 3c48815  GEODE-9308: Update "Controlling Socket Use" to reflect new 
default (#6516)
3c48815 is described below

commit 3c48815b6bb0e3724ac0db0fdf96d1f46f9c97a7
Author: Dave Barnes 
AuthorDate: Wed May 26 06:25:48 2021 -0700

GEODE-9308: Update "Controlling Socket Use" to reflect new default (#6516)

* GEODE-9308: Update "Controlling Socket Use" to reflect new default
---
 ...ance_controls_controlling_socket_use.html.md.erb | 21 ++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git 
a/geode-docs/managing/monitor_tune/performance_controls_controlling_socket_use.html.md.erb
 
b/geode-docs/managing/monitor_tune/performance_controls_controlling_socket_use.html.md.erb
index 81c685f..79ee6cd 100644
--- 
a/geode-docs/managing/monitor_tune/performance_controls_controlling_socket_use.html.md.erb
+++ 
b/geode-docs/managing/monitor_tune/performance_controls_controlling_socket_use.html.md.erb
@@ -25,17 +25,32 @@ The conserve-sockets setting indicates whether application 
threads share sockets
 
 You configure conserve-sockets for the member as a whole in 
`gemfire.properties`. Additionally, you can change the sockets conservation 
policy for the individual thread through the API.
 
-When conserve-sockets is set to false, each application thread uses a 
dedicated thread to send to each of its peers and a dedicated thread to receive 
from each peer. Disabling socket conservation requires more system resources, 
but can potentially improve performance by removing socket contention between 
threads and optimizing distributed ACK operations. For distributed regions, the 
put operation, and destroy and invalidate for regions and entries, can all be 
optimized with conserve-sock [...]
+By default, conserve-sockets is set to false: each application thread uses a 
dedicated thread to send to each of its peers and a dedicated thread to receive 
from each peer.
+This default setting optimizes system performance, but does incur significant 
overhead in terms of sockets, socket buffers, and related system resources.
+
+Keeping conserve-sockets set to false:
+
+- alleviates socket contention between threads
+- optimizes distributed ACK operations
+- for distributed regions, optimizes the put operation
+- for distributed regions, optimizes destroy and invalidate operations for 
regions and entries
+- for partitioned regions, enhances general throughput
+
+Setting conserve-sockets set to true:
+
+- reduces demands on system resources
+- slows system performance
+- increases risk of distributed deadlocks
 
 **Note:**
 When you have transactions operating on EMPTY, NORMAL or PARTITION regions, 
make sure that `conserve-sockets` is set to false to avoid distributed 
deadlocks.
 
 You can override the `conserve-sockets` setting for individual threads. These 
methods are in `org.apache.geode.distributed.DistributedSystem`:
 
--   `setThreadsSocketPolicy`. Sets the calling thread’s individual socket 
policy, overriding the policy set for the application as a whole. If set to 
true, the calling thread shares socket connections with other threads. If 
false, the calling thread has its own sockets.
+-   `setThreadsSocketPolicy`. Sets the calling thread’s individual socket 
policy, overriding the policy set for the application as a whole. If false, the 
calling thread has its own sockets. If true, the calling thread shares socket 
connections with other threads.
 -   `releaseThreadsSockets`. Frees any sockets held by the calling thread. 
Threads hold their own sockets only when conserve-sockets is false. Threads 
holding their own sockets can call this method to avoid holding the sockets 
until the socket-lease-time has expired.
 
-A typical implementation might set conserve-sockets to true at the application 
level and then override the setting for the specific application threads that 
perform the bulk of the distributed operations. The example below shows an 
implementation of the two API calls in a thread that performs benchmark tests. 
The example assumes the class implements Runnable. Note that the invocation, 
setThreadsSocketPolicy(false), is only meaningful if conserve-sockets is set to 
true at the application level.
+The example below shows an implementation of the two API calls in a thread 
that performs benchmark tests. The example assumes the class implements 
Runnable. Note that the invocation `setThreadsSocketPolicy(false)` is 
meaningful only if conserve-sockets is set to true at the application level.
 
 ``` pre
 public void run() {