Subject: CVS commit: pkgsrc/devel/zookeeper
From: Filip Hajny
Date: 2018-06-14 13:48:35
Message id: 20180614114835.437CFFBEC@cvs.NetBSD.org

Log Message:
devel/zookeeper: Update to 3.4.12.

Version 3.4.12

Bug

- CRC check failed when preAllocSize smaller than node data
- Update documentation source for ZOOKEEPER-2574
- Flaky test:
  \ 
org.apache.zookeeper.server.quorum.FLEBackwardElectionRoundTest.testBackwardElec \ 
tionRound
- Data inconsistency issue due to retain database in leader election
- very poor choice of logging if client fails to connect to server
- The comment of the variable matchSyncs in class CommitProcessor has
  a mistake.
- Flaky Test:
  org.apache.zookeeper.test.LoadFromLogTest.testRestoreWithTransactionErrors
- WriteLock recipe: incorrect znode ordering when the sessionId is
  part of the znode name
- Duplicate Keys in log4j.properties config files
- Specify correct overflow value
- Failing c unit tests on apache jenkins
- zkServer.cmd does not start when JAVA_HOME ends with a \
- Flaky Test: testNoLogBeforeLeaderEstablishment
- The dataDir and dataLogDir are used opposingly
- Fix testElectionFraud Flakyness
- fix potential null pointer exception when deleting node
- The eclipse build target fails due to protocol redirection:
  http->https

Improvement

- Add keys for the Zxid from the stat command to check_zookeeper.py
- Upgrade third party libraries to address vulnerabilities
- The function queueEmpty() in FastLeaderElection.Messenger is not
  used, should be removed.
- Add check to validate dataDir and dataLogDir parameters at startup

Wish

- Change log level for "ZKShutdownHandler is not registered" error
  message

Version 3.4.11

Sub-task

- Fix "Unexpected bean exists!" issue in WatcherTests
- Cleanup findbug warnings in branch-3.4: Correctness Warnings
- Cleanup findbug warnings in branch-3.4: Disable Internationalization
  Warnings
- Cleanup findbug warnings in branch-3.4: Malicious code vulnerability
  Warnings
- Cleanup findbug warnings in branch-3.4: Performance Warnings
- Cleanup findbug warnings in branch-3.4: Dodgy code Warnings
- Cleanup findbug warnings in branch-3.4: Experimental Warnings
- Set up Apache Jenkins job that runs the flaky test analyzer script.
- Multithreaded correctness Warnings
- ZOOKEEPER-2355 fix for branch-3.4

Bug

- Windows: fetch_and_add not 64bit-compatible, may not be correct
- Update documentation for snapCount
- Ephemeral node is never deleted if follower fails while reading the
  proposal packet
- Port ZOOKEEPER-1576 to branch3.4
- recreateSocketAddresses may recreate the unreachable IP address
- Flaky Test:
  org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment
- Clean up findbug warnings in branch-3.4
- Port ZOOKEEPER-2737 to branch-3.4
- Netty connection leaks JMX connection bean upon connection close in
  certain race conditions.
- Typo: transasction --> transaction
- Flaky test:
  \ 
org.apache.zookeeper.server.quorum.QuorumCnxManagerTest.testNoAuthLearnerConnect \ 
ToAuthRequiredServerWithHigherSid
- Ephemeral znode will not be removed when sesstion timeout, if the
  system time of ZooKeeper node changes unexpectedly.
- ZK Client not able to connect with Xid out of order error
- There is a typo in zk.py which prevents from using/compiling it.
- follower disconnects and cannot reconnect
- Server inappropriately throttles connections under load before SASL
  completes
- Flaky test:
  org.apache.zookeeper.test.ClientTest.testNonExistingOpCode
- Fix flaky test:
  org.apache.zookeeper.test.ReadOnlyModeTest.testConnectionEvents
- Unnecessary stack-trace in server when the client disconnect
  unexpectedly
- PurgeTxnLog#validateAndGetFile: return tag has no arguments.
- Improve the ZooKeeper#setACL java doc
- ZooKeeper public include files leak porting changes
- CMake build doesn't support OS X
- Main-Class JAR manifest attribute is incorrect
- Windows Debug builds don't link with `/MTd`
- Local automatic variable is left uninitialized and then freed.
- Don't include `config.h` in `zookeeper.h`
- The OWASP dependency check jar should not be included in the default
  classpath
- quorum.auth.MiniKdcTest.testKerberosLogin failing with NPE on java 9
- Create ant task to generate ivy dependency reports
- compiler warning using java 9

Improvement

- Operations to server will be timed-out while thousands of sessions
  expired same time
- TCP keepalive for leader election connections
- The define of MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java seems
  useless, should it be removed?
- ZooKeeperSaslClient#respondToServer should log exception message of
  SaslException
- Add script to run a java api compatibility tool
- Improve the efficiency of AtomicFileOutputStream
- Rename README.txt to README.md
- define dependency versions in build.xml to be easily overridden in
  build.properties

New Feature

- Please add instructions for running the tutorial
- Add ant task for running OWASP dependency report

Test

- Flaky Test: org.apache.zookeeper.test.WatcherTest.

Files:
RevisionActionfile
1.4modifypkgsrc/devel/zookeeper/Makefile.common
1.4modifypkgsrc/devel/zookeeper/PLIST
1.6modifypkgsrc/devel/zookeeper/distinfo
1.3modifypkgsrc/devel/zookeeper/patches/patch-build.xml