forked from apache/zookeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES.txt
2208 lines (1374 loc) · 77.2 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Trunk
Non-backward compatible changes:
BUGFIXES:
Backward compatible changes:
NEW FEATURES:
ZOOKEEPER-1355. Add zk.updateServerList(newServerList) (Alex Shraer, Marshall McMullen via fpj)
ZOOKEEPER-1572. Add an async (Java) interface for multi request (Sijie Guo via camille)
ZOOKEEPER-107. Allow dynamic changes to server cluster membership (Alex Shraer via breed)
BUGFIXES:
ZOOKEEPER-786. Exception in ZooKeeper.toString
(Thomas Koch via phunt)
ZOOKEEPER-1191. Synchronization issue - wait not in guarded block (Alex Shraer via breed)
ZOOKEEPER-1192. Leader.waitForEpochAck() checks waitingForNewEpoch instead of checking electionFinished (Alex Shraer via breed)
ZOOKEEPER-1203. Zookeeper systest is missing Junit Classes
(Prashant Gokhale via phunt)
ZOOKEEPER-1174. FD leak when network unreachable (Ted Dunning via camille)
ZOOKEEPER-1206. Sequential node creation does not use always use
digits in node name given certain Locales. (Mark Miller via phunt)
ZOOKEEPER-1212. zkServer.sh stop action is not conformat with LSB
para 20.2 Init Script Actions (Roman Shaposhnik via phunt)
ZOOKEEPER-1190. ant package is not including many of the bin scripts
in the package (zkServer.sh for example) (Eric Yang via phunt)
ZOOKEEPER-1241. Typo in ZooKeeper Recipes and Solutions
documentation (Jingguo Yao via phunt)
ZOOKEEPER-1220. ./zkCli.sh 'create' command is throwing
ArrayIndexOutOfBoundsException (kavita sharma via phunt)
ZOOKEEPER-1256. ClientPortBindTest is failing on Mac OS X
(Daniel Gómez Ferro via phunt)
ZOOKEEPER-1264. FollowerResyncConcurrencyTest failing intermittently. (phunt via camille)
ZOOKEEPER-1246. Dead code in PrepRequestProcessor catch Exception block. (camille)
ZOOKEEPER-1271. testEarlyLeaderAbandonment failing on solaris -
clients not retrying connection (mahadev via phunt)
ZOOKEEPER-1264. FollowerResyncConcurrencyTest failing
intermittently. (breed, camille and Alex Shraer via camille)
ZOOKEEPER-1282. Learner.java not following Zab 1.0 protocol -
setCurrentEpoch should be done upon receipt of NEWLEADER
(before acking it) and not upon receipt of UPTODATE (breed via camille)
ZOOKEEPER-1291. AcceptedEpoch not updated at leader before it proposes the epoch to followers. (Alex Shraer via camille)
ZOOKEEPER-1208. Ephemeral node not removed after the client session is long gone. (phunt via camille)
ZOOKEEPER-1239. add logging/stats to identify fsync stalls. (phunt via camille)
ZOOKEEPER-1311. ZooKeeper test jar is broken (Ivan Kelly via phunt)
ZOOKEEPER-1305. zookeeper.c:prepend_string func can dereference null ptr.
(Daniel Lescohier via mahadev)
ZOOKEEPER-1262. Documentation for Lock recipe has major flaw.
(Jordan Zimmerman via mahadev)
ZOOKEEPER-1316. zookeeper_init leaks memory if chroot is just '/'.
(Akira Kitada via mahadev)
ZOOKEEPER-1315. zookeeper_init always reports sessionPasswd=<hidden>.
(Akira Kitada via mahadev)
ZOOKEEPER-1317. Possible segfault in zookeeper_init. (Akira Kitada via mahadev)
ZOOKEEPER-1319. Missing data after restarting+expanding a cluster.
(phunt and breed via mahadev)
ZOOKEEPER-1269. Multi deserialization issues. (Camille Fournier via mahadev)
ZOOKEEPER-1323. c client doesn't compile on freebsd
(michi mutsuzaki via phunt)
ZOOKEEPER-1333. NPE in FileTxnSnapLog when restarting a cluster.
(Patrick Hunt via mahadev)
ZOOKEEPER-1331. Typo in docs: acheive -> achieve (Andrew Ash via phunt)
ZOOKEEPER-1089. zkServer.sh status does not work due to invalid
option of nc (Roman Shaposhnik via phunt)
ZOOKEEPER-1343. getEpochToPropose should check if lastAcceptedEpoch is greater or equal than epoch (fpj via breed)
ZOOKEEPER-1050. zooinspector shell scripts do not work
(Will Johnson via phunt)
ZOOKEEPER-1294. One of the zookeeper server is not accepting any requests (Kavita Sharma via henryr)
ZOOKEEPER-1358. In StaticHostProviderTest.java, testNextDoesNotSleepForZero tests that hostProvider.next(0)
doesn't sleep by checking that the latency of this call is less than 10sec (Alex Shraer via camille)
ZOOKEEPER-1351. invalid test verification in MultiTransactionTest (phunt via camille)
ZOOKEEPER-973. bind() could fail on Leader because it does not
setReuseAddress on its ServerSocket (Harsh J via phunt)
ZOOKEEPER-1367. Data inconsistencies and unexpired ephemeral nodes after cluster restart.
(Benjamin Reed via mahadev)
ZOOKEEPER-1353. C client test suite fails consistently. (Clint Byrum
via mahadev)
ZOOKEEPER-1373. Hardcoded SASL login context name clashes with Hadoop security
configuration override. (Eugene Koontz and Thomas Weise via mahadev)
ZOOKEEPER-1352. server.InvalidSnapshotTest is using connection timeouts
that are too short. (phunt via mahadev)
ZOOKEEPER-1336. javadoc for multi is confusing, references functionality that doesn't seem
to exist. (phunt via mahadev)
ZOOKEEPER-1327. there are still remnants of hadoop urls. (Harsh J via mahadev)
ZOOKEEPER-1340. multi problem - typical user operations are generating ERROR level
messages in the server (phunt via mahadev)
ZOOKEEPER-1374. C client multi-threaded test suite fails to compile
on ARM architectures. (James Page via mahadev)
ZOOKEEPER-1337. multi's "Transaction" class is missing tests. (camille
and phunt via mahadev)
ZOOKEEPER-1338. class cast exceptions may be thrown by multi ErrorResult
class (invalid equals) (phunt via mahadev)
ZOOKEEPER-1386. avoid flaky URL redirection in "ant javadoc" :
replace "http://java.sun.com/javase/6/docs/api/" with
"http://download.oracle.com/javase/6/docs/api/" (Eugene Koontz via camille)
ZOOKEEPER-1361. Leader.lead iterates over 'learners' set without proper synchronisation (henryr via camille)
ZOOKEEPER-1277. servers stop serving when lower 32bits of zxid roll
over (phunt)
ZOOKEEPER-1412. java client watches inconsistently triggered on
reconnect (phunt)
ZOOKEEPER-1344. ZooKeeper client multi-update command is not
considering the Chroot request (Rakesh R via phunt)
ZOOKEEPER-1307. zkCli.sh is exiting when an Invalid ACL exception is
thrown from setACL command through client (Kavita Sharma via phunt)
ZOOKEEPER-1390. some expensive debug code not protected by a check
for debug (breed via camille)
ZOOKEEPER-1406. dpkg init scripts don't restart - missing
check_priv_sep_dir (Chris Beauchamp via phunt)
ZOOKEEPER-1403. zkCli.sh script quoting issue (James Page via phunt)
ZOOKEEPER-1384. test-cppunit overrides LD_LIBRARY_PATH and fails if
gcc is in non-standard location (Jay Shrauner via phunt)
ZOOKEEPER-1419. Leader election never settles for a 5-node cluster (flavio via camille)
ZOOKEEPER-1433. improve ZxidRolloverTest (test seems flakey) (phunt via henryr)
ZOOKEEPER-1395. node-watcher double-free redux (Mike Lundy via henryr)
ZOOKEEPER-1439. c sdk: core in log_env for lack of checking the output
argument *pwp* of getpwuid_r (Yubing Yin via michim)
ZOOKEEPER-1339. C client doesn't build with --enable-debug
(Eric Liang via michim)
ZOOKEEPER-1048. addauth command does not work in cli_mt/cli_st
(allengao via michim)
ZOOKEEPER-1318. In Python binding, get_children (and get and exists, and probably others)
with expired session doesn't raise exception properly (henryr via michim)
ZOOKEEPER-642. "exceeded deadline by N ms" floods logs (Marc Celani via michim)
ZOOKEEPER-1431. zkpython async calls leak memory (Kapil Thangavelu and Andre Cruz via henryr)
ZOOKEEPER-1163. Memory leak in zk_hashtable.c:do_insert_watcher_object()
(Anupam Chanda via michim)
ZOOKEEPER-1466. QuorumCnxManager.shutdown missing synchronization. (Patrick Hunt via mahadev)
ZOOKEEPER-1490. If the configured log directory does not exist
zookeeper will not start. Better to create the directory and start
(suja s via phunt)
ZOOKEEPER-1210. Can't build ZooKeeper RPM with RPM >= 4.6.0 (i.e. on
RHEL 6 and Fedora >= 10) (Tadeusz Andrzej Kadłubowski via phunt)
ZOOKEEPER-1236. Security uses proprietary Sun APIs
(Adalberto Medeiros via phunt)
ZOOKEEPER-1471. Jute generates invalid C++ code
(Michi Mutsuzaki via phunt)
ZOOKEEPER-1465. Cluster availability following new leader election
takes a long time with large datasets - is correlated to dataset size
(fpj and Thawan Kooburat via camille)
ZOOKEEPER-1427. Writing to local files is done non-atomically (phunt)
ZOOKEEPER-1489. Data loss after truncate on transaction log (phunt)
ZOOKEEPER-1521. LearnerHandler initLimit/syncLimit problems
specifying follower socket timeout limits (phunt)
ZOOKEEPER-1493. C Client: zookeeper_process doesn't invoke
completion callback if zookeeper_close has been called
(Michi Mutsuzaki via phunt and mahadev)
ZOOKEEPER-1522. intermittent failures in Zab test due to NPE in
recursiveDelete test function (phunt via flavio)
ZOOKEEPER-1514. FastLeaderElection - leader ignores the round
information when joining a quorum (flavio via henryr)
ZOOKEEPER-1533 Correct the documentation of the args for the JavaExample doc.
(Warren Turkal via michim)
ZOOKEEPER-1536 c client : memory leak in winport.c (brooklin via michim)
ZOOKEEPER-1481 allow the C cli to run exists with a watcher (phunt via michim)
ZOOKEEPER-1328. Misplaced assertion for the test case 'FLELostMessageTest'
and not identifying misfunctions. (Rakesh R via mahadev)
ZOOKEEPER-1380. zkperl: _zk_release_watch doesn't remove items properly from
the watch list. (Botond Hejj via mahadev)
ZOOKEEPER-1538. Improve space handling in zkServer.sh and zkEnv.sh. (Andrew
Ferguson via mahadev)
ZOOKEEPER-1501. Nagios plugin always returns OK when it cannot connect to
zookeeper. (Brian Sutherland via mahadev)
ZOOKEEPER-1437. Client uses session before SASL authentication complete
(Eugene Koontz via mahadev)
ZOOKEEPER-1494. C client: socket leak after receive timeout in
zookeeper_interest() (Michi Mutsuzaki via mahadev)
ZOOKEEPER-1483. Fix leader election recipe documentation (Michi Mutsuzaki
via mahadev)
ZOOKEEPER-1496. Ephemeral node not getting cleared even after client has
exited. (Rakesh R via mahadev)
ZOOKEEPER-1550. ZooKeeperSaslClient does not finish anonymous login on
OpenJDK (Eugene Koontz via mahadev)
ZOOKEEPER-1585. make dist for src/c broken in trunk (Raul Gutierrez Segales
via michim)
ZOOKEEPER-1590. Patch to add zk.updateServerList(newServerList)
broke the build (fpj via phunt)
ZOOKEEPER-1474. Cannot build Zookeeper with IBM Java: use of Sun
MXBean classes (Adalberto Medeiros via phunt)
ZOOKEEPER-1591. Windows build is broken because inttypes.h doesn't exist
(Marshall McMullen via michim)
ZOOKEEPER-1596. Zab1_0Test should ensure that the file is closed
(Enis Soztutar via phunt)
ZOOKEEPER-1513. "Unreasonable length" exception while starting a
server (Skye W-M via phunt)
ZOOKEEPER-1581. change copyright in notice to 2012 (breed via phunt)
ZOOKEEPER-1553. Findbugs configuration is missing some dependencies
(Sean Busbey via phunt)
ZOOKEEPER-1478. Small bug in QuorumTest.testFollowersStartAfterLeader( )
(Alexander Shraer via fpj, breed, phunt)
ZOOKEEPER-1387. Wrong epoch file created
(Benjamin Busjaeger via breed, phunt)
ZOOKEEPER-1578. org.apache.zookeeper.server.quorum.Zab1_0Test failed due to
hard code with 33556 port (Li Ping via mahadev)
ZOOKEEPER-1334. Zookeeper 3.4.x is not OSGi compliant - MANIFEST.MF
is flawed (Claus Ibsen via phunt)
ZOOKEEPER-1603. StaticHostProviderTest testUpdateClientMigrateOrNot
hangs (Alexander Shraer via phunt)
ZOOKEEPER-1597. Windows build failing (michim via phunt)
ZOOKEEPER-1625. zkServer.sh is looking for clientPort in config file, but it
may no longer be there with ZK-1411 (Alexander Shraer via michim)
ZOOKEEPER-1495. ZK client hangs when using a function not available
on the server. (Skye W-M via phunt)
ZOOKEEPER-1620. NIOServerCnxnFactory (new code introduced in
ZK-1504) opens selectors but never closes them
(Thawan Kooburat via phunt)
ZOOKEEPER-1628. Documented list of allowable characters in ZK doc
not in line with code (Gabriel Reid via phunt)
ZOOKEEPER-1613. The documentation still points to 2008 in the
copyright notice (Edward Ribeiro via phunt)
ZOOKEEPER-1562. Memory leaks in zoo_multi API
(Deepak Jagtap via phunt)
ZOOKEEPER-1645. ZooKeeper OSGi package imports not complete
(Arnoud Glimmerveen via phunt)
ZOOKEEPER-1641. Using slope=positive results in a jagged ganglia
graph of packets rcvd/sent (Ben Hartshorne via phunt)
ZOOKEEPER-1648. Fix WatcherTest in JDK7
(Thawan Kooburat via phunt)
ZOOKEEPER-1606. intermittent failures in ZkDatabaseCorruptionTest on
jenkins (lixiaofeng via phunt)
ZOOKEEPER-1647. OSGi package import/export changes not applied to
bin-jar (Arnoud Glimmerveen via phunt)
IMPROVEMENTS:
ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,
unused variables, missing generics (Thomas Koch via phunt)
ZOOKEEPER-96. The jute parser should get generated from the jj files
instead of checking in the generated sources (Thomas Koch via phunt)
ZOOKEEPER-1175. DataNode references parent node for no reason
(Thomas Koch via phunt)
ZOOKEEPER-899. Update Netty version in trunk to 3.2.2
(Thomas Koch via phunt)
ZOOKEEPER-1182. Make findbugs usable in Eclipse (Thomas Koch via phunt)
ZOOKEEPER-1184. jute generated files are not being cleaned up via "ant clean"
(Thomas Koch via phunt)
ZOOKEEPER-1176. Remove dead code and basic cleanup in DataTree
(Thomas Koch via phunt)
ZOOKEEPER-556. Startup messages should account for common error of
missing leading slash in config files (Thomas Koch via phunt)
ZOOKEEPER-1155. Add windows automated builds (CI) for zookeeper c client bindings. (Dheeraj Agrawal via camille)
ZOOKEEPER-1226. extract version check in separate method in PrepRequestProcessor (Thomas Koch via camille)
ZOOKEEPER-1193. Remove upgrade code (Thomas Koch via phunt)
ZOOKEEPER-1221. Provide accessors for Request.{hdr|txn} (Thomas Koch via phunt)
ZOOKEEPER-1216. Fix more eclipse compiler warnings, also in Tests
(Thomas Koch via phunt)
ZOOKEEPER-1254. test correct watch handling with multi ops
(Thomas Koch via phunt)
ZOOKEEPER-1252. remove unused method o.a.z.test.AxyncTest.restart()
(Thomas Koch via phunt)
ZOOKEEPER-1200. Remove obsolete DataTreeBuilder
(Thomas Koch via phunt)
ZOOKEEPER-1247. dead code in PrepRequestProcessor.pRequest multi case
(Thomas Koch via phunt)
ZOOKEEPER-1265. Normalize switch cases lists on request types
(Thomas Koch via phunt)
ZOOKEEPER-1267. closeSession flag in finalRequestProcessor is superfluous
(Thomas Koch via phunt)
ZOOKEEPER-1273. Copy'n'pasted unit test (Thomas Koch via phunt)
ZOOKEEPER-1232. remove unused o.a.z.server.util.Profiler
(Thomas Koch via phunt)
ZOOKEEPER-1253. return value of DataTree.createNode is never used
(Thomas Koch via phunt)
ZOOKEEPER-756. some cleanup and improvements for zooinspector
(Colin Goodheart-Smithe & Thomas Koch via phunt)
ZOOKEEPER-1292. FLETest is flaky (flp via breed)
ZOOKEEPER-1326. The CLI commands "delete" and "rmr" are confusing.
Can we have "rm" + "rmr" instead? (Harsh J via phunt)
ZOOKEEPER-1342. quorum Listener & LearnerCnxAcceptor are missing
thread names (Rakesh R via phunt)
ZOOKEEPER-1229. C client hashtable_remove redundantly calls hash function
(Harsh J via phunt)
ZOOKEEPER-1345. Add a .gitignore file with general exclusions and
Eclipse project files excluded (Harsh J via phunt)
ZOOKEEPER-1293. Remove unused readyToStart from Leader.java
(Alex Shraer via phunt)
ZOOKEEPER-1322. Cleanup/fix logging in Quorum code.
(phunt via mahadev)
ZOOKEEPER-1321. Add number of client connections metric in JMX and
srvr. (Neha Narkhede via camille)
ZOOKEEPER-1389. it would be nice if start-foreground used exec $JAVA
in order to get rid of the intermediate shell process
(Roman Shaposhnik via phunt)
ZOOKEEPER-1161. Provide an option for disabling auto-creation of the
data directory (phunt via henry)
ZOOKEEPER-1397. Remove BookKeeper documentation links. (flavio via camille)
ZOOKEEPER-1377. add support for dumping a snapshot file content (similar to LogFormatter). (phunt via camille)
ZOOKEEPER-271. Better command line parsing in ZookeeperMain.
(Hartmut Lang via phunt)
ZOOKEEPER-1435. cap space usage of default log4j rolling policy (phunt via henryr)
ZOOKEEPER-1432. Add javadoc and debug logging for checkACL() method in
PrepRequestProcessor (Eugene Koontz via michim)
ZOOKEEPER-1411. Consolidate membership management, distinguish between static and dynamic configuration parameters (Alex Shraer via breed)
ZOOKEEPER-1451. C API improperly logs getaddrinfo failures on Linux when using glibc (Stephen Tyree via michim)
ZOOKEEPER-1440. Spurious log error messages when QuorumCnxManager is shutting
down (Jordan Zimmerman via michim)
ZOOKEEPER-1454. Document how to run autoreconf if cppunit is
installed in a non-standard directory (Michi Mutsuzaki via phunt)
ZOOKEEPER-1503. remove redundant JAAS configuration code in SaslAuthTest and
SaslAuthFailTest (Eugene Koontz via phunt)
ZOOKEEPER-1510. Should not log SASL errors for non-secure usage
(Todd Lipcon via phunt)
ZOOKEEPER-1497. Allow server-side SASL login with JAAS configuration
to be programmatically set (rather than only by reading JAAS
configuration file) (Matteo Bertozzi via phunt)
ZOOKEEPER-1238. Linger time should be -1 for Netty sockets. (Skye
W-M via henryr)
ZOOKEEPER-1505. Multi-thread CommitProcessor (Jay Shrauner via phunt)
ZOOKEEPER-1564. Allow JUnit test build with IBM Java
(Paulo Ricardo Paz Vital via phunt)
ZOOKEEPER-1598. Ability to support more digits in the version string
(Raja Aluri via phunt)
ZOOKEEPER-721. Minor cleanup related to the log4j version change
from 1.2.15 -> 1.2.16 (Sean Busbey via phunt)
ZOOKEEPER-1583. Document maxClientCnxns in conf/zoo_sample.cfg
(Christopher Tubbs via phunt)
ZOOKEEPER-1584. Adding mvn-install target for deploying the
zookeeper artifacts to .m2 repository (Ashish Singh via phunt)
ZOOKEEPER-1602. a change to QuorumPeerConfig's API broke
compatibility with HBase (Alexander Shraer via phunt)
ZOOKEEPER-1335. Add support for --config to zkEnv.sh to specify a config
directory different than what is expected (Arpit Gupta via mahadev)
ZOOKEEPER-1504. Multi-thread NIOServerCnxn (Jay Shrauner via phunt)
ZOOKEEPER-1297. Add stat information to create() call
(Lenni Kuff via phunt)
ZOOKEEPER-1535. ZK Shell/Cli re-executes last command on exit (Edward Ribeiro via camille)
ZOOKEEPER-1619. Allow spaces in URL (Edward Ribeiro via phunt)
ZOOKEEPER-1615. minor typos in ZooKeeper Programmer's Guide web page
(Evan Zacks via phunt)
ZOOKEEPER-1601. document changes for multi-threaded CommitProcessor
and NIOServerCnxn (Thawan Kooburat via phunt)
ZOOKEEPER-1643. Windows: fetch_and_add not 64bit-compatible, may not be
correct (Erik Anderson via michim)
Release 3.4.0 -
Non-backward compatible changes:
BUGFIXES:
Backward compatible changes:
BUGFIXES:
ZOOKEEPER-735. cppunit test testipv6 assumes that the machine is ipv6
enabled. (mahadev)
ZOOKEEPER-720. Use zookeeper-{version}-sources.jar instead of
zookeeper-{version}-src.jar to publish sources in the Maven repository
(paolo via phunt)
ZOOKEEPER-722. zkServer.sh uses sh's builtin echo on BSD, behaves
incorrectly. (Ivan Kelly via phunt)
ZOOKEEPER-741. root level create on REST proxy fails (phunt)
ZOOKEEPER-631. zkpython's C code could do with a style clean-up
(henry robinson via phunt)
ZOOKEEPER-746. learner outputs session id to log in dec (phunt via
henryr)
ZOOKEEPER-738. zookeeper.jute.h fails to compile with -pedantic
(Jozef Hatala via phunt)
ZOOKEEPER-734. QuorumPeerTestBase.java and ZooKeeperServerMainTest.java
do not handle windows path correctly (Vishal K via phunt)
ZOOKEEPER-754. numerous misspellings "succesfully"
(Andrei Savu via phunt)
ZOOKEEPER-749. OSGi metadata not included in binary only jar (phunt
via henryr)
ZOOKEEPER-750. move maven artifacts into "dist-maven" subdir of the
release (package target) (phunt via henryr)
ZOOKEEPER-758. zkpython segfaults on invalid acl with missing key
(Kapil Thangavelu via henryr)
ZOOKEEPER-737. some 4 letter words may fail with netcat (nc). (mahadev)
ZOOKEEPER-764. Observer elected leader due to inconsistent voting view
(henry via mahadev)
ZOOKEEPER-763. Deadlock on close w/ zkpython / c client
(henry via phunt)
ZOOKEEPER-774. Recipes tests are slightly outdated: they do not compile
against JUnit 4.8 (Sergey Doroshenko via phunt)
ZOOKEEPER-772. zkpython segfaults when watcher from async get children is
invoked. (henry via phunt)
ZOOKEEPER-636. configure.ac has instructions which override the contents of
CFLAGS and CXXFLAGS. (Maxim P. Dementiev via phunt)
ZOOKEEPER-796. zkServer.sh should support an external PIDFILE variable
(Alex Newman via phunt)
ZOOKEEPER-719. Add throttling to BookKeeper client (fpj via breed)
ZOOKEEPER-814. monitoring scripts are missing apache license headers
(andrei savu via mahadev)
ZOOKEEPER-783. committedLog in ZKDatabase is not properly synchronized
(henry via mahadev)
ZOOKEEPER-790. Last processed zxid set prematurely while establishing
leadership (flavio via mahadev)
ZOOKEEPER-795. eventThread isn't shutdown after a connection
"session expired" event coming (Sergey Doroshenko and Ben via mahadev)
ZOOKEEPER-792. zkpython memory leak (Lei Zhang via henryr)
ZOOKEEPER-854. BookKeeper does not compile due to changes in the ZooKeeper
code (Flavio via mahadev)
ZOOKEEPER-861. Missing the test SSL certificate used for running junit tests.
(erwin tam via mahadev)
ZOOKEEPER-867. ClientTest is failing on hudson - fd cleanup (phunt)
ZOOKEEPER-785. Zookeeper 3.3.1 shouldn't infinite loop if someone creates a
server.0 line (phunt and Andrei Savu via breed)
ZOOKEEPER-785. Zookeeper 3.3.1 shouldn't infinite loop if someone creates a
server.0 line (part 2) (phunt)
ZOOKEEPER-870. Zookeeper trunk build broken. (mahadev via phunt)
ZOOKEEPER-831. BookKeeper: Throttling improved for reads (breed via fpj)
ZOOKEEPER-846. zookeeper client doesn't shut down cleanly on the close call
(phunt)
ZOOKEEPER-804. c unit tests failing due to "assertion cptr failed" (michi
mutsuzaki via mahadev)
ZOOKEEPER-844. handle auth failure in java client
(Camille Fournier via phunt)
ZOOKEEPER-822. Leader election taking a long time to complete
(Vishal K via phunt)
ZOOKEEPER-866. Hedwig Server stays in "disconnected" state when
connection to ZK dies but gets reconnected (erwin tam via breed)
ZOOKEEPER-881. ZooKeeperServer.loadData loads database twice
(jared cantwell via breed)
ZOOKEEPER-855. clientPortBindAddress should be clientPortAddress
(Jared Cantwell via fpj)
ZOOKEEPER-888. c-client / zkpython: Double free corruption on
node watcher (Austin Shoemaker via henryr)
ZOOKEEPER-893. ZooKeeper high cpu usage when invalid requests
(Thijs Terlouw via phunt)
ZOOKEEPER-804. c unit tests failing due to "assertion cptr failed"
(second try - Jared Cantwell via phunt)
ZOOKEEPER-820. update c unit tests to ensure "zombie" java server
processes don't cause failure (Michi Mutsuzaki via phunt)
ZOOKEEPER-794. Callbacks are not invoked when the client is closed
(Alexis Midon via phunt)
ZOOKEEPER-800. zoo_add_auth returns ZOK if zookeeper handle is in
ZOO_CLOSED_STATE (michi mutsuzaki via mahadev konar)
ZOOKEEPER-904. super digest is not actually acting as a full superuser
(Camille Fournier via mahadev)
ZOOKEEPER-897. C Client seg faults during close (jared cantwell via mahadev)
ZOOKEEPER-898. C Client might not cleanup correctly during close
(jared cantwell via mahadev)
ZOOKEEPER-907. Spurious "KeeperErrorCode = Session moved" messages (vishal k via breed)
ZOOKEEPER-884. Remove LedgerSequence references from BookKeeper documentation and comments in tests (fpj via breed)
ZOOKEEPER-916. Problem receiving messages from subscribed channels in c++ client (ivan via breed)
ZOOKEEPER-930. Hedwig c++ client uses a non thread safe logging library (ivan via breed)
ZOOKEEPER-900. FLE implementation should be improved to use non-blocking sockets (vishal via fpj)
ZOOKEEPER-937. test -e not available on solaris /bin/sh (Erik Hetzner via mahadev)
ZOOKEEPER-905. enhance zkServer.sh for easier zookeeper automation-izing (Nicholas Harteau via mahadev)
ZOOKEEPER-913. Version parser fails to parse "3.3.2-dev" from build.xml (Anthony Urso and phunt via breed)
ZOOKEEPER-957. zkCleanup.sh doesn't do anything (Ted Dunning via mahadev)
ZOOKEEPER-958. Flag to turn off autoconsume in hedwig c++ client (Ivan Kelly
via mahadev)
ZOOKEEPER-882. Startup loads last transaction from snapshot (j:ared via fpj)
ZOOKEEPER-962. leader/follower coherence issue when follower is receiving a DIFF
(camille fournier via breed)
ZOOKEEPER-902. Fix findbug issue in trunk "Malicious code vulnerability"
(flavio and phunt via phunt)
ZOOKEEPER-985. Test BookieRecoveryTest fails on trunk. (fpj via breed)
ZOOKEEPER-983. running zkServer.sh start remotely using ssh hangs (phunt)
ZOOKEEPER-976. ZooKeeper startup script doesn't use JAVA_HOME (phunt)
ZOOKEEPER-994 "eclipse" target in the build script doesnot include
libraray required for test classes in the classpath (MIS via phunt)
ZOOKEEPER-1013 zkServer.sh usage message should mention all startup options
(eugene koontz via mahadev)
ZOOKEEPER-1007. iarchive leak in C client (jeremy stribling via mahadev)
ZOOKEEPER-993. Code improvements (MIS via fpj)
ZOOKEEPER-1012. support distinct JVMFLAGS for zookeeper server in zkServer.sh
and zookeeper client in zkCli.sh (Eugene Koontz via breed)
ZOOKEEPER-880. QuorumCnxManager$SendWorker grows without bounds (vishal via breed)
ZOOKEEPER-1018. The connection permutation in get_addrs uses a weak and inefficient
shuffle (Stephen Tyree via breed)
ZOOKEEPER-1028. In python bindings, zookeeper.set2() should return a stat dict but
instead returns None. (Chris Medaglia and Ivan Kelly via mahadev)
ZOOKEEPER-975. new peer goes in LEADING state even if ensemble is online. (vishal via fpj)
ZOOKEEPER-1049. Session expire/close flooding renders heartbeats to delay significantly.
(chang song via mahadev)
ZOOKEEPER-1033. c client should install includes into INCDIR/zookeeper, not INCDIR/c-client-src
(Nicholas Harteau via mahadev)
ZOOKEEPER-1061. Zookeeper stop fails if start called twice. (Ted Dunning via mahadev)
ZOOKEEPER-1059. stat command isses on non-existing node causes NPE. (Bhallamudi Kamesh via mahadev)
ZOOKEEPER-1058. fix typo in opToString for getData. (camille)
ZOOKEEPER-1046. Creating a new sequential node results in a ZNODEEXISTS error. (Vishal K via camille)
ZOOKEEPER-1069. Calling shutdown() on a QuorumPeer too quickly can lead to a corrupt log. (Vishal K via camille)
ZOOKEEPER-1083. Javadoc for WatchedEvent not being generated. (Ivan Kelly via michim)
ZOOKEEPER-1086. zookeeper test jar has non mavenised dependency. (Ivan Kelly via michim)
ZOOKEEPER-335. zookeeper servers should commit the new leader txn to their logs. (breed)
ZOOKEEPER-1081. modify leader/follower code to correctly deal with new leader (breed)
ZOOKEEPER-1082. modify leader election to correctly take into account current epoch (fpj via breed)
ZOOKEEPER-1060. QuorumPeer takes a long time to shutdown (Vishal via fpj)
ZOOKEEPER-1087. ForceSync VM arguement not working when set to "no" (Nate Putnam via breed)
ZOOKEEPER-1068. Documentation and default config suggest incorrect
location for Zookeeper state (Roman Shaposhnik via phunt)
ZOOKEEPER-1103. In QuorumTest, use the same "for ( .. try { break }
catch { } )" pattern in testFollowersStartAfterLeaders as in
testSessionMove. (Eugene Koontz via phunt)
ZOOKEEPER-1046. Creating a new sequential node results in a ZNODEEXISTS error. (breed via camille)
ZOOKEEPER-1097. Quota is not correctly rehydrated on snapshot reload (camille via henryr)
ZOOKEEPER-1046. Small fix: Creating a new sequential node results in a ZNODEEXISTS error. (Vishal K via camille)
ZOOKEEPER-782. Incorrect C API documentation for Watches. (mahadev via breed)
ZOOKEEPER-1063. Dubious synchronization in Zookeeper and ClientCnxnSocketNIO classes (Yanick Dufresne via breed)
ZOOKEEPER-1124. Multiop submitted to non-leader always fails due to timeout (Marshall McMullen via breed)
ZOOKEEPER-1111. JMXEnv uses System.err instead of logging
(Ivan Kelly via phunt)
ZOOKEEPER-1027. chroot not transparent in zoo_create() (Thijs Terlouw via
mahadev)
ZOOKEEPER-1109. Zookeeper service is down when SyncRequestProcessor meets
any exception. (Laxman via mahadev)
ZOOKEEPER-1134. ClientCnxnSocket string comparison using == rather than equals.
(phunt via mahadev)
ZOOKEEPER-1119. zkServer stop command incorrectly reading comment lines in
zoo.cfg (phunt via mahadev)
ZOOKEEPER-1090. Race condition while taking snapshot can lead to not restoring data tree correctly (Vishal K via breed)
ZOOKEEPER-1138. release audit failing for a number of new files. (phunt via mahadev)
ZOOKEEPER-1139. jenkins is reporting two warnings, fix these (phunt via mahadev)
ZOOKEEPER-1142. incorrect stat output (phunt via mahadev)
ZOOKEEPER-1144. ZooKeeperServer not starting on leader due to a race condition (Vishal K via camille)
ZOOKEEPER-839. deleteRecursive does not belong to the other methods.
(mahadev)
ZOOKEEPER-1146. significant regression in client (c/python) performance.
(phunt via mahadev)
ZOOKEEPER-1150. fix for this patch to compile on windows. (dheeraj
via mahadev)
ZOOKEEPER-1055. check for duplicate ACLs in addACL() and create().
(Eugene Koontz via mahadev)
ZOOKEEPER-1141. zkpython fails tests under python 2.4. (phunt via mahadev)
ZOOKEEPER-1025. zkCli is overly sensitive to to spaces. (Laxman via camille)
ZOOKEEPER-1117. zookeeper 3.3.3 fails to build with gcc >= 4.6.1 on
Debian/Ubuntu (James Page via mahadev)
ZOOKEEPER-1140. server shutdown is not stopping threads. (laxman via mahadev)
ZOOKEEPER-1051. SIGPIPE in Zookeeper 0.3.* when send'ing after
cluster disconnection (Stephen Tyree via mahadev)
ZOOKEEPER-1168. ZooKeeper fails to run with IKVM (Andrew Finnell via phunt)
ZOOKEEPER-1165. better eclipse support in tests (Warren Turkal via phunt)
ZOOKEEPER-1154. Data inconsistency when the node(s) with the highest zxid is not present at the time of leader election. (Vishal Kathuria via camille)
ZOOKEEPER-1156. Log truncation truncating log too much - can cause data loss. (Vishal Kathuria via camille)
ZOOKEEPER-1160. test timeouts are too small (breed via phunt)
ZOOKEEPER-731. Zookeeper#delete , #create - async versions miss a verb in the javadoc. (Thomas Koch via camille)
ZOOKEEPER-1108. Various bugs in zoo_add_auth in C. (Dheeraj Agrawal via mahadev)
ZOOKEEPER-981. Hang in zookeeper_close() in the multi-threaded C client.
(Jeremy Stribling via mahadev)
ZOOKEEPER-1125. Intermittent java core test failures. (Vishar Kher via mahadev)
ZOOKEEPER-961. Watch recovery after disconnection when connection string contains a prefix.
(Matthias Spycher via mahadev)
ZOOKEEPER-1136. NEW_LEADER should be queued not sent to match the Zab 1.0 protocol
on the twiki (breed via mahadev)
ZOOKEEPER-1189. For an invalid snapshot file(less than 10bytes size) RandomAccessFile
stream is leaking. (Rakesh R via mahadev)
ZOOKEEPER-1185. Send AuthFailed event to client if SASL authentication fails.
(Eugene Kuntz via mahadev)
ZOOKEEPER-1181. Fix problems with Kerberos TGT renewal.
(Eugene Koontz via mahadev)
ZOOKEEPER-1268. problems with read only mode, intermittent test failures
and ERRORs in the log (phunt via mahadev)
ZOOKEEPER-1270. testEarlyLeaderAbandonment failing intermittently,
quorum formed, no serving. (Flavio, Camille and Alexander Shraer via mahadev)
ZOOKEEPER-1299. Add winconfig.h file to ignore in release audit. (mahadev)
ZOOKEEPER-1354. AuthTest.testBadAuthThenSendOtherCommands fails intermittently (phunt via camille)
IMPROVEMENTS:
ZOOKEEPER-724. Improve junit test integration - log harness information
(phunt via mahadev)
ZOOKEEPER-766. forrest recipes docs don't mention the lock/queue recipe
implementations available in the release (phunt via mahadev)
ZOOKEEPER-769: Leader can treat observers as quorum members
(Sergey Doroshenko via henryr)
ZOOKEEPER-788: Add server id to message logs
(Ivan Kelly via flavio)
ZOOKEEPER-789. Improve FLE log messages (flavio via phunt)
ZOOKEEPER-798. Fixup loggraph for FLE changes (Ivan Kelly via phunt)
ZOOKEEPER-797 c client source with AI_ADDRCONFIG cannot be compiled with
early glibc (Qian Ye via phunt)
ZOOKEEPER-790. Last processed zxid set prematurely while establishing leadership
(fpj via breed)
ZOOKEEPER-821. Add ZooKeeper version information to zkpython (Rich
Schumacher via mahadev)
ZOOKEEPER-765. Add python example script (Travis and Andrei via mahadev)
ZOOKEEPER-809. Improved REST Interface (Andrei Savu via phunt)
ZOOKEEPER-733. use netty to handle client connections (breed and phunt)
ZOOKEEPER-853. Make zookeeper.is_unrecoverable return True or False
in zkpython (Andrei Savu via henryr)
ZOOKEEPER-864. Hedwig C++ client improvements (Ivan Kelly via breed)
ZOOKEEPER-862. Hedwig created ledgers with hardcoded Bookkeeper ensemble and
quorum size. Make these a server config parameter instead. (Erwin T via breed)
ZOOKEEPER-926. Fork Hadoop common's test-patch.sh and modify for Zookeeper.
(nigel)
ZOOKEEPER-909. Extract NIO specific code from ClientCnxn
(Thomas Koch via phunt)
ZOOKEEPER-908. Remove code duplication and inconsistent naming in
ClientCnxn.Packet creation (Thomas Koch via phunt)
ZOOKEEPER-836. hostlist as string. (Thomas Koch via breed)
ZOOKEEPER-921. zkPython incorrectly checks for existence of required
ACL elements (Nicholas Knight via henryr)
ZOOKEEPER-963. Make Forrest work with JDK6 (Carl Steinbach via henryr)
ZOOKEEPER-500. Async methods shouldnt throw exceptions (fpj via breed)
ZOOKEEPER-977. passing null for path_buffer in zoo_create (breed via mahadev)
ZOOKEEPER-465. Ledger size in bytes. (flavio via mahadev)
ZOOKEEPER-980. allow configuration parameters for log4j.properties
(phunt via mahadev)
ZOOKEEPER-1042. Generate zookeeper test jar for maven installation
(ivan kelly via breed)
ZOOKEEPER-1030: Increase default for maxClientCnxns
(Todd Lipcon via breed/mahadev/phunt)
ZOOKEEPER-850: Switch from log4j to slf4j (Olaf Krische via michim)
ZOOKEEPER-874. FileTxnSnapLog.restore does not call listener (diogo via fpj)
ZOOKEEPER-1052. Findbugs warning in QuorumPeer.ResponderThread.run() (fpj via michim)
ZOOKEEPER-1094. Small improvements to LeaderElection and Vote classes (henryr via breed)
ZOOKEEPER-1074. zkServer.sh is missing nohup/sleep, which are necessary
for remote invocation. (phunt via mahadev)
ZOOKEEPER-965. Need a multi-update command to allow multiple znodes to be updated safely (Marshall McMullen and Ted Dunning via breed)
ZOOKEEPER-1073. address a documentation issue in ZOOKEEPER-1030. (phunt via mahadev)
ZOOKEEPER-1095. Simple leader election recipe
(Eric Sammer via henry and phunt)
ZOOKEEPER-1076. some quorum tests are unnecessarily extending QuorumBase (phunt via mahadev)
ZOOKEEPER-1143. quorum send & recv workers are missing thread names
(phunt via mahadev)
ZOOKEEPER-1104. CLONE - In QuorumTest, use the same "for ( .. try { break }
catch { } )" pattern in testFollowersStartAfterLeaders as in testSessionMove.
(Eugene Koontz via mahadev)
ZOOKEEPER-1034. perl bindings should automatically find the zookeeper
c-client headers (nicholas harteau via mahadev)
ZOOKEEPER-1166. Please add a few svn:ignore properties (via phunt)
ZOOKEEPER-1169. Fix compiler (eclipse) warnings in (generated) jute
code (Thomas Koch via phunt)
ZOOKEEPER-1171. fix build for java 7 (phunt via mahadev)
ZOOKEEPER-1201. Clean SaslServerCallbackHandler.java. (Thomas Koch
via mahadev)
NEW FEATURES:
ZOOKEEPER-729. Java client API to recursively delete a subtree.
(Kay Kay via henry)
ZOOKEEPER-747. Add C# generation to Jute (Eric Hauser via phunt)
ZOOKEEPER-464. Need procedure to garbage collect ledgers
(erwin via fpj)
ZOOKEEPER-773. Log visualisation (Ivan Kelly via phunt)
ZOOKEEPER-744. Add monitoring four-letter word (Andrei Savu via phunt)
ZOOKEEPER-712. Bookie recovery. (erwin tam via breed)
ZOOKEEPER-799. Add tools and recipes for monitoring as a contrib
(Andrei Savu via phunt)
ZOOKEEPER-808. Web-based Administrative Interface
(Andrei Savu via phunt)
ZOOKEEPER-775. A large scale pub/sub system (Erwin, Ivan and Ben via
mahadev)
ZOOKEEPER-1020. Implement function in C client to determine which host you're currently connected to. (stephen tyree via breed)
ZOOKEEPER-1038. Move bookkeeper and hedwig code in subversion (breed)
ZOOKEEPER-784. Server-side functionality for read-only mode (Sergey Doroshenko via henryr)
ZOOKEEPER-992. MT Native Version of Windows C Client (Dheeraj Agrawal via michim)