geode.git
3 weeks agoGEODE-10355: Bump spring-security from 5.4.8 to 5.6.5 (#7769) support/1.14
Owen Nichols [Mon, 13 Jun 2022 21:48:26 +0000 (14:48 -0700)] 
GEODE-10355: Bump spring-security from 5.4.8 to 5.6.5 (#7769)

Geode endeavors to update to the latest version of 3rd-party
dependencies on develop wherever possible.  Doing so increases the
shelf life of releases and increases security and reliability.
Doing so regularly makes the occasional hiccups this can cause easier
to pinpoint and address.

Dependency bumps in this batch:
* Bump spring-security from 5.4.8 to 5.6.5

4 weeks agoGEODE-10342: Simplify copying jars (#7789)
Max Hufnagel [Wed, 8 Jun 2022 19:36:13 +0000 (12:36 -0700)] 
GEODE-10342: Simplify copying jars (#7789)

4 weeks agoGEODE-10365: add missing components to table (#7781)
Max Hufnagel [Wed, 8 Jun 2022 00:05:13 +0000 (17:05 -0700)] 
GEODE-10365: add missing components to table (#7781)

4 weeks agoGEODE-10342: Add current jars to HTTP Module for Tomcat instructions 1.14 (#7767)
Max Hufnagel [Fri, 3 Jun 2022 17:38:06 +0000 (10:38 -0700)] 
GEODE-10342: Add current jars to HTTP Module for Tomcat instructions 1.14 (#7767)

6 weeks agoGEODE-10275: Bump spring from 5.3.19 to 5.3.20
Owen Nichols [Mon, 23 May 2022 21:46:35 +0000 (14:46 -0700)] 
GEODE-10275: Bump spring from 5.3.19 to 5.3.20

Geode endeavors to update to the latest version of 3rd-party
dependencies on develop wherever possible.  Doing so increases the
shelf life of releases and increases security and reliability.
Doing so regularly makes the occasional hiccups this can cause easier
to pinpoint and address.

Dependency bumps in this batch:
* Bump spring from 5.3.19 to 5.3.20

6 weeks agoGEODE-10290: GII requester should remove departed members (#7670)
Xiaojian Zhou [Wed, 18 May 2022 18:55:15 +0000 (11:55 -0700)] 
GEODE-10290: GII requester should remove departed members (#7670)

(cherry picked from commit 3d6354cb6b182d54531a8103a357f03754cf5165)

7 weeks agoGEODE-10299: update examples for creating dynamic regions (#7681)
Max Hufnagel [Wed, 11 May 2022 23:17:52 +0000 (16:17 -0700)] 
GEODE-10299: update examples for creating dynamic regions (#7681)

7 weeks agoGEODE-10307: Doc changes needed for enable security-manager property (#7687)
Dave Barnes [Fri, 13 May 2022 20:20:56 +0000 (13:20 -0700)] 
GEODE-10307: Doc changes needed for enable security-manager property (#7687)

* GEODE-10307: Doc changes needed for enable security-manager property

8 weeks agoPR pipeline is per branch now
Owen Nichols [Mon, 9 May 2022 07:39:29 +0000 (00:39 -0700)] 
PR pipeline is per branch now

(cherry picked from commit 008443b738315309b594127df04f823f6b60df0b)

2 months agoGEODE-10275: Bump spring from 5.3.18 to 5.3.19 (#7648)
Owen Nichols [Wed, 4 May 2022 00:05:36 +0000 (17:05 -0700)] 
GEODE-10275: Bump spring from 5.3.18 to 5.3.19 (#7648)

latest (5.3.19) is recommended for 5.3-based support branches

2 months agoGEODE-10264: remove 'connect to the server from your application' section (#7641)
Max Hufnagel [Tue, 3 May 2022 00:06:35 +0000 (17:06 -0700)] 
GEODE-10264: remove 'connect to the server from your application' section (#7641)

2 months agoGEODE-10122: P2P Messaging Handles TLS KeyUpdate Message (#7449) (#7615)
Bill Burcham [Tue, 26 Apr 2022 21:54:03 +0000 (14:54 -0700)] 
GEODE-10122: P2P Messaging Handles TLS KeyUpdate Message  (#7449) (#7615)

* Key expiration works for TLSv1.3 and GCM-based ciphers
* TLS KeyUpdate messages are processed correctly
* Removed dependencies on: Mockito 4, JUnit 5, GeodeParamsRunner

(cherry picked from commit d2535394a82ac5faf10f004f4e3c15f756f7b177)

2 months agoGEODE-10229: GII image should fill disk region RVV's exceptions. (#7602)
Xiaojian Zhou [Wed, 20 Apr 2022 21:35:54 +0000 (14:35 -0700)] 
GEODE-10229: GII image should fill disk region RVV's exceptions. (#7602)

* GEODE-10229: GII image should fill disk region RVV's exceptions.
    There're 2 issues: Tombstone in GII image should save version tag into disk region RVV
    even the tombstone is the same as local one. Disk region RVV holder did not use bitset.
    Only bitset based holder can fill special exception. Should do it for non-bitset holder too.

(cherry picked from commit 28dbac1a86dd40ca0c3ceba004263824f6de4653)

2 months agoGEODE-9759: replaces double-hyphens with ‑‑ (#7597)
Max Hufnagel [Sat, 16 Apr 2022 00:50:58 +0000 (17:50 -0700)] 
GEODE-9759: replaces double-hyphens with ‑‑ (#7597)

2 months agoGEODE-5337: End-port is not exclusive when creating a gw receiver (#6370)
Alberto Bustamante Reyes [Tue, 27 Apr 2021 07:34:30 +0000 (09:34 +0200)] 
GEODE-5337: End-port is not exclusive when creating a gw receiver (#6370)

2 months agoGEODE-4709: Add list gateways output sample in UG (#6372)
Alberto Bustamante Reyes [Tue, 27 Apr 2021 21:39:28 +0000 (23:39 +0200)] 
GEODE-4709: Add list gateways output sample in UG (#6372)

* GEODE-4709: Add list gateways output sample in UG

2 months agoGEODE-10232: reformat list for more reliable rendering (#7581)
Dave Barnes [Tue, 12 Apr 2022 18:56:00 +0000 (11:56 -0700)] 
GEODE-10232: reformat list for more reliable rendering (#7581)

3 months agoGEODE-10201: Bump spring from 5.3.8 to 5.3.18 (#7531)
Owen Nichols [Thu, 31 Mar 2022 19:20:17 +0000 (12:20 -0700)] 
GEODE-10201: Bump spring from 5.3.8 to 5.3.18 (#7531)

see https://github.com/spring-projects/spring-framework/issues/24434

3 months agoGEODE-9980: Improve error handling of serial filters (#7299)
Kirk Lund [Tue, 8 Feb 2022 20:04:44 +0000 (12:04 -0800)] 
GEODE-9980: Improve error handling of serial filters (#7299)

Improves the error handling of serial filter configuration and
filtering. The API throws a runtime exception wrapping any thrown
exceptions.

When geode.enableGlobalSerialFilter is FALSE:
* Startup succeeds without throwing any exceptions even if an older
  version of Java throws "java.lang.ClassNotFoundException
  sun.misc.ObjectInputFilter".

When geode.enableGlobalSerialFilter is TRUE:
* Startup fails by throwing an exception when configuration of serial
  filter fails for any reason.

Renames ObjectInputFilter to avoid confusion with the Java interface of
the same name.

Fixes a bug found in ReflectiveFacadeGlobalSerialFilterTest which
resulted in configuring a non-mocked process-wide serial filter that
polluted the JVM for all later tests.

Fixes other minor details in LocatorLauncher, InternalDataSerializer
and various related tests.

(cherry picked from commit ce57e9fd2b8b644cadc469209e12e4fbd281e0d9)

3 months agoGEODE-9758: Add internal serial filter API (#7217)
Kirk Lund [Tue, 18 Jan 2022 19:01:25 +0000 (11:01 -0800)] 
GEODE-9758: Add internal serial filter API (#7217)

GEODE-9758: Add internal serial filter API #7217

Expand ObjectInputStreamFilterWrapper to be an internal API which
supports all of Geode's uses of Java's ObjectInputFilter.

Introduce a new system property, geode.enableGlobalSerialFilter, to
enable a process-wide filter with all serializable Geode classes on the
classpath and the value of serializable-object-filter accept-listed.

To enable the process-wide filter with GFSH start commands, add:

* --J=-Dgeode.enableGlobalSerialFilter=true

Functional Capabilities

The internal API lives in geode-serialization and works on OpenJDK
based JREs providing a facade for Java's ObjectInputFilter in Java 8
and Java 9 or greater using reflection. The API provides the following
capabilities:

* creating an ObjectInputFilter
* setting an ObjectInputFilter on an ObjectInputStream
* getting an ObjectInputFilter from a ObjectInputStream
* setting a process-wide ObjectInputFilter
* getting a process-wide ObjectInputFilter

Design Notes

The API defines the following primary interface types:

* factory interfaces for creating instances of types within the API
* filter interfaces to split out single ops from Java's
  ObjectInputFilter
* configuration interfaces for handling system properties, logging,
  and config validation

The concrete classes in the API receive parameters injected via a
constructor for any collaborators that are not specified by the
interfaces. This is intentional even when the instance is only used
once before de-referencing it. All collaborators that are defined in
the interface are passed in as parameters to the implementing
method; all others are passed in via the constructor and stored as
fields.

(cherry picked from commit 7978abf34707d11da45cff0b7cb7445f18d21438)

3 months agoGEODE-9879: Extract SystemProperty to geode-common (#7177)
Kirk Lund [Mon, 20 Dec 2021 18:53:32 +0000 (10:53 -0800)] 
GEODE-9879: Extract SystemProperty to geode-common (#7177)

Extract part of SystemPropertyHelper to geode-common for use in
modules that are upstream from geode-core.

Define new DEFAULT_PREFIX that maps to GEODE_PREFIX and use that
everywhere that GEODE_PREFIX was previously used.

* Inline prefix constants in SystemPropertyHelper
* Use static imports for system property prefixes.
* Split up large tests in SystemPropertyHelperTest.
* Fix JAXBService

(cherry picked from commit ebf8479fffb5775b1f45801aa9382c2dad7106e0)

3 months agoGEODE-9758: Move ClassUtils to geode-common (#7166)
Kirk Lund [Fri, 10 Dec 2021 19:28:17 +0000 (11:28 -0800)] 
GEODE-9758: Move ClassUtils to geode-common (#7166)

(cherry picked from commit b6fca291378a1bc334b0f9927c899a1892442939)

3 months agoGEODE-9758: Move SanctionedSerializables to filter package (#7165)
Kirk Lund [Thu, 9 Dec 2021 18:15:20 +0000 (10:15 -0800)] 
GEODE-9758: Move SanctionedSerializables to filter package (#7165)

Move SanctionedSerializables to new package
org.apache.geode.internal.serialization.filter.

(cherry picked from commit db64b4948e790d61e82f95ae6163a62adc4c67fb)

3 months agoGEODE-9817: Enable customized source set paths for ClassAnalysisRule (#7121)
Kirk Lund [Fri, 19 Nov 2021 00:23:36 +0000 (16:23 -0800)] 
GEODE-9817: Enable customized source set paths for ClassAnalysisRule (#7121)

Adds support for customizing source set paths of ClassAnalysisRule.

PROBLEM

Modules external to Geode must be structured the same as Geode
source code in order to use ClassAnalysisRule and the
Analyze*Serializables tests. This is necessary to better facilitate
pluggability of modules that need to provide sanctioned serializable
lists.

SOLUTION

Add source set path customization to ClassAnalysisRule, introduce
a new layer of Analyze*Serializables test base classes that can be
directly extended in order to customize source set paths in
ClassAnalysisRule. Also includes improvements to some iterating
of classes during analysis.

(cherry picked from commit 5d1e91932dff296632916a6ceccfb36039357acd)

3 months agoGEODE-10179: Bump jackson-databind to 2.12.6.1 (#7501)
Owen Nichols [Mon, 28 Mar 2022 22:41:03 +0000 (15:41 -0700)] 
GEODE-10179: Bump jackson-databind to 2.12.6.1 (#7501)

fixes https://github.com/FasterXML/jackson-databind/issues/2816

3 months agoGEODE-9298: remove concourse deprecation warnings
Owen Nichols [Fri, 28 May 2021 00:32:17 +0000 (17:32 -0700)] 
GEODE-9298: remove concourse deprecation warnings

(cherry picked from commit d7cfc506a69680f90ab1a91c226a227f029d5ad1)

3 months agoGEODE-10164: Revert wording change in rebalance result (#7490)
Barry Oglesby [Fri, 25 Mar 2022 16:02:25 +0000 (06:02 -1000)] 
GEODE-10164: Revert wording change in rebalance result (#7490)

I changed the wording on the rebalance command results with the fix to
support rebalancing subregions. This change caused downstream tests to
fail that were expecting the original wording. This change reverts the
change to the wording back to the original.

(cherry picked from commit 9b2351029a6d24f63cc2b1a20af9112e9ed09997)

3 months agoRevert "GEODE-9980: Improve error handling of serial filters (#7355)" (#7489)
Kirk Lund [Fri, 25 Mar 2022 16:32:47 +0000 (09:32 -0700)] 
Revert "GEODE-9980: Improve error handling of serial filters (#7355)" (#7489)

This reverts commit 5d9e4b5b54b84c2de28b670fe6feb0b0c44443f7.

Revert "GEODE-9758: Add internal serial filter API (#7217)"
This reverts commit f0809e411d561226f736adca9d40cbbe27033e53.

Revert "GEODE-9879: Extract SystemProperty to geode-common (#7177)"
This reverts commit 2652bd65cd4192068de6c601f7ba92d120816593.

Revert "GEODE-9758: Move ClassUtils to geode-common (#7166)"
This reverts commit e821d6eff4541ae478a0eb67217bcb456abae97a.

Revert "GEODE-9758: Move SanctionedSerializables to filter package (#7165)"
This reverts commit 3f66ab05e5683edb4bcb43e52304d8e5f58ac707.

Revert "GEODE-9817: Enable customized source set paths for ClassAnalysisRule (#7367)"
This reverts commit 8f3186cb74ccd2eb1ec8ba648c7a11b08d575962.

3 months agoGEODE-10145: Java tools (such as javac) need to stay on the PATH (#7482)
Owen Nichols [Wed, 23 Mar 2022 21:21:41 +0000 (14:21 -0700)] 
GEODE-10145: Java tools (such as javac) need to stay on the PATH (#7482)

they were accidentally removed by prior PR#7466 for GEODE-10145

(cherry picked from commit 817860c649844484c39831873bb2e71ca978c08b)

3 months agoGEODE-10150: alter runtime command and change loglevel command docs bug & improvement...
Dave Barnes [Wed, 23 Mar 2022 15:39:17 +0000 (08:39 -0700)] 
GEODE-10150: alter runtime command and change loglevel command docs bug & improvements (#7474)

3 months agodebug stress-new-test
Robert Houghton [Wed, 23 Mar 2022 02:50:53 +0000 (19:50 -0700)] 
debug stress-new-test

3 months agoGEODE-9980: Improve error handling of serial filters (#7355)
Kirk Lund [Thu, 10 Feb 2022 18:53:21 +0000 (10:53 -0800)] 
GEODE-9980: Improve error handling of serial filters (#7355)

Improves the error handling of serial filter configuration and
filtering. The API throws a runtime exception wrapping any thrown
exceptions.

When geode.enableGlobalSerialFilter is FALSE:
* Startup succeeds without throwing any exceptions even if an older
  version of Java throws "java.lang.ClassNotFoundException
  sun.misc.ObjectInputFilter".

When geode.enableGlobalSerialFilter is TRUE:
* Startup fails by throwing an exception when configuration of serial
  filter fails for any reason.

Renames ObjectInputFilter to avoid confusion with the Java interface of
the same name.

Fixes a bug found in ReflectiveFacadeGlobalSerialFilterTest which
resulted in configuring a non-mocked process-wide serial filter that
polluted the JVM for all later tests.

Fixes other minor details in LocatorLauncher, InternalDataSerializer
and various related tests.

(cherry picked from commit ce57e9fd2b8b644cadc469209e12e4fbd281e0d9)
(cherry picked from commit 6ecdce0d9ef9040f3bbb90c8ea4ff5eb99d712fc)

3 months agoGEODE-9758: Add internal serial filter API (#7217)
Kirk Lund [Tue, 18 Jan 2022 19:01:25 +0000 (11:01 -0800)] 
GEODE-9758: Add internal serial filter API (#7217)

GEODE-9758: Add internal serial filter API #7217

Expand ObjectInputStreamFilterWrapper to be an internal API which
supports all of Geode's uses of Java's ObjectInputFilter.

Introduce a new system property, geode.enableGlobalSerialFilter, to
enable a process-wide filter with all serializable Geode classes on the
classpath and the value of serializable-object-filter accept-listed.

To enable the process-wide filter with GFSH start commands, add:

* --J=-Dgeode.enableGlobalSerialFilter=true

Functional Capabilities

The internal API lives in geode-serialization and works on OpenJDK
based JREs providing a facade for Java's ObjectInputFilter in Java 8
and Java 9 or greater using reflection. The API provides the following
capabilities:

* creating an ObjectInputFilter
* setting an ObjectInputFilter on an ObjectInputStream
* getting an ObjectInputFilter from a ObjectInputStream
* setting a process-wide ObjectInputFilter
* getting a process-wide ObjectInputFilter

Design Notes

The API defines the following primary interface types:

* factory interfaces for creating instances of types within the API
* filter interfaces to split out single ops from Java's
  ObjectInputFilter
* configuration interfaces for handling system properties, logging,
  and config validation

The concrete classes in the API receive parameters injected via a
constructor for any collaborators that are not specified by the
interfaces. This is intentional even when the instance is only used
once before de-referencing it. All collaborators that are defined in
the interface are passed in as parameters to the implementing
method; all others are passed in via the constructor and stored as
fields.

(cherry picked from commit 7978abf34707d11da45cff0b7cb7445f18d21438)

3 months agoGEODE-9879: Extract SystemProperty to geode-common (#7177)
Kirk Lund [Mon, 20 Dec 2021 18:53:32 +0000 (10:53 -0800)] 
GEODE-9879: Extract SystemProperty to geode-common (#7177)

Extract part of SystemPropertyHelper to geode-common for use in
modules that are upstream from geode-core.

Define new DEFAULT_PREFIX that maps to GEODE_PREFIX and use that
everywhere that GEODE_PREFIX was previously used.

* Inline prefix constants in SystemPropertyHelper
* Use static imports for system property prefixes.
* Split up large tests in SystemPropertyHelperTest.
* Fix JAXBService

(cherry picked from commit ebf8479fffb5775b1f45801aa9382c2dad7106e0)

3 months agoGEODE-9758: Move ClassUtils to geode-common (#7166)
Kirk Lund [Fri, 10 Dec 2021 19:28:17 +0000 (11:28 -0800)] 
GEODE-9758: Move ClassUtils to geode-common (#7166)

(cherry picked from commit b6fca291378a1bc334b0f9927c899a1892442939)

3 months agoGEODE-9758: Move SanctionedSerializables to filter package (#7165)
Kirk Lund [Thu, 9 Dec 2021 18:15:20 +0000 (10:15 -0800)] 
GEODE-9758: Move SanctionedSerializables to filter package (#7165)

Move SanctionedSerializables to new package
org.apache.geode.internal.serialization.filter.

(cherry picked from commit db64b4948e790d61e82f95ae6163a62adc4c67fb)

3 months agoEnable PR pipeline for support/1.14
Robert Houghton [Tue, 22 Mar 2022 21:53:53 +0000 (14:53 -0700)] 
Enable PR pipeline for support/1.14

3 months agoGEODE-10145: Organize Dockerfile to work around alpine compat issues (#7466)
Robert Houghton [Mon, 21 Mar 2022 22:39:03 +0000 (15:39 -0700)] 
GEODE-10145: Organize Dockerfile to work around alpine compat issues (#7466)

Also add concourse resources to track our base-image versions to better
track which dependencies may have caused the build issue. Still only
triggering on the core base image, and our Dockerfile.

Authored-by: Robert Houghton <rhoughton@pivotal.io>
(cherry picked from commit 07a1aacc9275e028b0ab8dd57193f423f8f722c3)

3 months agoGEODE-10101: Bump version to 1.14.5
Dick Cavender [Fri, 18 Mar 2022 16:50:20 +0000 (09:50 -0700)] 
GEODE-10101: Bump version to 1.14.5

As part of the Geode Release Process, the build number must
be rolled forward so work can begin on the next release

3 months agoGEODE-10101: Replace 1.14.3 with 1.14.4 as old version
Dick Cavender [Fri, 18 Mar 2022 16:50:08 +0000 (09:50 -0700)] 
GEODE-10101: Replace 1.14.3 with 1.14.4 as old version

Replace 1.14.3 with 1.14.4 in old versions on support/1.14
to enable rolling upgrade tests from 1.14.4

The serialization version has not changed between 1.14.3 and 1.14.4,
so there should be no need to keep both

3 months agoGEODE-10101: update Dockerfile to apache-geode 1.14.4
Dick Cavender [Fri, 18 Mar 2022 16:45:42 +0000 (09:45 -0700)] 
GEODE-10101: update Dockerfile to apache-geode 1.14.4

The Dockerfile is updated _after_ the release is already tagged,
because it needs to embed the sha256 of the release

3 months agoGEODE-10100: Replace 1.13.7 with 1.13.8 as old version
Dick Cavender [Tue, 15 Mar 2022 22:04:28 +0000 (15:04 -0700)] 
GEODE-10100: Replace 1.13.7 with 1.13.8 as old version

Replace 1.13.7 with 1.13.8 in old versions on support/1.14
to enable rolling upgrade tests from 1.13.8

The serialization version has not changed between 1.13.7 and 1.13.8,
so there should be no need to keep both

(cherry picked from commit ea783016b775e45f59ca17bc08a40d90921ffa4f)

3 months agoGEODE-10103: Retrieve full region path names (#7419)
Barry Oglesby [Wed, 9 Mar 2022 17:11:30 +0000 (07:11 -1000)] 
GEODE-10103: Retrieve full region path names (#7419)

* GEODE-10103: Retrieve full region path names

This commit modifies RebalanceOperationPerformer getMemberRegionList
to invoke listAllRegionPaths instead of listNames.

(cherry picked from commit 8610ee70d470a8b30ab067db912bd0ac345d9df0)
(cherry picked from commit d8f5afcecab615113c4326a32e9f56e0dfaa44f6)

3 months agoGEODE-9910: Stop embedded locator after failed start (#7393)
Barry Oglesby [Mon, 7 Mar 2022 18:50:19 +0000 (08:50 -1000)] 
GEODE-9910: Stop embedded locator after failed start (#7393)

The start-locator property causes a locator to be started when the
InternalDistributedSystem is initialized. The initialize method creates
the locator and then creates a ClusterDistributionManager. If the
creation of the ClusterDistributionManager failed, the started locator
was not stopped. This change addresses that by stopping the locator if
an exception occurs.

(cherry picked from commit 72665b1ec5c6a6b91d0d6c57e997c23033578c58)
(cherry picked from commit 5a32ec00bdbd949bc473322c3643f3d96165d62d)

3 months agoGEODE-10099: Add 1.12.9 as old version
Dick Cavender [Thu, 10 Mar 2022 02:09:39 +0000 (18:09 -0800)] 
GEODE-10099: Add 1.12.9 as old version

Adds 1.12.9 to old versions on develop

(cherry picked from commit 5243f68505eaca5758c990473b3df527635b25f7)
(cherry picked from commit 75145f3347eb3a081f9675de01d63527ba90263f)

4 months agoGEODE-10093 - Fixed attr issue in Delta Session (#7405) (#7413) rel/v1.14.4 rel/v1.14.4.RC1
BenjaminPerryRoss [Wed, 2 Mar 2022 22:27:08 +0000 (14:27 -0800)] 
GEODE-10093 - Fixed attr issue in Delta Session (#7405) (#7413)

* GEODE-10093 - Fixed attr issue in Delta Session

(cherry picked from commit e040759cd1e42df377501cd423967d549ce2bfab)

4 months agoGEODE-9990: turn DiskAccessException into CacheClosedException (#7334) (#7379)
Joris Melchior [Wed, 23 Feb 2022 18:30:48 +0000 (13:30 -0500)] 
GEODE-9990: turn DiskAccessException into CacheClosedException (#7334) (#7379)

* GEODE-9990: turn DiskAccessException into CacheClosedException

- when DiskInitFile is in closed state and DiskStoreImpl is closed or
  closing
- catch DiskAccessException in PRHARedundancyProvider and turn into
  CacheClosedException if cache closing is in progress
- change CreateBucketMessage to handle DiskAccessException as cause of
  ReplyException

(cherry picked from commit a98197b5d0a3a2547e0581e475dcabaa82e6e92f)

4 months agoGEODE-10057: Correct geode-for-redis docs
Dave Barnes [Wed, 16 Feb 2022 19:11:20 +0000 (11:11 -0800)] 
GEODE-10057: Correct geode-for-redis docs

4 months agoGEODE-9817: Enable customized source set paths for ClassAnalysisRule (#7367)
Kirk Lund [Wed, 16 Feb 2022 09:12:28 +0000 (01:12 -0800)] 
GEODE-9817: Enable customized source set paths for ClassAnalysisRule (#7367)

Adds support for customizing source set paths of ClassAnalysisRule.

PROBLEM

Modules external to Geode must be structured the same as Geode
source code in order to use ClassAnalysisRule and the
Analyze*Serializables tests. This is necessary to better facilitate
pluggability of modules that need to provide sanctioned serializable
lists.

SOLUTION

Add source set path customization to ClassAnalysisRule, introduce
a new layer of Analyze*Serializables test base classes that can be
directly extended in order to customize source set paths in
ClassAnalysisRule. Also includes improvements to some iterating
of classes during analysis.

[prereq for backport of GEODE-9980 and GEODE-9758]

(cherry picked from commit 5d1e91932dff296632916a6ceccfb36039357acd)

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.14.4
Dick Cavender [Wed, 26 Jan 2022 00:00:10 +0000 (16:00 -0800)] 
Bumping version to 1.14.4

5 months agoadd 1.14.3 to old versions on support/1.14
Dick Cavender [Wed, 26 Jan 2022 00:00:00 +0000 (16:00 -0800)] 
add 1.14.3 to old versions on support/1.14

5 months agoupdate Dockerfile to apache-geode 1.14.3
Dick Cavender [Tue, 25 Jan 2022 23:56:00 +0000 (15:56 -0800)] 
update Dockerfile to apache-geode 1.14.3

5 months agoadd 1.13.7 to old versions on develop (#7292)
Dick Cavender [Thu, 20 Jan 2022 23:51:59 +0000 (15:51 -0800)] 
add 1.13.7 to old versions on develop (#7292)

(cherry picked from commit a2ed24199f59f89fb87deca81280e243115f18a9)

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)

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)

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)

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)

5 months agoGEODE-9819: fix durable client socket leak (#7266)
Darrel Schneider [Fri, 14 Jan 2022 01:02:49 +0000 (17:02 -0800)] 
GEODE-9819: fix durable client socket leak (#7266)

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)

6 months agopare down oldversion list to only latest patch per serialization version rel/v1.14.3 rel/v1.14.3.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

6 months agoGEODE-9060: Remove the member from a copy of replicates as GII candid… (#6246) (...
Xiaojian Zhou [Tue, 4 Jan 2022 00:04:18 +0000 (16:04 -0800)] 
GEODE-9060: Remove the member from a copy of replicates as GII candid… (#6246) (#7230)

* 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 agoBumping copyright year to 2022
Owen Nichols [Sat, 1 Jan 2022 08:33:54 +0000 (00:33 -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:10:22 +0000 (13:10 -0800)] 
GEODE-9905: Bump log4j from 2.17.0 to 2.17.1

6 months agoGEODE-9905: [1.14] Bump log4j from 2.16.0 to 2.17.0 (#7216)
Kirk Lund [Tue, 21 Dec 2021 17:26:08 +0000 (09:26 -0800)] 
GEODE-9905: [1.14] Bump log4j from 2.16.0 to 2.17.0 (#7216)

(cherry picked from commit 45714b36b04f89b56c81e97cb03fc0fbf95f58c9)

Co-authored-by: Owen Nichols <34043438+onichols-pivotal@users.noreply.github.com>
6 months agoEnable LGTM as PR-gating checks (#7197)
Robert Houghton [Fri, 17 Dec 2021 03:41:58 +0000 (19:41 -0800)] 
Enable LGTM as PR-gating checks (#7197)

(cherry picked from commit 48ccfe734aac39107c1fa16e2e961027089cb85e)

6 months agoadd 1.12.7 and 1.13.6 to old versions on support/1.14
Owen Nichols [Thu, 16 Dec 2021 01:55:25 +0000 (17:55 -0800)] 
add 1.12.7 and 1.13.6 to old versions on support/1.14

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

6 months agoBumping version to 1.14.3
Owen Nichols [Thu, 16 Dec 2021 00:54:31 +0000 (16:54 -0800)] 
Bumping version to 1.14.3

6 months agoadd 1.14.2 to old versions on support/1.14
Owen Nichols [Wed, 15 Dec 2021 23:50:23 +0000 (15:50 -0800)] 
add 1.14.2 to old versions on support/1.14

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

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

(cherry-picked from commit 7bec7474c1fb6794daf199276d0eea8cb40a8206))

6 months agoGEODE-9877: Use ServerSocket to create interfering port (#7182)
Jens Deppe [Sun, 12 Dec 2021 06:39:41 +0000 (22:39 -0800)] 
GEODE-9877: Use ServerSocket to create interfering port (#7182)

- This is a manual backport of 310c647da6 since there are a lot of
  conflicts when cherry picking and the fix is quite trivial.

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

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

6 months agoadd 1.14.1 to old versions on support/1.14
Owen Nichols [Sat, 11 Dec 2021 02:26:05 +0000 (18:26 -0800)] 
add 1.14.1 to old versions on support/1.14

6 months agoupdate Dockerfile to apache-geode 1.14.1
Owen Nichols [Sat, 11 Dec 2021 02:15:22 +0000 (18:15 -0800)] 
update Dockerfile to apache-geode 1.14.1

6 months agoGEODE-9888: Bump log4j from 2.14.0 to 2.15.0 (#7184) rel/v1.14.1 rel/v1.14.1.RC2
Owen Nichols [Fri, 10 Dec 2021 19:08:59 +0000 (11:08 -0800)] 
GEODE-9888: Bump log4j from 2.14.0 to 2.15.0 (#7184)

6 months agoGEODE-9877: Use ServerSocket to create interfering port (#7180)
Jens Deppe [Thu, 9 Dec 2021 20:25:13 +0000 (12:25 -0800)] 
GEODE-9877: Use ServerSocket to create interfering port (#7180)

- For some unknown reason `startupFailsGivenPortAlreadyInUse` started to
  fail after a seemingly innocuous Ubuntu base image bump. The problem
  may also have been triggered by arbitrary test ordering changes since
  the test did not fail on its own, but only in conjunction with running
  other tests beforehand.
  Specifically, the test was failing when binding the interfering port
  (bind exception). The port used was always in the TIME_WAIT state left
  from previous tests.
  Using a `ServerSocket`, instead of a regular socket, fixes the problem
  since it actually 'uses' the port and implicitly allows for port
  reuse.

- Use ServerSocket consistently. Rename test to be more appropriate

(cherry picked from commit 310c647da6ee4cc4a1eadc6df174d998e69afb31)

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-9862: pin Gradle use of jgit (#7152) rel/v1.14.1.RC1
Robert Houghton [Tue, 30 Nov 2021 00:12:07 +0000 (16:12 -0800)] 
GEODE-9862: pin Gradle use of jgit (#7152)

* dependency of grgit used in GemFireVersion.properties

Authored-by: Robert Houghton <rhoughton@pivotal.io>
(cherry picked from commit 5d89d4f6e6ded010d05434e76d7baed6c7e9db28)

7 months agoGEODE-9825: processInputBuffer resize retains data (#7131)
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)

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-9778: Bump netty from 4.1.67.Final to 4.1.70.Final
Jens Deppe [Fri, 5 Nov 2021 12:57:58 +0000 (05:57 -0700)] 
GEODE-9778: Bump netty from 4.1.67.Final to 4.1.70.Final

(cherry picked from commit 7f4bf62a08b24aca81fe05349cdc72d919a6cab7)

7 months agoGEODE-9050: Putting sleep in PubSubIntegrationTest
Dan Smith [Mon, 8 Nov 2021 18:39:26 +0000 (10:39 -0800)] 
GEODE-9050: Putting sleep in PubSubIntegrationTest

Working around this issue by putting a sleep in PubSubIntegrationTest. This is
not a fix for the underlying race condition in the product but just a
workaround to make this test pass so we can continue to upgrade netty on this
support branch. The actual fix will in 1.15.

8 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:59 +0000 (09:25 -0700)] 
[GEODE-9775] Add heavy-lifter environment variables.

(cherry picked from commit 5012f3997c0ac898e021532eb98a1310d21b9c26)

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 (#7017)
Kirk Lund [Thu, 21 Oct 2021 21:21:05 +0000 (14:21 -0700)] 
GEODE-9714: Add Shiro packages to sanctioned serializables (#7017)

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)

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-9625: Only serialize transaction metadata when grouping enabled. (#6984)
Jacob Barrett [Wed, 13 Oct 2021 17:47:48 +0000 (10:47 -0700)] 
GEODE-9625: Only serialize transaction metadata when grouping enabled. (#6984)

(cherry picked from commit ab651eba9558752fe1336919e462350f4581a22a)

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-9672: Disable native redis multibulk test (#6941)
Jens Deppe [Wed, 6 Oct 2021 15:18:44 +0000 (08:18 -0700)] 
GEODE-9672: Disable native redis multibulk test (#6941)

- This is a manual packport of the original fix

9 months agoGEODE-9628: Documentation fix for setting credentials in client (#6928)
Dave Barnes [Tue, 5 Oct 2021 16:22:33 +0000 (09:22 -0700)] 
GEODE-9628: Documentation fix for setting credentials in client (#6928)

* GEODE-9568 Documentation fix for setting credentials in client (format & style)