Skip to content

Upgrade ZooKeeper to 3.8.0 - #3145

Merged
eolivelli merged 6 commits into
apache:masterfrom
eolivelli:impl/zookeeper-380-maven
Mar 30, 2022
Merged

Upgrade ZooKeeper to 3.8.0#3145
eolivelli merged 6 commits into
apache:masterfrom
eolivelli:impl/zookeeper-380-maven

Conversation

@eolivelli

@eolivelli eolivelli commented Mar 27, 2022

Copy link
Copy Markdown
Contributor

Motivation

We are using an old version of ZooKeeper, 3.6.x (and ZooKeeper 3.5.x was declared EOL a few weeks ago).
We should upgrade to the latest version.

Changes

  • Upgraded ZooKeeper dependency.
  • Exclude LogBack
  • Add junit5 jupiter-api required by org.apache.zookeeper.test.ClientBase

Notes

In PR #3084 I tried to update ZooKeeper in Gradle files, but without success.
This patch focuses only on Maven

@nicoloboschi nicoloboschi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add owasp suppressions?

@eolivelli

Copy link
Copy Markdown
Contributor Author

Can you add owasp suppressions?

sure, I was just working on that

@eolivelli
eolivelli force-pushed the impl/zookeeper-380-maven branch from 6455a35 to 15ed7fd Compare March 27, 2022 12:46

@nicoloboschi nicoloboschi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job! I left one comment about commons-compress downgrade

Comment thread dependencies.gradle Outdated
@eolivelli
eolivelli force-pushed the impl/zookeeper-380-maven branch from 5eefe17 to 0c9e8d4 Compare March 28, 2022 08:29
@eolivelli
eolivelli force-pushed the impl/zookeeper-380-maven branch from 0c9e8d4 to 554bd4e Compare March 28, 2022 15:53
@eolivelli

Copy link
Copy Markdown
Contributor Author

the failed test passes locally on my laptop

 org.apache.bookkeeper.test.BookieZKExpireTest.testBookieServerZKExpireBehaviour
Error:    Run 1: BookieZKExpireTest.testBookieServerZKExpireBehaviour:103 Bookie should not shutdown on losing zk session
Error:    Run 2: BookieZKExpireTest.testBookieServerZKExpireBehaviour:103 Bookie should not shutdown on losing zk session

@eolivelli eolivelli self-assigned this Mar 29, 2022
@eolivelli eolivelli added this to the 4.15.0 milestone Mar 29, 2022
@eolivelli eolivelli added area/metadata dependencies Pull requests that update a dependency file labels Mar 29, 2022
@eolivelli
eolivelli merged commit 18e3f85 into apache:master Mar 30, 2022
@eolivelli
eolivelli deleted the impl/zookeeper-380-maven branch March 30, 2022 10:47
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/metadata dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants