Skip to content

Commit ab091a2

Browse files
author
Mario Salazar de Torres
committed
GEODE-9478: Merge latest changes from develop
2 parents 8403425 + 280bd84 commit ab091a2

File tree

148 files changed

+4444
-3990
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+4444
-3990
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ geode-assembly/**/resources/** @boglesby @kir
284284
#-----------------------------------------------------------------
285285
# Redis API
286286
#-----------------------------------------------------------------
287-
geode-apis-compatible-with-redis/** @jdeppe-pivotal @nonbinaryprogrammer @ringles @upthewaterspout @DonalEvans
287+
geode-apis-compatible-with-redis/** @jdeppe-pivotal @nonbinaryprogrammer @ringles @upthewaterspout @DonalEvans @dschneider-pivotal
288288

289289
#-----------------------------------------------------------------
290290
# Build and tooling

boms/geode-all-bom/src/test/resources/expected-pom.xml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<dependency>
166166
<groupId>commons-io</groupId>
167167
<artifactId>commons-io</artifactId>
168-
<version>2.10.0</version>
168+
<version>2.11.0</version>
169169
</dependency>
170170
<dependency>
171171
<groupId>commons-logging</groupId>
@@ -185,7 +185,7 @@
185185
<dependency>
186186
<groupId>io.github.classgraph</groupId>
187187
<artifactId>classgraph</artifactId>
188-
<version>4.8.109</version>
188+
<version>4.8.110</version>
189189
</dependency>
190190
<dependency>
191191
<groupId>io.github.resilience4j</groupId>
@@ -195,12 +195,12 @@
195195
<dependency>
196196
<groupId>io.lettuce</groupId>
197197
<artifactId>lettuce-core</artifactId>
198-
<version>6.1.3.RELEASE</version>
198+
<version>6.1.4.RELEASE</version>
199199
</dependency>
200200
<dependency>
201201
<groupId>io.micrometer</groupId>
202202
<artifactId>micrometer-core</artifactId>
203-
<version>1.7.1</version>
203+
<version>1.7.2</version>
204204
</dependency>
205205
<dependency>
206206
<groupId>io.netty</groupId>
@@ -365,12 +365,12 @@
365365
<dependency>
366366
<groupId>org.eclipse.jetty</groupId>
367367
<artifactId>jetty-server</artifactId>
368-
<version>9.4.42.v20210604</version>
368+
<version>9.4.43.v20210629</version>
369369
</dependency>
370370
<dependency>
371371
<groupId>org.eclipse.jetty</groupId>
372372
<artifactId>jetty-webapp</artifactId>
373-
<version>9.4.42.v20210604</version>
373+
<version>9.4.43.v20210629</version>
374374
</dependency>
375375
<dependency>
376376
<groupId>org.eclipse.persistence</groupId>
@@ -430,7 +430,7 @@
430430
<dependency>
431431
<groupId>org.springframework.hateoas</groupId>
432432
<artifactId>spring-hateoas</artifactId>
433-
<version>1.3.2</version>
433+
<version>1.3.3</version>
434434
</dependency>
435435
<dependency>
436436
<groupId>org.springframework.ldap</groupId>
@@ -455,7 +455,7 @@
455455
<dependency>
456456
<groupId>redis.clients</groupId>
457457
<artifactId>jedis</artifactId>
458-
<version>3.6.1</version>
458+
<version>3.6.3</version>
459459
</dependency>
460460
<dependency>
461461
<groupId>xerces</groupId>
@@ -645,72 +645,72 @@
645645
<dependency>
646646
<groupId>org.springframework</groupId>
647647
<artifactId>spring-aspects</artifactId>
648-
<version>5.3.8</version>
648+
<version>5.3.9</version>
649649
</dependency>
650650
<dependency>
651651
<groupId>org.springframework</groupId>
652652
<artifactId>spring-beans</artifactId>
653-
<version>5.3.8</version>
653+
<version>5.3.9</version>
654654
</dependency>
655655
<dependency>
656656
<groupId>org.springframework</groupId>
657657
<artifactId>spring-context</artifactId>
658-
<version>5.3.8</version>
658+
<version>5.3.9</version>
659659
</dependency>
660660
<dependency>
661661
<groupId>org.springframework</groupId>
662662
<artifactId>spring-core</artifactId>
663-
<version>5.3.8</version>
663+
<version>5.3.9</version>
664664
</dependency>
665665
<dependency>
666666
<groupId>org.springframework</groupId>
667667
<artifactId>spring-expression</artifactId>
668-
<version>5.3.8</version>
668+
<version>5.3.9</version>
669669
</dependency>
670670
<dependency>
671671
<groupId>org.springframework</groupId>
672672
<artifactId>spring-oxm</artifactId>
673-
<version>5.3.8</version>
673+
<version>5.3.9</version>
674674
</dependency>
675675
<dependency>
676676
<groupId>org.springframework</groupId>
677677
<artifactId>spring-test</artifactId>
678-
<version>5.3.8</version>
678+
<version>5.3.9</version>
679679
</dependency>
680680
<dependency>
681681
<groupId>org.springframework</groupId>
682682
<artifactId>spring-tx</artifactId>
683-
<version>5.3.8</version>
683+
<version>5.3.9</version>
684684
</dependency>
685685
<dependency>
686686
<groupId>org.springframework</groupId>
687687
<artifactId>spring-web</artifactId>
688-
<version>5.3.8</version>
688+
<version>5.3.9</version>
689689
</dependency>
690690
<dependency>
691691
<groupId>org.springframework</groupId>
692692
<artifactId>spring-webmvc</artifactId>
693-
<version>5.3.8</version>
693+
<version>5.3.9</version>
694694
</dependency>
695695
<dependency>
696696
<groupId>org.springframework.boot</groupId>
697697
<artifactId>spring-boot-starter</artifactId>
698-
<version>2.5.2</version>
698+
<version>2.5.3</version>
699699
</dependency>
700700
<dependency>
701701
<groupId>org.springframework.boot</groupId>
702702
<artifactId>spring-boot-starter-jetty</artifactId>
703-
<version>2.5.2</version>
703+
<version>2.5.3</version>
704704
</dependency>
705705
<dependency>
706706
<groupId>org.springframework.boot</groupId>
707707
<artifactId>spring-boot-starter-web</artifactId>
708-
<version>2.5.2</version>
708+
<version>2.5.3</version>
709709
</dependency>
710710
<dependency>
711711
<groupId>org.springframework.boot</groupId>
712712
<artifactId>spring-boot-starter-data-redis</artifactId>
713-
<version>2.5.2</version>
713+
<version>2.5.3</version>
714714
</dependency>
715715
<dependency>
716716
<groupId>org.springframework.session</groupId>

buildSrc/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@ class DependencyConstraints implements Plugin<Project> {
3434
// These version numbers are consumed by :geode-modules-assembly:distAppServer filtering
3535
// Some of these are referenced below as well
3636
deps.put("antlr.version", "2.7.7")
37-
deps.put("commons-io.version", "2.10.0")
37+
deps.put("commons-io.version", "2.11.0")
3838
deps.put("commons-lang3.version", "3.12.0")
3939
deps.put("commons-validator.version", "1.7")
4040
deps.put("fastutil.version", "8.5.4")
4141
deps.put("javax.transaction-api.version", "1.3")
4242
deps.put("jgroups.version", "3.6.14.Final")
4343
deps.put("log4j.version", "2.14.1")
44-
deps.put("micrometer.version", "1.7.1")
44+
deps.put("micrometer.version", "1.7.2")
4545
deps.put("shiro.version", "1.7.1")
4646
deps.put("slf4j-api.version", "1.7.30")
4747
deps.put("jboss-modules.version", "1.11.0.Final")
4848
deps.put("jackson.version", "2.12.3")
4949
deps.put("springshell.version", "1.2.0.RELEASE")
50-
deps.put("springframework.version", "5.3.8")
50+
deps.put("springframework.version", "5.3.9")
5151

5252
// These version numbers are used in testing various versions of tomcat and are consumed explicitly
5353
// in will be called explicitly in the relevant extensions module, and respective configurations
@@ -57,11 +57,11 @@ class DependencyConstraints implements Plugin<Project> {
5757
deps.put("tomcat6.version", "6.0.37")
5858
deps.put("tomcat7.version", "7.0.109")
5959
deps.put("tomcat8.version", "8.5.66")
60-
deps.put("tomcat9.version", "9.0.48")
60+
deps.put("tomcat9.version", "9.0.50")
6161

6262
// The jetty version is also hard-coded in geode-assembly:test
6363
// at o.a.g.sessions.tests.GenericAppServerInstall.java
64-
deps.put("jetty.version", "9.4.42.v20210604")
64+
deps.put("jetty.version", "9.4.43.v20210629")
6565

6666
// These versions are referenced in test.gradle, which is aggressively injected into all projects.
6767
deps.put("junit.version", "4.13.2")
@@ -111,9 +111,9 @@ class DependencyConstraints implements Plugin<Project> {
111111
api(group: 'commons-modeler', name: 'commons-modeler', version: '2.0.1')
112112
api(group: 'commons-validator', name: 'commons-validator', version: get('commons-validator.version'))
113113
// Careful when upgrading this dependency: see GEODE-7370 and GEODE-8150.
114-
api(group: 'io.github.classgraph', name: 'classgraph', version: '4.8.109')
114+
api(group: 'io.github.classgraph', name: 'classgraph', version: '4.8.110')
115115
api(group: 'io.github.resilience4j', name: 'resilience4j-retry', version: '1.7.1')
116-
api(group: 'io.lettuce', name: 'lettuce-core', version: '6.1.3.RELEASE')
116+
api(group: 'io.lettuce', name: 'lettuce-core', version: '6.1.4.RELEASE')
117117
api(group: 'io.micrometer', name: 'micrometer-core', version: get('micrometer.version'))
118118
api(group: 'io.netty', name: 'netty-all', version: '4.1.66.Final')
119119
api(group: 'io.swagger', name: 'swagger-annotations', version: '1.6.2')
@@ -160,12 +160,12 @@ class DependencyConstraints implements Plugin<Project> {
160160
api(group: 'org.postgresql', name: 'postgresql', version: '42.2.8')
161161
api(group: 'org.skyscreamer', name: 'jsonassert', version: '1.5.0')
162162
api(group: 'org.slf4j', name: 'slf4j-api', version: get('slf4j-api.version'))
163-
api(group: 'org.springframework.hateoas', name: 'spring-hateoas', version: '1.3.2')
163+
api(group: 'org.springframework.hateoas', name: 'spring-hateoas', version: '1.3.3')
164164
api(group: 'org.springframework.ldap', name: 'spring-ldap-core', version: '2.3.2.RELEASE')
165165
api(group: 'org.springframework.shell', name: 'spring-shell', version: get('springshell.version'))
166166
api(group: 'org.testcontainers', name: 'testcontainers', version: '1.15.3')
167167
api(group: 'pl.pragmatists', name: 'JUnitParams', version: '1.1.0')
168-
api(group: 'redis.clients', name: 'jedis', version: '3.6.1')
168+
api(group: 'redis.clients', name: 'jedis', version: '3.6.3')
169169
api(group: 'xerces', name: 'xercesImpl', version: '2.12.0')
170170
}
171171
}
@@ -252,7 +252,7 @@ class DependencyConstraints implements Plugin<Project> {
252252
entry('spring-webmvc')
253253
}
254254

255-
dependencySet(group: 'org.springframework.boot', version: '2.5.2') {
255+
dependencySet(group: 'org.springframework.boot', version: '2.5.3') {
256256
entry('spring-boot-starter')
257257
entry('spring-boot-starter-jetty')
258258
entry('spring-boot-starter-web')

ci/pipelines/geode-build/jinja.template.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ jobs:
497497
AWS_REGION: us-west-2
498498
ARTIFACT_BUCKET: ((artifact-bucket))
499499
BENCHMARKS_BRANCH: {{benchmarks.benchmark_branch}}
500-
BASELINE_BRANCH: {{benchmarks.baseline_branch}}
501-
BASELINE_VERSION: {{benchmarks.baseline_version}}
500+
BASELINE_BRANCH: {{run_var.baseline_branch if run_var.baseline_branch is defined else benchmarks.baseline_branch_default}}
501+
BASELINE_VERSION: {{run_var.baseline_version if run_var.baseline_version is defined else benchmarks.baseline_version_default}}
502502
FLAGS: {{ run_var.flag }}
503503
TAG_POSTFIX: -{{ run_var.title }}
504504
TEST_OPTIONS: {{ run_var.options }}
@@ -525,8 +525,8 @@ jobs:
525525
AWS_DEFAULT_REGION: us-west-2
526526
AWS_REGION: us-west-2
527527
ARTIFACT_BUCKET: ((artifact-bucket))
528-
BASELINE_BRANCH: {{benchmarks.baseline_branch}}
529-
BASELINE_VERSION: {{benchmarks.baseline_version}}
528+
BASELINE_BRANCH: {{run_var.baseline_branch if run_var.baseline_branch is defined else benchmarks.baseline_branch_default}}
529+
BASELINE_VERSION: {{run_var.baseline_version if run_var.baseline_version is defined else benchmarks.baseline_version_default}}
530530
FLAGS: {{ run_var.flag }}
531531
TAG_POSTFIX: -{{ run_var.title }}
532532
TEST_OPTIONS: {{ run_var.options }}

ci/pipelines/shared/jinja.variables.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#
1717

1818
benchmarks:
19-
baseline_branch: ''
20-
baseline_version: '1.13.4'
19+
baseline_branch_default: ''
20+
baseline_version_default: '1.13.4'
2121
benchmark_branch: ((geode-build-branch))
2222
flavors:
2323
- title: 'base'
@@ -35,6 +35,15 @@ benchmarks:
3535
options: '--tests=org.apache.geode.benchmark.tests.Partitioned*'
3636
max_in_flight: 3
3737
timeout: 12h
38+
- title: 'radish'
39+
# The current radish baseline version is taken from the commit:
40+
# GEODE-9169: remove netty context switch (#6725)
41+
baseline_branch: 'ed38145379d3da05ecc79a39fa145030bbd4fb1e'
42+
baseline_version: ''
43+
flag: '-PtestJVM=/usr/lib/jvm/bellsoft-java11-amd64 -Pbenchmark.withRedisCluster=geode -Pbenchmark.withServerCount=2'
44+
options: '--tests=org.apache.geode.benchmark.redis.tests.*'
45+
max_in_flight: 5
46+
timeout: 8h
3847

3948
build_test:
4049
ARTIFACT_SLUG: build

dev-tools/dependencies/bump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fi
2424

2525
if [ "$2" = "-l" ] ; then
2626
./gradlew dependencyUpdates -Drevision=release ; find . | grep build/dependencyUpdates/report.txt | xargs cat \
27-
| grep ' -> ' | egrep -v '(Gradle|antlr|lucene|JUnitParams|docker-compose-rule|javax.servlet-api|springfox|derby|selenium|jgroups|jmh|\[6.0.37|commons-collections|jaxb|testcontainers)' \
27+
| grep ' -> ' | egrep -v '(Gradle|antlr|lucene|JUnitParams|docker-compose-rule|javax.servlet-api|springfox|derby|selenium|jgroups|jmh|\[6.0.37|commons-collections|jaxb|testcontainers|gradle-tooling-api|slf4j|archunit)' \
2828
| sort -u | tr -d '][' | sed -e 's/ -> / /' -e 's#.*:#'"$0 $1"' #'
2929
exit 0
3030
fi

dev-tools/release/promote_rc.sh

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ sed -e "s/^ENV GEODE_GPG.*/ENV GEODE_GPG ${SIGNING_KEY}/" \
218218
-e "s/^ENV GEODE_VERSION.*/ENV GEODE_VERSION ${VERSION}/" \
219219
-e "s/^ENV GEODE_SHA256.*/ENV GEODE_SHA256 ${GEODE_SHA}/" \
220220
-e "s/ha.pool.sks-keyservers.net/keyserver.ubuntu.com/" \
221+
-e '/This is a TEMPLATE/d' \
221222
-i.bak Dockerfile
222223
rm Dockerfile.bak
223224
set -x
@@ -406,7 +407,7 @@ fi
406407
rm settings.gradle.bak
407408
if [ -z "$LATER" ] ; then
408409
#also update benchmark baseline for develop to this new minor
409-
sed -e "s/^ baseline_version:.*/ baseline_version: '${VERSION}'/" \
410+
sed -e "s/^ baseline_version_default:.*/ baseline_version_default: '${VERSION}'/" \
410411
-i.bak ci/pipelines/shared/jinja.variables.yml
411412
rm ci/pipelines/shared/jinja.variables.yml.bak
412413
BENCHMSG=" and set as Benchmarks baseline"
@@ -423,7 +424,7 @@ set +x
423424

424425
echo ""
425426
echo "============================================================"
426-
echo "Updating 'old' versions on support/$VERSION_MM"
427+
echo "Updating 'old' versions and Benchmarks baseline on support/$VERSION_MM"
427428
echo "============================================================"
428429
set -x
429430
cd ${GEODE}
@@ -435,10 +436,22 @@ sed -e "s/].each/,\\
435436
'${VERSION}'].each/" \
436437
-i.bak settings.gradle
437438
rm settings.gradle.bak
439+
PATCH=${VERSION##*.}
440+
if [ $PATCH -eq 0 ] ; then
441+
#also update benchmark baseline for support branch to its new minor
442+
sed \
443+
-e "s/^ baseline_version:.*/ baseline_version: '${VERSION}'/" \
444+
-e "s/^ baseline_version_default:.*/ baseline_version_default: '${VERSION}'/" \
445+
-i.bak ci/pipelines/shared/jinja.variables.yml
446+
rm ci/pipelines/shared/jinja.variables.yml.bak
447+
BENCHMSG2=" and set as Benchmarks baseline"
448+
set -x
449+
git add ci/pipelines/shared/jinja.variables.yml
450+
fi
438451
set -x
439452
git add settings.gradle
440453
git diff --staged --color | cat
441-
git commit -m "add ${VERSION} to old versions on support/$VERSION_MM"
454+
git commit -m "add ${VERSION} to old versions${BENCHMSG2} on support/$VERSION_MM"
442455
git push
443456
set +x
444457

@@ -492,8 +505,7 @@ MAJOR="${VERSION_MM%.*}"
492505
MINOR="${VERSION_MM#*.}"
493506
PATCH="${VERSION##*.}"
494507
[ "${PATCH}" -ne 0 ] || echo "10. Ask on the dev list for a volunteer to begin the chore of updating 3rd-party dependency versions on develop (see dev-tools/dependencies/README.md)"
495-
M=$(date --date '+18 months' '+%a, %B %d %Y' 2>/dev/null || date -v +9m "+%a, %B %d %Y" 2>/dev/null || echo "18 months from now")
496-
[ "${PATCH}" -ne 0 ] || echo "11. Mark your calendar for $M (assuming we release Geode ${MAJOR}.$((MINOR + 3)) on that day) to run ${0%/*}/end_of_support.sh -v ${VERSION_MM}"
508+
[ "${PATCH}" -ne 0 ] || [ "${MINOR}" -lt 15 ] || echo "11. In accordance with Geode's N-2 support policy, the time has come to ${0%/*}/end_of_support.sh -v ${MAJOR}.$((MINOR - 3))"
497509
[ "${PATCH}" -ne 0 ] || [ -n "$LATER" ] || echo "12. Log in to https://hub.docker.com/repository/docker/apachegeode/geode and update the latest Dockerfile linktext and url to ${VERSION_MM}"
498510
echo "If there are any support branches between ${VERSION_MM} and develop, manually cherry-pick '${VERSION}' bumps to those branches of geode and geode-native."
499511
echo "Bump support pipeline to ${VERSION_MM}.$(( PATCH + 1 )) by plussing BumpPatch in https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-support-${VERSION_MM//./-}-main?group=Semver%20Management"

docker/Dockerfile

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,23 @@
1616

1717
FROM bellsoft/liberica-openjdk-alpine:8
1818

19+
RUN echo "This is a TEMPLATE, DO NOT build from this Dockerfile. Instead checkout master or any released support/x.y branch." ; exit 1
20+
1921
# runtime dependencies
2022
RUN apk add --no-cache \
2123
bash \
2224
ncurses
2325

24-
# pub 4096R/ABF4396F 2018-04-12 [expires: 2022-04-12]
25-
# 8763 31B4 5A97 E382 D1BD FB44 4482 0F9C ABF4 396F
26-
# uid [ undef ] Mike Stolz <[email protected]>
27-
# sub 4096R/3871E6AD 2018-04-12 [expires: 2022-04-12]
28-
ENV GEODE_GPG DB5476815A475574577D442B468A4800EAFB2498
29-
# TODO does this change per-release like other Apache projects? (and thus needs to be a list of full fingerprints from a KEYS file instead?)
26+
ENV GEODE_GPG $$PLACEHOLDER$$
3027

3128
ENV GEODE_HOME /geode
3229
ENV PATH $PATH:$GEODE_HOME/bin
3330

3431
# https://geode.apache.org/releases/
35-
ENV GEODE_VERSION 1.9.0
32+
ENV GEODE_VERSION $$PLACEHOLDER$$
3633
# Binaries TGZ SHA-256
3734
# https://dist.apache.org/repos/dist/release/geode/VERSION/apache-geode-VERSION.tgz.sha256
38-
ENV GEODE_SHA256 8794808ebc89bc855f0b989b32e91e890d446cfd058e123f6ccb9e12597c1c4f
35+
ENV GEODE_SHA256 $$PLACEHOLDER$$
3936

4037
# http://apache.org/dyn/closer.cgi/geode/1.3.0/apache-geode-1.3.0.tgz
4138

@@ -50,7 +47,7 @@ RUN set -eux; \
5047
; do \
5148
target="$(basename "$file")"; \
5249
for url in \
53-
"https://www.apache.org/dyn/closer.lua/$file?action=download"
50+
"https://www.apache.org/dyn/closer.lua/$file?action=download" \
5451
"https://downloads.apache.org/$file" \
5552
"https://archive.apache.org/dist/$file" \
5653
; do \

0 commit comments

Comments
 (0)