Re: Does ZK use protobuf?

2020-04-07 Thread Enrico Olivelli
Il Mer 8 Apr 2020, 06:18 tison ha scritto: > From the git history I think it is just old and need to be updated. > > FYI, there is an ongoing effort ZOOKEEPER-102 trying to add protobuf as an > option for serde and finally deprecated jute. > > Best, > tison. > > > Christopher 于2020年4月8日周三

Re: Does ZK use protobuf?

2020-04-07 Thread tison
>From the git history I think it is just old and need to be updated. FYI, there is an ongoing effort ZOOKEEPER-102 trying to add protobuf as an option for serde and finally deprecated jute. Best, tison. Christopher 于2020年4月8日周三 上午11:25写道: > Does ZooKeeper use, or have any generated code

Does ZK use protobuf?

2020-04-07 Thread Christopher
Does ZooKeeper use, or have any generated code using protocol buffers? I ask because zookeeper-server/src/main/resources/NOTICE.txt (master branch, 3.7.0-SNAPSHOT) references it as an optional dependency, but I can't find any '*.proto' source files or any code that looks like it was generated

[jira] [Created] (ZOOKEEPER-3787) Apply modernizer-maven-plugin to build

2020-04-07 Thread Christopher Tubbs (Jira)
Christopher Tubbs created ZOOKEEPER-3787: Summary: Apply modernizer-maven-plugin to build Key: ZOOKEEPER-3787 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3787 Project: ZooKeeper

Re: Implement checksum against malformed packets

2020-04-07 Thread Michael Han
>> but not bulletproof? tcp checksum is weak and can't detect all corrupt packet; and bit flip can happen anywhere within the stack, and can be caused by malfunction of ram, or say, cosmic rays. Statistically a corrupt packet survives all layers of check is low, and even a packet is corrupted,

[jira] [Created] (ZOOKEEPER-3786) Simplify generation of VersionInfoMain and Info

2020-04-07 Thread Christopher Tubbs (Jira)
Christopher Tubbs created ZOOKEEPER-3786: Summary: Simplify generation of VersionInfoMain and Info Key: ZOOKEEPER-3786 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3786 Project:

Re: ZK does not compile on JDK14 due to "java.lang.Record"

2020-04-07 Thread Enrico Olivelli
Please check my patch https://github.com/apache/zookeeper/pull/1308 I would like to add it to 3.6.1 before a release Enrico Il giorno ven 27 mar 2020 alle ore 17:55 Enrico Olivelli ha scritto: > > > > Il Ven 27 Mar 2020, 17:43 Jordan Zimmerman ha > scritto: >> >> Boy - it seems it's a

[jira] [Created] (ZOOKEEPER-3785) Make sources buildable with JDK14

2020-04-07 Thread Enrico Olivelli (Jira)
Enrico Olivelli created ZOOKEEPER-3785: -- Summary: Make sources buildable with JDK14 Key: ZOOKEEPER-3785 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3785 Project: ZooKeeper

Implement checksum against malformed packets

2020-04-07 Thread Andor Molnar
Hi Zk community, I’ve been looking at the following ticket for a while and made me thinking: ZOOKEEPER-2175 Checksum validation for malformed packets needs to handle. https://issues.apache.org/jira/browse/ZOOKEEPER-2175 It has been found in 3.4.6 originally and not resolved since then saying