geode.git
4 months agoGEODE-10093 - Fixed attr issue in Delta Session (#7405) (#7412) rel/v1.13.8 rel/v1.13.8.RC1
BenjaminPerryRoss [Wed, 2 Mar 2022 22:28:13 +0000 (14:28 -0800)] 
GEODE-10093 - Fixed attr issue in Delta Session (#7405) (#7412)

* GEODE-10093 - Fixed attr issue in Delta Session

(cherry picked from commit e040759cd1e42df377501cd423967d549ce2bfab)

5 months agoGEODE-9973: Correct docs regarding P2P socket timeout behaviour (#7310)
Donal Evans [Wed, 26 Jan 2022 22:17:23 +0000 (14:17 -0800)] 
GEODE-9973: Correct docs regarding P2P socket timeout behaviour (#7310)

5 months agoGEODE-9923: Add log message troubleshooting info from support team community (#7296)
Dave Barnes [Mon, 24 Jan 2022 18:40:19 +0000 (10:40 -0800)] 
GEODE-9923: Add log message troubleshooting info from support team community (#7296)

5 months agoBumping version to 1.13.8
Dick Cavender [Thu, 20 Jan 2022 23:06:31 +0000 (15:06 -0800)] 
Bumping version to 1.13.8

5 months agoadd 1.13.7 to old versions on support/1.13
Dick Cavender [Thu, 20 Jan 2022 22:59:45 +0000 (14:59 -0800)] 
add 1.13.7 to old versions on support/1.13

5 months agoupdate Dockerfile to apache-geode 1.13.7
Dick Cavender [Thu, 20 Jan 2022 22:56:09 +0000 (14:56 -0800)] 
update Dockerfile to apache-geode 1.13.7

5 months agoGEODE-8321: part 3 - remove adoptopenjdk (#6457)
Owen Nichols [Mon, 10 May 2021 21:32:11 +0000 (14:32 -0700)] 
GEODE-8321: part 3 - remove adoptopenjdk (#6457)

This is the final cleanup following successful conversion in Part 2 (#5474)

(all three phases were 1: add liberica  2: switch  3: remove adoptopenjdk)

(cherry picked from commit d9b323fa18dc969fb7e737652c00a200c297de17)
(cherry picked from commit 0d28c0c59701bd1cff08a7d0e14b3990fa5e1e3c)

5 months agoGEODE-9372: Added createSenderTime and createSenderInProgress stats (#6608)
Barry Oglesby [Mon, 14 Jun 2021 18:30:44 +0000 (08:30 -1000)] 
GEODE-9372: Added createSenderTime and createSenderInProgress stats (#6608)

(cherry picked from commit f0e6e0d9c2b299e31fd20dea47703b019fc66f31)
(cherry picked from commit 5644b85c65e136d65cfe92f8dd3888a148cd925c)

5 months agoGEODE-9528: Updated test to await until asserted (#6798)
Barry Oglesby [Wed, 25 Aug 2021 20:38:30 +0000 (10:38 -1000)] 
GEODE-9528: Updated test to await until asserted (#6798)

(cherry picked from commit ed816c55406131b95d4db8571558ed1fcecc53e7)
(cherry picked from commit aecbdb2d327cb4dfdf27e669092c7889414a7e7f)

5 months agoGEODE-9819: fix durable client socket leak (#7270)
Darrel Schneider [Fri, 14 Jan 2022 21:02:09 +0000 (13:02 -0800)] 
GEODE-9819: fix durable client socket leak (#7270)

Added unit test that reproduced the socket leak.
This involved some change to the product classes
to make them unit testable.
Fixed the leak by making sure socket.close is called
if the response code was not successful.

(cherry picked from commit 97601eb2cd585f844b7f02bb73ba42fcb86a7cb4)

5 months agoFix for jcenter shutdown. (#7260)
Jacob Barrett [Thu, 13 Jan 2022 01:30:11 +0000 (17:30 -0800)] 
Fix for jcenter shutdown. (#7260)

(cherry picked from commit ac04dc4348c9231960b46cefca13da41c1bff97e)

5 months agoadd 1.12.8 to old versions on develop (#7268)
Dick Cavender [Fri, 14 Jan 2022 11:13:47 +0000 (03:13 -0800)] 
add 1.12.8 to old versions on develop (#7268)

(cherry picked from commit 83de8f25978f0c2cee345beb61d88a85bf5da0f8)

6 months agopare down oldversion list to only latest patch per serialization version rel/v1.13.7 rel/v1.13.7.RC1
Owen Nichols [Fri, 31 Dec 2021 06:37:03 +0000 (22:37 -0800)] 
pare down oldversion list to only latest patch per serialization version

(cherry picked from commit 55a3a77707b35592303ff320e2eb5828e0d4083f)

6 months agoGEODE-9060: Remove the member from a copy of replicates as GII candid… (#6246)
Xiaojian Zhou [Thu, 1 Apr 2021 22:37:21 +0000 (15:37 -0700)] 
GEODE-9060: Remove the member from a copy of replicates as GII candid… (#6246)

* GEODE-9060: Remove the member from a copy of replicates as GII candidate if
it's not part of the same distributed system, but leave original replicates
unchanged.

(cherry picked from commit 76a5afddc9eaecea9f0b4528a910eb6761e1a3a1)

6 months agoincrease disk quota to hold more old versions
Owen Nichols [Thu, 16 Dec 2021 01:33:10 +0000 (17:33 -0800)] 
increase disk quota to hold more old versions

(cherry picked from commit 34c4a406cd45107415297fb665a92b416985455d)

6 months agoBumping copyright year to 2022
Owen Nichols [Sat, 1 Jan 2022 08:34:20 +0000 (00:34 -0800)] 
Bumping copyright year to 2022

6 months agoGEODE-9905: Bump log4j from 2.17.0 to 2.17.1
Owen Nichols [Wed, 29 Dec 2021 21:16:17 +0000 (13:16 -0800)] 
GEODE-9905: Bump log4j from 2.17.0 to 2.17.1

6 months agoGEODE-9905: [1.13] Bump log4j from 2.16.0 to 2.17.0 (#7218)
Kirk Lund [Tue, 21 Dec 2021 23:15:44 +0000 (15:15 -0800)] 
GEODE-9905: [1.13] Bump log4j from 2.16.0 to 2.17.0 (#7218)

Co-authored-by: Owen Nichols <34043438+onichols-pivotal@users.noreply.github.com>
(cherry picked from commit 45714b36b04f89b56c81e97cb03fc0fbf95f58c9)
(cherry picked from commit 9805c506a34e173a1da829acd3a4450ab3349f03)

6 months agoadd 1.12.7 to old versions on support/1.13
Owen Nichols [Thu, 16 Dec 2021 01:56:15 +0000 (17:56 -0800)] 
add 1.12.7 to old versions on support/1.13

6 months agoBumping version to 1.13.7
Owen Nichols [Thu, 16 Dec 2021 00:53:52 +0000 (16:53 -0800)] 
Bumping version to 1.13.7

6 months agoadd 1.13.6 to old versions on support/1.13
Owen Nichols [Wed, 15 Dec 2021 23:34:57 +0000 (15:34 -0800)] 
add 1.13.6 to old versions on support/1.13

6 months agoupdate Dockerfile to apache-geode 1.13.6
Owen Nichols [Wed, 15 Dec 2021 23:30:14 +0000 (15:30 -0800)] 
update Dockerfile to apache-geode 1.13.6

6 months agoGEODE-9898: Bump log4j from 2.15.0 to 2.16.0 rel/v1.13.6 rel/v1.13.6.RC1
Owen Nichols [Tue, 14 Dec 2021 19:36:21 +0000 (11:36 -0800)] 
GEODE-9898: Bump log4j from 2.15.0 to 2.16.0

(cherry-picked from commit 7bec7474c1fb6794daf199276d0eea8cb40a8206)

6 months agoBumping version to 1.13.6
Owen Nichols [Sat, 11 Dec 2021 05:49:23 +0000 (21:49 -0800)] 
Bumping version to 1.13.6

6 months agoadd missing old versions
Owen Nichols [Sat, 11 Dec 2021 05:45:19 +0000 (21:45 -0800)] 
add missing old versions

6 months agoadd 1.13.5 to old versions on support/1.13
Owen Nichols [Sat, 11 Dec 2021 03:35:35 +0000 (19:35 -0800)] 
add 1.13.5 to old versions on support/1.13

6 months agoupdate Dockerfile to apache-geode 1.13.5
Owen Nichols [Sat, 11 Dec 2021 03:30:12 +0000 (19:30 -0800)] 
update Dockerfile to apache-geode 1.13.5

6 months agoGEODE-9888: Bump log4j from 2.13.1 to 2.15.0 (#7186) rel/v1.13.5 rel/v1.13.5.RC2
Owen Nichols [Fri, 10 Dec 2021 19:09:25 +0000 (11:09 -0800)] 
GEODE-9888: Bump log4j from 2.13.1 to 2.15.0 (#7186)

6 months agoGEODE-9882: User Guide, Micrometer section, fix product_name typo (#7181)
Dave Barnes [Thu, 9 Dec 2021 18:58:53 +0000 (10:58 -0800)] 
GEODE-9882: User Guide, Micrometer section, fix product_name typo (#7181)

7 months agoGEODE-9825: processInputBuffer resize retains data (#7131) rel/v1.13.5.RC1
Bill Burcham [Tue, 23 Nov 2021 16:29:11 +0000 (08:29 -0800)] 
GEODE-9825: processInputBuffer resize retains data (#7131)

(cherry picked from commit fb142e1bbd42d6af2463fd9b9b49ef3e5519cfcb)
(cherry picked from commit 62bc9aee3f929103411fc2dbe66cc750e56c06c1)

7 months agoGEODE-9713: Support thread count in ExecutorService rules (#7002)
Kirk Lund [Tue, 19 Oct 2021 00:16:32 +0000 (17:16 -0700)] 
GEODE-9713: Support thread count in ExecutorService rules (#7002)

Restores thread count support to ExecutorServiceRule, and adds it to
DistributedExecutorServiceRule.

PROBLEM

ExecutorService rules currently create a newCachedThreadPool which
creates new threads as needed.

Some usages would benefit from the option of specifying a threadCount
limit which would create a newFixedThreadPool that reuses a fixed
number of threads.

SOLUTION

Add optional threadCount creation parameter to both ExecutorServiceRule
and DistributedExecutorServiceRule.

Creating a ExecutorService rule without a threadCount will still create a
newCachedThreadPool. Using a threadCount will now create a
newFixedThreadPool.

(cherry picked from commit 636bea3fd14c634d2568ed49eba3b13f1797d1ff)

7 months agoGEODE-9838: Log key info for deserialization issue while index update (#7136)
Xiaojian Zhou [Tue, 23 Nov 2021 17:22:19 +0000 (09:22 -0800)] 
GEODE-9838: Log key info for deserialization issue while index update (#7136)

(cherry picked from commit f56d60a6227fc46fbf3e8f3f5ba48d8be453e69e)

7 months agoGEODE-9775: fix remaining pipelines to support k8s (#7099)
Owen Nichols [Tue, 9 Nov 2021 21:13:38 +0000 (13:13 -0800)] 
GEODE-9775: fix remaining pipelines to support k8s (#7099)

(cherry picked from commit beb898c1fa06fc488a553faae2c7d03e0428782b)

7 months agoAdd required pipeline path dependencies (#7096)
Robert Houghton [Tue, 9 Nov 2021 19:07:30 +0000 (11:07 -0800)] 
Add required pipeline path dependencies (#7096)

(cherry picked from commit e34147710bd942594fe5b886289a148eea74757e)

7 months agoGEODE-8542: java.lang.IllegalStateException: tcp message exceeded max… (#5562)
Bruce Schuchardt [Tue, 29 Sep 2020 17:17:56 +0000 (10:17 -0700)] 
GEODE-8542: java.lang.IllegalStateException: tcp message exceeded max… (#5562)

Limit the size of message chunks to the maximum message size allowed
by org.apache.geode.internal.tcp.Connection.

(cherry picked from commit b439d3301dc15a81a9917b05ca4bd0717d1718bc)

7 months agoGEODE-9767: Bump netty from 4.1.48.Final to 4.1.68.Final (#7033)
Owen Nichols [Tue, 9 Nov 2021 18:36:04 +0000 (10:36 -0800)] 
GEODE-9767: Bump netty from 4.1.48.Final to 4.1.68.Final (#7033)

7 months agoGEODE-9797: User guide typo repairs (#7085)
Dave Barnes [Fri, 5 Nov 2021 16:17:08 +0000 (09:17 -0700)] 
GEODE-9797: User guide typo repairs (#7085)

8 months agoGEODE-9656: Document Async disk writer exit behavior (#7062)
Dave Barnes [Thu, 28 Oct 2021 23:04:24 +0000 (16:04 -0700)] 
GEODE-9656: Document Async disk writer exit behavior (#7062)

8 months ago[GEODE-9775] Add heavy-lifter environment variables.
Sean Goller [Wed, 27 Oct 2021 16:25:20 +0000 (09:25 -0700)] 
[GEODE-9775] Add heavy-lifter environment variables.

(cherry picked from commit 5012f3997c0ac898e021532eb98a1310d21b9c26)

8 months ago[GEODE-9775] add missing utility functions.
Sean Goller [Wed, 27 Oct 2021 16:10:48 +0000 (09:10 -0700)] 
[GEODE-9775] add missing utility functions.

8 months agoGEODE-9775: fixup missing Concourse variable for PR pipeline (#7047)
Robert Houghton [Tue, 26 Oct 2021 19:30:41 +0000 (12:30 -0700)] 
GEODE-9775: fixup missing Concourse variable for PR pipeline (#7047)

(cherry picked from commit e1fac45368f20896a36a96936f4bc938951b4659)

8 months ago[GEODE-9775] CI Changes to support CI migration
Sean Goller [Tue, 26 Oct 2021 18:48:17 +0000 (18:48 +0000)] 
[GEODE-9775] CI Changes to support CI migration

* Remove unnecessary environment variables.
* get network information from concourse instead of discovering it ourselves.

(cherry picked from commit 4248006916a91f6d86976f77aea50a9dec729757)

8 months agoGEODE-9714: Add Shiro packages to sanctioned serializables (#7023)
Kirk Lund [Mon, 25 Oct 2021 17:26:15 +0000 (10:26 -0700)] 
GEODE-9714: Add Shiro packages to sanctioned serializables (#7023)

Adds all Shiro subpackages that contain exceptions to the list of
sanctioned serializables.

PROBLEM

QueryConfigurationServiceConstraintsDistributedTest failed in
CI when it tried to deserialize
org.apache.shiro.session.StoppedSessionException.

SOLUTION

I did some research and I believe we should add all Shiro
subpackages containing exceptions to the accept-list.

(cherry picked from commit a2a80edf5f4d6ab6405edc05f82bb468c6161267)
(cherry picked from commit ff81dec73c6ed5e0a2de1f14868d008d189d066f)

8 months agoGEODE-9751: load yaml vars safely (unsafe load was deprecated and is now removed...
Owen Nichols [Mon, 18 Oct 2021 23:54:00 +0000 (16:54 -0700)] 
GEODE-9751: load yaml vars safely (unsafe load was deprecated and is now removed) (#7016)

(cherry picked from commit 6a60434984ab131e5910442fb7c29245a1e442e1)

8 months agoGEODE-9640: Initiate threadId in EventID. (#6905)
Eric Shu [Tue, 5 Oct 2021 18:53:05 +0000 (11:53 -0700)] 
GEODE-9640: Initiate threadId in EventID. (#6905)

  * This is to make sure a new EventID can be generated after server restarted
    after a whole cluster is shut down.

 * Wrap around original threadID before it interferes with bulkOp or wan generated threadID.

(cherry picked from commit 4b3c49e788157df94f7d3e4b455adb7a6eaef96b)

9 months agoGEODE-9655: Bump shiro-core from 1.7.1 to 1.8.0
Owen Nichols [Wed, 29 Sep 2021 00:07:52 +0000 (17:07 -0700)] 
GEODE-9655: Bump shiro-core from 1.7.1 to 1.8.0

9 months agoGEODE-9486: Improve AnalyzeSerializables integration tests (#6878)
Kirk Lund [Tue, 21 Sep 2021 16:39:48 +0000 (09:39 -0700)] 
GEODE-9486: Improve AnalyzeSerializables integration tests (#6878)

Allow geode modules to have an AnalyzeSerializables integration
test without implementing SanctionedSerializablesService.

Improve debugging information for AnalyzeSerializables integration
tests:
- Provide new failure message when no SanctionedSerializablesService
exists.
- Create ANALYZE_SERIALIZABLES.md to provide detailed instructions for
failures involving AnalyzeSerializables integration tests.
- Reference ANALYZE_SERIALIZABLES.md in failure messages.

Remove geode-serialization and geode-common jars from geode-pulse
.war file:
- Change getModuleClass() to return Optional.
- Delete PulseSanctionedSerializablesService and its resources.
- Change geode-pulse dependency on geode-serialization to be for
integrationTest only.

(cherry picked from commit 7bd1d73dcd02712a10e5c3f2ac5ac0522923bf9e)
(cherry picked from commit 14582d05ed0032f5315313e3d29c1773b7bf0f53)

9 months agoGEODE-9486: Fix validate-serializable-objects (#6823)
Kirk Lund [Wed, 8 Sep 2021 16:30:50 +0000 (09:30 -0700)] 
GEODE-9486: Fix validate-serializable-objects (#6823)

Rename DistributedSystemService to SanctionedSerializablesService and
remove unused init(DistributedSystem).

Move SanctionedSerializablesService to geode-serialization.

Implement SanctionedSerializablesService in both geode-core and
geode-management to remove special case for each in
InternalDataSerializer.

Fix sanctioned serializables support in geode-management and
geode-apis-compatible-with-redis.

Add sanctioned serializables support to geode-serialization and
geode-pulse.

Add sanctioned serializables support to geode-junit and geode-dunit
to simplify writing tests for validate-serializable-objects and prevent
having to list out DUnit Rules and other test framework classes when
validate-serializable-objects is enabled.

Use ExecutorServiceRule and reformat json strings in
RestRegionAPIIntegrationTest.

Reorganize QueryCommandDUnitTestBase.

Use InvalidClassException instead of Exception in
ObjectInputStreamFilterWrapper fatal log message.

Improve assertion messages in ResourceUtils.

Move loadSanctionedSerializablesServices and loadClassNames to
new SanctionedSerializables in geode-serialization.

Exclude Pulse GemFireAuthentication from sanctioned serializables.

Add SerializationTest Category to all AnalyzeSerializables integration
tests.

Tidy up SANCTIONED_SERIALIZABLES_DEPENDENCIES_PATTERN.

Convert to AssertJ and use BeforeClass in
InternalDataSerializerSerializationAcceptlistTest.

Note: If Git or GitHub is showing invalid file renames in the diffs, you
may need to pull the branch locally and configure diff.renameLimit to
something lower than the default value of 50.

(cherry picked from commit acbd0ff3c37a5e1fe3018d3f7288df385159ac4c)
(cherry picked from commit ba81c3670d85dbb4451030e2c4acb11ca8aef9da)

9 months agoGEODE-9596: Avoid creating multiple cq maps in ClientUpdateMessage (#6869)
Eric Shu [Tue, 21 Sep 2021 21:24:22 +0000 (14:24 -0700)] 
GEODE-9596: Avoid creating multiple cq maps in ClientUpdateMessage (#6869)

  * This can occur if HAContainer enables eviction.
  * Also addClientCq can be accessed concurrently by intialization threads during queue registration.

(cherry picked from commit 00b41562f8c4e5982190795c0426e5884f57724a)

9 months agoGEODE-9554 backport (#6856)
mhansonp [Fri, 10 Sep 2021 04:51:16 +0000 (21:51 -0700)] 
GEODE-9554 backport (#6856)

* GEODE-9554: Change up the rebalance calls to use new canDelete call (#6845) (#6853)

GEODE-9554: Change up the rebalance calls to use new canDelete call

If there is no redundancy zone, exit and allow delete
Adding xml files to git
Adding xml files to git
Added new tests

(cherry picked from commit d1d605b24787698c5d8f47b8538808d6b990c0a4)
(cherry picked from commit 142e06fe001aae428c32ec602992e45bcefa2259)

* GEODE-5994: Cleanup from some additional review comments (#6852)

(cherry picked from commit 7b924b5ccef4646f28615bab290447824f9f9f45)
(cherry picked from commit 69ca9cdf75904f70d6272286f4322ba90ee8bfa3)

9 months agoincrease timeouts (#6404)
Owen Nichols [Thu, 29 Apr 2021 22:00:24 +0000 (15:00 -0700)] 
increase timeouts (#6404)

* increase acceptanceTest timeout from 2 hours to 3 hours
* increase upgradeTest timeout from 1.5 hours to 2.5 hours

(cherry picked from commit ebdf8edcc893478ba4f67892f02b312de5d1b5d4)
(cherry picked from commit f4afdf8c2a8c38ccd7a7a2262616c193a03b0e4d)

9 months agoGEODE-9561: typo repair
Dave Barnes [Wed, 8 Sep 2021 20:22:20 +0000 (13:22 -0700)] 
GEODE-9561: typo repair

9 months agoGEODE-9561: User Guide - jmx-manager-ssl-enabled supersedes jmx-manager-ssl (#6837)
Dave Barnes [Wed, 8 Sep 2021 18:09:08 +0000 (11:09 -0700)] 
GEODE-9561: User Guide - jmx-manager-ssl-enabled supersedes jmx-manager-ssl (#6837)

9 months agoGEODE-9578: Bump spring-security from 5.3.9 to 5.3.11
Owen Nichols [Tue, 7 Sep 2021 16:23:57 +0000 (09:23 -0700)] 
GEODE-9578: Bump spring-security from 5.3.9 to 5.3.11

10 months agoGEODE-9515: Skip setting MBeanServer when JMXConnectorServer will set it (#6770)
Jianxia Chen [Mon, 23 Aug 2021 21:06:09 +0000 (14:06 -0700)] 
GEODE-9515: Skip setting MBeanServer when JMXConnectorServer will set it (#6770)

(cherry picked from commit 280bd841427f244f507633826def2f845a9b10ef)

10 months agoGEODE-9527: Use TLS v 1.2 in test (#6781)
Ernie Burghardt [Fri, 3 Sep 2021 17:47:16 +0000 (12:47 -0500)] 
GEODE-9527: Use TLS v 1.2 in test (#6781)

(cherry picked from commit 5d55da4a2c0375353fedc5c197aae710ffd83b1d)

10 months agoGEODE-9071: Add wait before check cq listener invocations. (#6785)
Eric Shu [Mon, 23 Aug 2021 17:09:56 +0000 (10:09 -0700)] 
GEODE-9071: Add wait before check cq listener invocations. (#6785)

* Cq events sent to client asynchronously. Need to wait events are
    all delivered.

(cherry picked from commit 018fb585b1750a3186ad4693744ed5630d869182)

10 months agopatch releases should be benchmarked against their minor
Owen Nichols [Fri, 20 Aug 2021 00:41:26 +0000 (17:41 -0700)] 
patch releases should be benchmarked against their minor

10 months agoGEODE-9463: Add SerializableRegionRedundancyStatusImpl to accept list (#6753)
Eric Shu [Wed, 11 Aug 2021 16:03:32 +0000 (09:03 -0700)] 
GEODE-9463: Add SerializableRegionRedundancyStatusImpl to accept list (#6753)

* SerializableRegionRedundancyStatusImpl is stored in RegionOperationStateStore region as
     part of OperationState used for REST client.
   * OperationState implements Serializable, which causes it to be serialized as a java
     Serialiable and also nested SerializableRegionRedundancyStatusImpl.
   * Ideally OperationState should implement DSFID to avoid this issue, however, it has been
     released already. So we will add SerializableRegionRedundancyStatusImpl to the accept list
     to avoid this serialization issue when validate-serializable-objects is set to true.

Co-authored-by: Dan Smith <dasmith@vmware.com>
(cherry picked from commit 7f98970afafcec6b71460344e0fd6066d7a76a92)

10 months agoGEODE-9354: Extract and test ArgumentRedactorRegex (#6641) (#6749)
Kirk Lund [Thu, 12 Aug 2021 21:08:50 +0000 (14:08 -0700)] 
GEODE-9354: Extract and test ArgumentRedactorRegex (#6641) (#6749)

* Rename ArgumentRedactorJUnitTest to ArgumentRedactorTest.
* Reorganize and reformat ArgumentRedactor and its tests.
* Fix issues in regex found by new tests.

(cherry picked from commit 693e18c48d1c0e3601c517cb7c5493b54649dc10)

10 months agoGEODE-9480: Changing the version with ordinal 121 to be 1.13.2
Dan Smith [Thu, 12 Aug 2021 20:15:04 +0000 (13:15 -0700)] 
GEODE-9480: Changing the version with ordinal 121 to be 1.13.2

This protocol change actually happened in 1.13.2. 1.13.1 is still using the
same protocol ordinal as 1.13.0, which is 120.

Evidence
b2d205459bf is the commit that introduced this version in support/1.13
b2d205459bf is only contained in rel/v1.13.2 and above
* Running geode 1.13.1, it reports it's protocol version as 120.

(cherry picked from commit 2a90a583015352c1cc0f041008ec2a6ea7b5505c)

11 months agoBumping version to 1.13.5
Dick Cavender [Fri, 30 Jul 2021 22:13:07 +0000 (15:13 -0700)] 
Bumping version to 1.13.5

11 months agoadd 1.13.4 to old versions on support/1.13
Dick Cavender [Thu, 29 Jul 2021 19:49:31 +0000 (12:49 -0700)] 
add 1.13.4 to old versions on support/1.13

11 months agoupdate Dockerfile to apache-geode 1.13.4
Dick Cavender [Thu, 29 Jul 2021 19:45:27 +0000 (12:45 -0700)] 
update Dockerfile to apache-geode 1.13.4

11 months agoadd 1.12.4 to old versions on support/1.13
Dick Cavender [Mon, 26 Jul 2021 23:07:07 +0000 (16:07 -0700)] 
add 1.12.4 to old versions on support/1.13

(cherry picked from commit 9b139117d1e47e543466ab18b75dc5ea75fe83b5)
(cherry picked from commit 841b1dc3f2368d466feae7533b6e5e4b0fc7a885)

11 months agoGEODE-9426: Update docs for HTTP session management (#6703) rel/v1.13.4
Dave Barnes [Mon, 19 Jul 2021 20:42:39 +0000 (13:42 -0700)] 
GEODE-9426: Update docs for HTTP session management (#6703)

11 months agoGEODE-8657: Increase acceptance test timeout (#5673)
Sarah [Mon, 26 Oct 2020 20:15:16 +0000 (16:15 -0400)] 
GEODE-8657: Increase acceptance test timeout (#5673)

(cherry picked from commit 4ceabc88a011ab007e0462d6c0ec3c11c2d6eb26)

11 months agoGEODE-9346: When client received incorrect byte array of PdxType due … (#6561)
Xiaojian Zhou [Fri, 9 Jul 2021 17:54:17 +0000 (10:54 -0700)] 
GEODE-9346: When client received incorrect byte array of PdxType due … (#6561)

(cherry picked from commit 11e4c3a4ca4bf7ef2203e0fdd111e536e5721e50)

11 months agoGEODE-9156: Replace docker-compose-rule with testcontainers (#6691)
Owen Nichols [Mon, 12 Jul 2021 15:43:22 +0000 (08:43 -0700)] 
GEODE-9156: Replace docker-compose-rule with testcontainers (#6691)

* GEODE-9156: Replace docker-compose-rule with testcontainers in geode-connectors (#6378) (#6385)

Something to note when doing SSL testing: testcontainers does not let
you set the container name (using `container_name` in your compose.yml).
This ultimately means that reverse IP lookups produce hostnames that
look something like `project_service_index`. The problem is that these
names are not RFC compliant as they contain underscores. This can break
some aspects of SSL validation. I've had to work around this by renaming
containers in various test classes.

(cherry picked from commit a5335756a5801adf35ffdf4635b51cb17757eb84)
(cherry picked from commit 473af500ce43a4d35e08d4d750f3b5ed9186cc99)
(cherry picked from commit f537a5dded32d5386dccbb99a7e862b29811e269)

Co-authored-by: Jens Deppe <jdeppe@vmware.com>
12 months agoadd 1.12.3 to old versions on support/1.13
Owen Nichols [Wed, 30 Jun 2021 22:40:39 +0000 (15:40 -0700)] 
add 1.12.3 to old versions on support/1.13

(cherry picked from commit 1491466356dd45aee6b9d0f8e41bdcfc220ef0bc)

12 months agoEnabling only rebase and squash buttons in GitHub PRs (#6661)
Nabarun Nag [Tue, 29 Jun 2021 22:21:38 +0000 (15:21 -0700)] 
Enabling only rebase and squash buttons in GitHub PRs (#6661)

- The merge button is disabled in the PRs

(cherry picked from commit 91cddb0f8e0d20fffd269949ed2cd44b24a1e18a)

12 months agoGEODE-9380: Replace sleep()s from Nio.SslEngine replace with yields
Kamilla Aslami [Tue, 15 Jun 2021 22:11:52 +0000 (15:11 -0700)] 
GEODE-9380: Replace sleep()s from Nio.SslEngine replace with yields

(cherry picked from commit 1b97c7c25f1fb68a94d5c7008b98630de45d48b6)

12 months agoGEODE-9141: (2 of 2) Handle in-buffer concurrency
Bill Burcham [Sat, 17 Apr 2021 16:12:13 +0000 (09:12 -0700)] 
GEODE-9141: (2 of 2) Handle in-buffer concurrency
* Connection uses a ByteBufferVendor to mediate access to inputBuffer
* Prevent return to pool before socket closer is finished

(cherry picked from commit 9d0d4d1d33794d0f6a21c3bcae71e965cbbd7fbd)
(cherry picked from commit 9e8b3972fcf449eed4d41c254cf3f553e517eaa1)

12 months agoGEODE-9141: (1 of 2) rename ByteBufferSharingImpl to ByteBuferVendor
Bill Burcham [Sat, 17 Apr 2021 20:15:53 +0000 (13:15 -0700)] 
GEODE-9141: (1 of 2) rename ByteBufferSharingImpl to ByteBuferVendor

(cherry picked from commit 38a3540583a1d0a402b026ee0d33ae4b0a2907d3)
(cherry picked from commit e0fa01dd9ec9c61504d517e77d1620f8e7975b73)

12 months agoGEODE-9180: warn when heartbeat thread oversleeps (#6360)
Bill Burcham [Wed, 28 Apr 2021 17:22:16 +0000 (10:22 -0700)] 
GEODE-9180: warn when heartbeat thread oversleeps (#6360)

* heartbeat producer logs warning when it oversleeps by a period or more

(cherry picked from commit f8b07a007ac93c323cd888cbc53dc3914336077f)

12 months agoBumping version to 1.13.4
Owen Nichols [Fri, 25 Jun 2021 09:35:38 +0000 (02:35 -0700)] 
Bumping version to 1.13.4

12 months agoadd 1.13.3 to old versions on support/1.13
Owen Nichols [Thu, 24 Jun 2021 23:22:42 +0000 (16:22 -0700)] 
add 1.13.3 to old versions on support/1.13

12 months agoupdate Dockerfile to apache-geode 1.13.3
Owen Nichols [Thu, 24 Jun 2021 22:45:32 +0000 (15:45 -0700)] 
update Dockerfile to apache-geode 1.13.3

12 months ago[GEODE-9386] Fix windows builder cleanup (#6630)
Sean Goller [Mon, 21 Jun 2021 15:44:57 +0000 (08:44 -0700)] 
[GEODE-9386] Fix windows builder cleanup (#6630)

* Do './gradlew.bat clean' before C:/geode.

(cherry picked from commit ecaf313a6747cf0c465b5cd5852a2304b753919c)
(cherry picked from commit 63a0fe7148124912522cd4d1e3f2984993b0aea6)

12 months ago[Revert] Accidental backport to support/1.13 (#6637) rel/v1.13.3
Ernie Burghardt [Tue, 22 Jun 2021 20:38:58 +0000 (15:38 -0500)] 
[Revert] Accidental backport to support/1.13 (#6637)

This reverts commit 35cbee2c00cf3bf0119b09369631c9f61e293217.
This reverts commit aba29fb7dd236ecd8f784672c50236d7983332a0.
This reverts commit 844f2a75cacfce0b42f42a37a12819612f00b3e5.
This reverts commit a55e472e9fdeb4b0373199463119b340b0cf90a3.
This reverts commit 53d32c325c808d6e965a45cdf36aca1a71db2183.

12 months agoGEODE-9042: Update docker-based scripts to build UG (#6528)
Alberto Bustamante Reyes [Tue, 1 Jun 2021 07:49:47 +0000 (09:49 +0200)] 
GEODE-9042: Update docker-based scripts to build UG (#6528)

12 months agoGEODE-9295: Added dunit test
Barry Oglesby [Tue, 15 Jun 2021 20:54:24 +0000 (13:54 -0700)] 
GEODE-9295: Added dunit test

(cherry picked from commit c9d4f681d0700bd5344960f2da83ae960fc0b778)

12 months agoGEODE-9295: Reply sent always while processing LatestLastAccessTimeMessage
Nabarun Nag [Tue, 15 Jun 2021 05:17:36 +0000 (22:17 -0700)] 
GEODE-9295: Reply sent always  while processing LatestLastAccessTimeMessage

* Even if there any any exception, a reply will be sent back to the sender so that the sender's threads are not stuck.

(cherry picked from commit 31bb9b986ed5b1a8013af35b277147e28cd74d12)

12 months agoGEODE-9371: Change stress-new-test to non-required (#6602)
Kirk Lund [Fri, 11 Jun 2021 16:47:24 +0000 (09:47 -0700)] 
GEODE-9371: Change stress-new-test to non-required (#6602)

Reasons for changing this target to non-required:
* stress-new-test stresses existing unchanged tests in addition to new and updated tests
* we now have codeowners and weekly mass test runs, which provide better feedback
* most of the other PR checks are not required and act as advisory input to reviewers

(cherry picked from commit 7a886b769d27b5b677d468d0b744e3d16110a9db)

12 months agoGEODE-9289: Configuration compatibile with pre-1.12.0 versions. (#6593)
Nabarun Nag [Fri, 11 Jun 2021 01:30:57 +0000 (18:30 -0700)] 
GEODE-9289: Configuration compatibile with pre-1.12.0 versions. (#6593)

* This part of the commit was missed as a part of the original commit

    (cherry picked from commit c1e59b23a89d4eac89334f525cd4a8bfaebefe1d)

12 months agoGEODE-9307: Removed MembershipListener after force disconnect (#6515)
Barry Oglesby [Thu, 27 May 2021 18:51:30 +0000 (08:51 -1000)] 
GEODE-9307: Removed MembershipListener after force disconnect (#6515)

(cherry picked from commit 2bc4bd93a6c24ea32c3a44c502fcb20c0a255cb4)

12 months agoGEODE-9146: have idle expiration ignore timestamp on removed remote entries
Darrel Schneider [Wed, 2 Jun 2021 23:28:06 +0000 (16:28 -0700)] 
GEODE-9146: have idle expiration ignore timestamp on removed remote entries

LatestLastAccessTimeMessage now ignores the last access time
of both invalid and removed entries.

(cherry picked from commit e4e10ace74a8a74868690d0c78f97814380a566d)

12 months agoGEODE-9331: remove the threadConnMaps ArrayList (#6535)
Darrel Schneider [Wed, 2 Jun 2021 16:20:45 +0000 (09:20 -0700)] 
GEODE-9331: remove the threadConnMaps ArrayList (#6535)

Removed the threadConnMaps ArrayList.
This removal also means that the HashMap is now
only referenced by a ThreadLocal so it no longer
is synchronized which simplified the code.

(cherry picked from commit 88918f1221e7bf90c88596d19c06ec41eec8315e)

12 months agoGEODE-9363: Bump spring from 5.2.10 to 5.2.15
Owen Nichols [Tue, 8 Jun 2021 17:22:49 +0000 (10:22 -0700)] 
GEODE-9363: Bump spring from 5.2.10 to 5.2.15

12 months agoGEODE-9363: Bump spring from 5.2.9 to 5.2.10
Owen Nichols [Tue, 8 Jun 2021 16:25:46 +0000 (09:25 -0700)] 
GEODE-9363: Bump spring from 5.2.9 to 5.2.10

13 months agoGEODE-9289: Configuration compatibile with pre-1.12.0 versions.
Nabarun Nag [Tue, 18 May 2021 01:33:19 +0000 (18:33 -0700)] 
GEODE-9289: Configuration compatibile with pre-1.12.0 versions.

* Configuration sent from 1.12.0 locators and later can be interpreted by pre 1.12.0 version locators

(cherry picked from commit c1e59b23a89d4eac89334f525cd4a8bfaebefe1d)

13 months agoGEODE-9137: install docker-compose via pip, not a stale ubuntu/univer… (#6300)
Robert Houghton [Fri, 9 Apr 2021 20:04:00 +0000 (13:04 -0700)] 
GEODE-9137: install docker-compose via pip, not a stale ubuntu/univer… (#6300)

* GEODE-9137: install docker-compose via pip, not a stale ubuntu/universe repo

(cherry picked from commit 2d881664bf5a945f926cdeb5cc53d77053faf189)

13 months agoGEODE-7864: Always use curly braces for control flow statements
Donal Evans [Thu, 3 Jun 2021 18:12:07 +0000 (11:12 -0700)] 
GEODE-7864: Always use curly braces for control flow statements

(cherry picked from commit 2879573)

Authored-by: Donal Evans <doevans@vmware.com>
13 months agoclean up
Ernest Burghardt [Wed, 5 May 2021 21:14:35 +0000 (14:14 -0700)] 
clean up

13 months agoGEODE-8206: CI Failure: ReconnectWithClusterConfigurationDUnitTest.testReconnectAfter...
Bruce Schuchardt [Tue, 2 Jun 2020 14:51:39 +0000 (07:51 -0700)] 
GEODE-8206: CI Failure: ReconnectWithClusterConfigurationDUnitTest.testReconnectAfterMeltdown hang (#5192)

Modified the test to set the correct locator ports.

Modified the teardown code to tell the cache to stop
reconnecting.

Modified each run to use a temporary working directory so that runs
don't leave behind artifacts on disk that can taint subsequent runs.

(cherry picked from commit 426d7fd41d0d66a7557f86236d6773f582e7ef0a)

13 months agospA changes
Ernest Burghardt [Wed, 5 May 2021 17:56:08 +0000 (10:56 -0700)] 
spA changes

13 months agoGEODE-9139 SSLException in starting up a Locator (#6308)
Bruce Schuchardt [Tue, 27 Apr 2021 20:54:36 +0000 (13:54 -0700)] 
GEODE-9139 SSLException in starting up a Locator (#6308)

* GEODE-9139 SSLException in starting up a Locator

Preserve the bind-address string specified by the user for cluster communications

Also enable use of host names in member identifiers if endpoint
validation is enabled.

* retain the bind address string or bind address InetAddress in a HostAddress

HostAndPort could not be used because there will be a port set but there
may not be a bindAddress set.  That class requires a host name.

* fixed NPE

* fixing a few problems with HostAddress

* spA

* fixed lgtm issue

* more lgtm issues fixed

* addressing Kamilla's comments

* typo

* simplify HostAndPort & HostAddress by creating a common superclass to hold
their InetSocketAddress.
Cache the result of attempting to resolve the host name, as suggested by
Bill.

* retain the string passed in as the hostname to avoid things like 127.0.0.1 being converted to localhost

* added comments about retention of the hostName parameter

(cherry picked from commit 55921a4d7b66a51279e71d1a665dc797fcc8ca6f)

13 months agoGEODE-7861: Improve error reporting in GMSJoinLeave.join() (#5839)
Kamilla Aslami [Fri, 8 Jan 2021 22:57:02 +0000 (14:57 -0800)] 
GEODE-7861: Improve error reporting in GMSJoinLeave.join() (#5839)

* GEODE-7861: Improve error reporting in GMSJoinLeave.join()

* Fix LocatorDUnitTest.testNoLocator

* Changes after the code review

* Fix typo

(cherry picked from commit 089c1ba7e20606f8201a4cd8f7221f6adc60ba5c)

13 months agoGEODE-9339: bump json-smart from 2.3 to 2.3.1
Owen Nichols [Wed, 2 Jun 2021 00:50:55 +0000 (17:50 -0700)] 
GEODE-9339: bump json-smart from 2.3 to 2.3.1

(cherry picked from commit b3b86bb1b2919f0faadf239046883c217d3e2d80)
(cherry picked from commit c6881a5a5b287d4c6cbae37e210cd02b46274f02)

13 months agoGEODE-9298: fix missing meta dependency
Owen Nichols [Fri, 28 May 2021 00:44:49 +0000 (17:44 -0700)] 
GEODE-9298: fix missing meta dependency

(cherry picked from commit e9cd0b89aac542b6531660b949532a6cc0c73f83)