[jira] [Created] (ZOOKEEPER-4717) Cache serialize data in the request to avoid repeat serialize.

2023-07-05 Thread Yan Zhao (Jira)
Yan Zhao created ZOOKEEPER-4717:
---

 Summary: Cache serialize data in the request to avoid repeat 
serialize.
 Key: ZOOKEEPER-4717
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4717
 Project: ZooKeeper
  Issue Type: Improvement
  Components: server
Affects Versions: 3.8.1
Reporter: Yan Zhao
 Fix For: 3.8.2


For each request, it will be serialized three times.
1. Leader proposal. It will serialize the request, wrap the serialized data in 
a proposal, then send the proposal to the quorum members.
2. SyncRequestProcessor append txn log. It will serialize the request, then 
write the serialized data to the txn log.
3. ZkDataBase addCommittedProposal. It will serialize the request, wrap the 
serialized data in a proposal, then add the proposal to committedLog.

Serialization operations are CPU-sensitive, and when the CPU experiences 
jitter, the time required for serialization operations will also skyrocket. 
Therefore, we should avoid serializing the same request multiple times.





--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Re: [VOTE] Apache ZooKeeper release 3.8.2 candidate 0

2023-07-05 Thread Szalay-Bekő Máté
+1 (binding)

I did the following tests for the release candidate:
- verified checksum and gpg signature of the artifacts
- I built the source code (incl. the C-client, using -Pfull-build) on
Ubuntu 18.04.2 using OpenJDK 8u372, maven 3.9.3 and GCC version 7.4.0
- all the unit tests passed (both Java and C-client)
- I also built and executed unit tests for zkpython
- I also built the java code (without -Pfull-build) using other JDK
versions: 11.0.19, 17.0.7, 20.0.1 (but didn't run the tests this time, just
used 'clean install -DskipTests')
- checkstyle and spotbugs passed
- apache-rat passed
- owasp (CVE check) passed
- fatjar built
- I executed quick rolling-upgrade tests (using
https://github.com/symat/zk-rolling-upgrade-test):
- rolling upgrade from 3.5.10 to 3.8.2
- rolling upgrade from 3.6.4 to 3.8.2
- rolling upgrade from 3.7.1 to 3.8.2
- rolling upgrade from 3.8.1 to 3.8.1
- checked the generated documentation (zookeeper-docs/target/html)
- compared generated release notes (
https://people.apache.org/~symat/zookeeper-3.8.2-rc0/website/releasenotes.html)
with Jira (
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801=12352866
)

Best regards,
Máté

On Wed, Jul 5, 2023 at 11:20 PM Szalay-Bekő Máté 
wrote:

> This is a bugfix release candidate for 3.8.2. It fixes 12 issues,
> including CVE fixes and additional test, security and other improvements.
>
> Please find the full release notes in the following link:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801=12352866
>
> *** Please download, test and vote by July 14th 2023, 23:59 UTC+0. ***
>
>
> Source files:
> https://people.apache.org/~symat/zookeeper-3.8.2-rc0/
>
> Maven staging repo:
>
> https://repository.apache.org/content/groups/staging/org/apache/zookeeper/zookeeper/3.8.2/
>
> The release candidate tag in git to be voted upon: release-3.8.2-0
> (please note, branch-3.8.2 will move here only after the vote)
>
> ZooKeeper's KEYS file containing PGP keys we use to sign the release:
> https://www.apache.org/dist/zookeeper/KEYS
>
> The staging version of the website is:
> https://people.apache.org/~symat/zookeeper-3.8.2-rc0/website/
>
>
> Should we release this candidate?
>
>
> Best regards,
> Máté
>


[VOTE] Apache ZooKeeper release 3.8.2 candidate 0

2023-07-05 Thread Szalay-Bekő Máté
This is a bugfix release candidate for 3.8.2. It fixes 12 issues, including
CVE fixes and additional test, security and other improvements.

Please find the full release notes in the following link:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801=12352866

*** Please download, test and vote by July 14th 2023, 23:59 UTC+0. ***


Source files:
https://people.apache.org/~symat/zookeeper-3.8.2-rc0/

Maven staging repo:
https://repository.apache.org/content/groups/staging/org/apache/zookeeper/zookeeper/3.8.2/

The release candidate tag in git to be voted upon: release-3.8.2-0
(please note, branch-3.8.2 will move here only after the vote)

ZooKeeper's KEYS file containing PGP keys we use to sign the release:
https://www.apache.org/dist/zookeeper/KEYS

The staging version of the website is:
https://people.apache.org/~symat/zookeeper-3.8.2-rc0/website/


Should we release this candidate?


Best regards,
Máté


ZOOKEEPER-4714 and ZOOKEEPER-4715

2023-07-05 Thread Andor Molnar
Hi Yan Zhao,

I noticed you opened these 2 new tickets against the 3.9.0 fix version
which is next release of ZooKepeer I'm just about to cut this week from
the master branch.

Do you think these tickets are blockers of 3.9.0?

Regards,
Andor