-
Notifications
You must be signed in to change notification settings - Fork 18
/
ChangeLog
831 lines (658 loc) · 32.3 KB
/
ChangeLog
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
Scalaris 0.9.0 (codename "Vriesea scalaris") - February 29, 2016
============================================================
(partly supported by the EU project IES Cities http://iescities.eu/)
Packaging:
- add a libscalaris-dev[el] package with the C++ API (rpm, deb)
- Maven: let Maven also create a source jar file for the Java-API
- Maven: allow proper snapshot versions for the maven repository at
https://scalaris-team.github.io/scalaris/maven
API:
- CPP-API: provide a new C++ client library
- DataNucleus: provide a new storage back-end for Scalaris
- add a Scalaris adapter for YCSB
- new functions in all APIs for generic routing table operations
Business Logic:
- rrepair: considerably improve the set reconciliation algorithms' performance
and run more processes in parallel
- rrepair: further reduce the reconciliation costs
- rrepair: re-use left-over failure probability from phase 1 for phase 2
- rrepair: increase accuracy in several formulaes of the set reconciliation
algorithms
- rrepair: support creating multiple Merkle trees for fewer message rounds
('rr_merkle_num_trees' configuration variable)
- rrepair: remove support for aligning bit sizes (no improvements there)
- transactions: speed up write ops when the transaction log already contains
a read op on the same key
- RM: optimise the traffic of state exchanges during ring maintenance
- RT: improve routing parallelism by handling more messages in the routing
process itself instead of inside the dht_node process
- RT: improve performance along the routing path
- support for dynamic replication factors given by the 'replication_factor'
configuration variable
- pid_groups: shuffle pids in find_a/1 for more better distributed (parallel)
requests
Infrastructure:
- pid_groups: group names are now atoms instead of strings
(allows faster access)
- scalarisctl: do not set any default Erlang scheduler flags (allow changes
through the ERL_SCHED_FLAGS environment variable)
- extend the example scripts for running Scalaris on a SLURM cluster
- add SLURM scripts for running Basho Bench
- use configure to select the routing table type (--with-rt=rt_chord)
- change hanoidb detection to "configure --enable-hanoidb=<dir>"
- change erlang_js detection to "configure --enable-erlang-js=<dir>"
- dht_node_monitor: switch messages on/off via configuration variable
'dht_node_monitor'
- msg_delay: remove extraneous error messages for trigger messages of killed
processes
- prbr: allow write_filter to return value to qwrite calling process
- update yaws to version 2.0.2
- support for Erlang R14B04 up to 18.2.3 and current otp master
Tests:
- allow running single test groups via "make <test suite>:<group name>_GROUP"
Tools:
- gen_component: allow processes to provide their own start functions
- trace_mpath: write whole message of log_info to the tex output
Bugs:
- fix cleanup of some special cases with transactions
- fix several math issues and increase the math functions' performance
- fix some errors which occurred in large scale deployments
- fix several warnings reported by Coverity Scan
- fix numerous more bugs
Scalaris 0.8.2 - July 24, 2015
============================================================
(partly supported by the EU project IES Cities http://iescities.eu/)
Business Logic:
- rrepair: minor performance improvements
Bugs:
- rrepair: fix a rare crash due to hash collisions
- rrepair: fix calculation of the next MaxItemCount in the merkle tree
repair protocol (was one level behind)
- tests: fix rare crashes in some unit tests
- fix a few more minor bugs
Scalaris 0.8.1 - July 12, 2015
============================================================
(partly supported by the EU project IES Cities http://iescities.eu/)
Business Logic:
- rrepair: allow specifying the minimum number of hash bits to use
to create non-approximate algorithms
Bugs:
- rrepair: fix a badarith if rr_recon_version_bits is set to 'variable'
- rrepair: fix a bug in the accuracy of the evaluation
- fix two crashes in gossip
Scalaris 0.8.0 (codename "Picoides scalaris") - July 10, 2015
============================================================
(partly supported by the EU project IES Cities http://iescities.eu/
and the EIT ICT Labs project MCData)
Packaging:
- also install docs on Arch Linux
- fix lintian errors and warnings for Debian-based packages
- fix permissions on the log directory (owned by the 'scalaris' user)
and the config files (not owned by the 'scalaris' user anymore!)
- adapt packages for newer distributions
API:
- Java-API: integrate new OtpErlang library (1.5.12 from Erlang 17.4)
- Python-API: do not include a shebang with a pre-defined path to python
anymore
- Python-API: fix unclosed sockets in various tests
- Python-API: increase python{2,3} test speed
- Ruby-API: try to fallback to the normal json module if the gem is missing
- Ruby-API: considerably increase the ruby test speed
- remove the Publish/Subscribe API
Business Logic:
- rrepair: faster and more accurate bloom filter repair protocol
- rrepair: faster, more accurate and less bandwidth-consuming merkle tree
repair protocol
- rrepair: reduce memory footprint of merkle_tree
- rrepair: more accurate and less bandwidth-consuming trivial repair
protocol
- rrepair: add a new simple hash ('shash') algorithm
- rrepair: switch to (the more efficient) push-only resolve phase for
synchronisation
- rrepair: add replica repair algorithm evaluation scripts
- RM: faster cyclon cache integration, especially during node jumps
- comm_layer: envelops can be nested
- comm_layer: allow send options for comm:send_local/3 and msg_delay
(currently only ?quiet supported)
Infrastructure:
- FD: simplify the API, support envelopes and remove own cookie handling
- FD: extend the failure detector with generic notifications (not just
crashes) to subscribed nodes
- DB: add an (experimental) mnesia back-end
- DB: add an (experimental) hanoidb back-end
- DB: make the back-end configurable via the scalaris.cfg option
'db_backend'
- improve the speed of several utility functions
- scalarisctl: add '-l' parameter for specifying the logdir
- scalarisctl: do not use the '-s' parameter anymore, instead specify the
start type with the new '-t' parameter
- scalarisctl: allow starting several dht_nodes per vm with given keys via
the new parameter '-j'
- update yaws to version 1.99
- make "$HOME/.scalaris/log" the default log dir
- support for Erlang R14B04 up to 18.0.2 and current otp master
- add example scripts for running Scalaris on a SLURM cluster
- move sources to github: https://github.com/scalaris-team/scalaris
- new project homepage: http://scalaris.zib.de
Tests:
- reduce log spam in proto_sched tests and only print proto_sched results
when the tests fail
- extended and improved various test suites
Tools:
- proto_sched: support callbacks
- proto_sched: add support for user msg shepherds
- proto_sched: better error handling when sending messages to dead
(local) processes
- tester: add value creator and type checker for orddict:orddict()
- tester: full support for Erlang 18.0
- let 'make dialyzer' run over test as well and ignore some false-positives
for Erlang >= 18.0 using the '-dialyzer()' attribute
Bugs:
- slide: fix some race conditions with 'jump' operations
- JSON-API: fix test_and_set not working correctly inside req_list
- fix numerous more bugs
Scalaris 0.7.2 - October 23, 2014
============================================================
(partly supported by the EU project IES Cities http://iescities.eu/
and the EIT ICT Labs project MCData)
Packaging:
- fix ArchLinux packages with newest Java versions
Demonstrator "Wiki on Scalaris":
- fix the separate count key optimisation not using Scalaris' increment
operation
Business Logic:
- rrepair: let the trivial algorithm assume the worst case in order to always
meet the configured "recon probability of one error" (p1e)
- rrepair: fix the trivial algorithm having an effectively doubled p1e
- rrepair: fix the bloom algorithm having an effectively tripled p1e
- rrepair: allow disabling byte-alignment
Bugs:
- fix a few minor bugs
Scalaris 0.7.1 - September 30, 2014
============================================================
(partly supported by the EU project IES Cities http://iescities.eu/
and the EIT ICT Labs project MCData)
Packaging:
- add support for new distribution versions
- support systemd and SELinux
- include daemon for monitoring Scalaris through JMX
API:
- Java-API: integrate new OtpErlang library (1.5.10 from Erlang 17.3)
Demonstrator "Wiki on Scalaris":
- fix storing template back-links for magic words
- fix ARTICLE_COUNT partitioning with hashes
Business Logic:
- more robust (still experimental) support for active load balancing with
Karger and Ruhl's algorithm including more flexible "load" definitions
- rm_tman: less overhead by only sending unknown nodes to neighbours
- slide: better support for slide aborts
- node join: less overhead during joins, especially in setups with huge
lists of known nodes
- cyclon: move to new gossip framework
- vivaldi: move to new gossip framework
- monitor: move performance monitor to the basic_services group
(once per VM)
Infrastructure:
- several smaller performance optimisations
- support for Erlang R13B01 up to 17.3 and current otp master
Tests:
- some new unit tests and higher test coverage
Documentation:
- add rrepair sequence diagrams
Bugs:
- fix numerous bugs
Scalaris 0.7.0 (codename "Stauroderus scalaris") - April 28, 2014
============================================================
API:
- Java-API: integrate new OtpErlang library (1.5.9 from Erlang 17.0)
Demonstrator "Wiki on Scalaris" (supported by 4CaaSt http://www.4caast.eu/
and Contrail http://contrail-project.eu):
- add support for reading 7z dumps
Business Logic (partly supported by the EU project IES Cities http://iescities.eu/
and the EIT ICT Labs project MCData):
- add an experimental Map-Reduce framework on top of Scalaris
- add experimental support for active load balancing with Karger and
Ruhl's algorithm including more flexible "load" definitions
- rrepair: completely new merkle tree sync protocol with an order of
magnitude lower traffic costs (use dynamic signature sizes based
on a "recon probability of one error" (p1e) in the leaf nodes)
- rrepair: add a trivial probabilistic reconciliation protocol using the
"recon probability of one error" (p1e)
- rrepair: replace bloom_fpr parameter with a generic "recon probability of
one error" (p1e)
- rrepair: add a trivial reconciliation phase for the differences identified
by bloom
- rrepair: more efficient resolve also including a list of keys to request
- gossip: completely new (more flexible) gossip framework
- slide: add support for 'jump' operations
- slide: do not create a timer for each received message (use a periodic
cleanup)
- comm_layer: tune TCP connection parameters to increase throughput and
latency (no delay_send)
- comm_layer: close idle TCP connections, support for no_keep_alive
connections (used by cyclon, for example)
- comm_layer: try to bundle more messages
- node join: less overhead during joins, especially in small rings
- rm_tman: less overhead by not adding nodes in the cache to the dn_cache
- rt_chord: skip trying to contact nodes in the own range
- rt_chord: stop stabilize when the own node is reached
Infrastructure:
- intervals: more compact (and transfer-friendly) representation
- trigger: replace modules with msg_delay:send_trigger/2
- config: replace implementation with a public ets table
- tune the garbage collection of some core processes and periodically
garbage collect all processes
- reduce the number of generated atoms and the number of ets tables used
- several smaller performance optimisations
- support for Erlang R13B01 up to 17.0 and current otp master
Tests:
- improve test coverage (manual tests and random tests)
- change test definitions and allow groups of tests, e.g.
test (default), test-skipped,
all_TESTS, all_with_cover_TESTS, performance_TESTS, proto_sched_TESTS,
type_check_TESTS
Documentation:
- add rrepair documentation
Tools:
- proto_sched: new API, better determinism, more strict self-control
- proto_sched: support for short-lived processes
- proto_sched: more information in get_infos
- trace_mpath: more flexible LaTeX exports with more detailed message info
- trace_mpath: support meaningful PID names when tracing remote messages
- tester: full support for Erlang 17.0
- make: re-compile after Emakefile changes
Bugs:
- rrepair: fix unnecessary feedback for KVV items of the same version
- bulkowner: some fixes for (gracefully) leaving nodes
- fix numerous more (less severe) bugs
Scalaris 0.6.1 - October 11, 2013
============================================================
Packaging:
- add ArchLinux ruby API packages
API:
- Java-API: add Maven build support
- Java-API: add CircularByteArrayOutputStream#clear()
- Java-API: fix ConnectionPool#getConnection(timeout) throwing
IllegalMonitorStateException if a single ConnectionPool is used
by multiple threads and no more connections are available
- Java-API: add a "-monitor" command line parameter
- api_monitor: return the latency and stddev values of the micro-benchmark
executed by monitor_perf for node and service performance
Demonstrator "Wiki on Scalaris" (supported by 4CaaSt http://www.4caast.eu/
and Contrail http://contrail-project.eu):
- separate list counters from their list partitions for a better data layout
- fix high memory use of the Scalaris import if the import is slow
- use tomcat 7.0.42
Business Logic:
- rrepair: reduce overhead of ART reconciliation
- rrepair: allow resolving of multiple merkle node leaves with a single
resolve request
- rrepair: don't create resolve requests for empty intervals
- rrepair: reduce overhead of update_key_entry requests (use a single request
with all the data instead of one request for each item)
- rrepair: allow arbitrary intervals in interval_upd and interval_upd_send
resolve requests again
- rrepair: when hashing merkle_tree/ART children, also include the represented
interval (fixes indistinguishable empty leaf nodes in ART)
- tx_tm_rtm: re-enable takeover by rtms on tm crash
- rt_chord: only re-build the RT if the pred or succ processes change or the
own new node ID is not between the new pred and succ any more
Infrastructure:
- DB: improve performance of fold[lr] implementations by a factor of 2
- FD: get rid of annoying, wrongly raised log warnings
- RM: provide a more generic Reason for RM subscriptions
- RM: remove trigger infections
- RT: don't trigger an update when a slide finishes
- RT, FRT: reduce the number of messages sent on lookups
- log: don't exit with a badmatch if our error_logger is not the only one
Tests:
- add protocol scheduler tests for slide, join and leave
Documentation:
- user-dev-guide: add section on scalarisctl checkinstallation
- user-dev-guide: clarify the section about how to set up Scalaris
Tools:
- proto scheduler: continue in case of send errors
- top: improve process messages output
Bugs:
- node join: fix not being able to join a system with passive load balancer
if the number of items in the DB is too high
- tx_tm_rtm: fix wrong asserts
- fix node resposibility check not always including message forward and
db_range intervals
- tx_tp: add missing snapshot number in tp_do_commit_abort message
- bulkowner: respect the nodes' DB ranges and forward requests for
non-responsible ranges
- dn_cache: fix reporting wrong PIDs back as zombies after node reboots
- fix some more (less severe) bugs
Scalaris 0.6.0 (codename "Conus scalaris") - August 19, 2013
============================================================
Packaging:
- add ArchLinux packages
- add support for new distribution versions
API:
- no more timeouts in client APIs
- Java-API: re-worked the request and result list handling
-> move result processing to the operation classes
- Java-API: better support for custom operations
- Java-API: support the new partial reads:
ReadRandomFromListOp and ReadSublistOp
- Java-API: compile with "vars" debug info
- Java-API: integrate new OtpErlang library (1.5.8 from R16B) with fixed
support for compressed binaries
- Java-API: add back-ports from the Wiki on Scalaris demonstrator:
* list-change operations: ScalarisChangeListOp and ScalarisListAppendRemoveOp
* MultiMap classes are now in de.zib.tools
* CircularByteArrayOutputStream
- Java-API: fix hostname issues with Erlang and Java
- Java-API: slightly changed the delete API
- JSON-API: add API for auto-scale requests
- Python-API: add API for auto-scale requests
- Python-API: use default socket timeout
- Ruby-API: use default socket timeout
- all APIs: support lists of composite types
Demonstrator "Wiki on Scalaris" (supported by 4CaaSt http://www.4caast.eu/
and Contrail http://contrail-project.eu):
- allow monitoring via JMX in the FourCaastMonitoringPlugin
- support for getting random articles via the new partial read op
- new optimisation scheme "Buckets with Write Cache" - uses a single big list
to read from and the rest of the buckets to write to
- improve import and dump-processing (faster, more memory-efficient)
- add on-the-fly conversion to the different optimisation schemes during import
(only one prepared DB dump needed now)
- several UI enhancements and rendering fixes
- update bliki lib (includes code ported to upstream)
- add auto-import ability
- use tomcat 7.0.33
Business Logic:
- replace common message tags with integers to reduce bandwidth
- more flexible read operations (easier to extend)
- add support for the following partial reads: random_from_list and sublist
- save bandwidth by not returning the full value for write operations
(only the version is required)
- new DB back-end implementation with a smaller and cleaner interface
- faster DB get_chunk processing
- tx: allow overwriting old/outdated DB entries
- tx: allow overwriting old/outdated write-locked entries
- tx: allow setting write lock on old/outdated read-locked entries
- tx: always reply when the majority replied during read
- tx: make sure that if not_found is reported to the user (while reading),
a write cannot go through if it is not also based on not_found
- tx: committing a test_and_set op on a non-existing entry now fails as well
(the op itself already returned the failure)
- tx: add a 2s delay to wait for slow learner_decide answers before cleaning up
(results in a faster state cleanup after the fourth response)
- tx: small performance improvements in several modules
- rm: only add alive, non-leaving nodes
- rm: if a predecessor crashes, start repairing the range (rrepair)
- rrepair: stabilised rrepair (not considered experimental any more)
- rrepair: also update entries with existing but outdated WriteLocks
- rrepair: several performance improvements
(bloom, merkle_tree, art and rrepair processes in general)
- rrepair: re-design of rr_recon
- rrepair: don't offload heavy work onto the dht_node (increases responsiveness
of the dht_node process during replica repair)
- rrepair: improve db_generator tool and random_bias binomial distribution used
for tests
- rrepair: support differently configured nodes (use the same reconciliation
structure parameters)
- rrepair: de-activate self-repair (a node with multiple copies of the same
items does not need a reconciliation structure to repair some of
them)
- rrepair: activate rrepair periodically every 10 minutes with a probability
of 33%
- slide v2.0: fewer message to initiate a slide
- slide v2.0: generic (asynchronous) call-backs for different ring maintenance
algorithms
- slide v2.0: re-work handling of planned next operations, e.g. used by
incremental slides
- slide v2.0: don't directly work on the DB any more (there may be more data
needed to slide) - let dht_node_state decide
- slide v2.0: activate incremental join and leave operations
- slide v2.0: actively report graceful node shutdown to the local FD of the
leaving node to inform subscribers
- slide v2.0: code clean-up
- slide v2.0: some fixes for incremental slides
- slide v2.0: more robust in general
- more smooth node joins by also reporting when a join is not possible due to
a running slide at the existing node
- passive load balancing: random selection of (equally qualified) nodes
- add new routing algorithms FRT-Chord (flexible routing tables) and
GFRT-Chord (supports proximity routing and data centers) as alternatives to
Chord (see rt_frtchord and rt_gfrtchord modules)
- add auto-scale framework, e.g. for cloud environments (supported by
Contrail http://contrail-project.eu/) which is able to scale the deployment
to maintain a given target latency of executed transactions
- cache config reads in the process dictionary for better performance
- cyclon: if the cache is empty, try one of the nodes in known_hosts
- add support for consistent snapshots (experimental)
Infrastructure:
- add a daemon to monitor Scalaris via JMX
- disable message compression (only client values are compressed - the rest is
too expensive, at least on GbE)
- support for distributions with python3 available as "python" and
python2 as "python2"
- support for Ruby 1.9
- yaws 1.96 (with patch to compile on otp master and a patch to fix a
performance regression)
- support for Erlang R13B01 up to R16B01 and current otp master
Tests:
- add test suite to find memory leaks
- let "make test" run the major test suites and "make test-skipped" for some
more (time-consuming) tests
- clean-up ring after timetrap timeout failures via common test hook
- new ?compare macro for custom comparison functions
- higher test coverage with more random-testing via the "tester"
Documentation:
- user-dev-guide: add user tutorial on using scalaris
- user-dev-guide: add a section about the slide protocol
- user-dev-guide: extended description of scientific background
- add replica repair sequence diagrams
- better code descriptions
Tools:
- gen_component: synchronous breakpoint set and delete for more deterministic
usage
- trace_mpath: allow selective tracing via filter fun
- trace_mpath: fix several triggers becoming infected by trace_mpath resulting
in infinite tracing
- trace_mpath: improve latex output of traces
- tester: copy dictionary to worker threads
- tester: add support for more types, e.g. neg_integer(), gb_rees
- tester: better type check error reporting
- tester: print tester last calls when aborting unit tests
(timeout or exception)
- tester: add support for constraints in type specs ("when is_subtype(A,B)")
- web debug interface: add cluster graph visualisation
- web debug interface: display vivaldi distance
- web debug interface: add IP addresses and ports to the ring charts and tables
- web debug interface: allow navigating to the web interfaces of shown nodes
- top: support for showing messages in message queue of an inspected PID
- top: support for showing larger dictionary values
- allow recursive reply_as envelopes
- experimental protocol scheduler to check protocols with random message
interleavings (see proto_sched module)
Bugs:
- fix RM handling of (out-dated) nodes with the same ID as newly added nodes
- fix ganglia integration not working any more
- restore the ability to start nodes at a specific key via "scalarisctl -k <key> ..."
- fix some memory leaks in the tx system
- fix statistics of comm_connection (not send in some cases, not overflow-aware)
- use /bin/bash instead of /bin/sh which may not result in a bash session
- fix init.d scripts not checking for existing processes correctly
- fix dc_clustering
- fix numerous other bugs
Scalaris 0.5.0 (codename "Saperda scalaris") - October 11, 2012
===============================================================
Packaging:
- new init.d script to start Scalaris
- added chef scripts to deploy Scalaris nodes
- improved Windows start scripts (support for R15B01 and R15B02, don't close
command prompt window immediately after shutdown if double-clicked)
- more flexible scalarisctl (arbitrary parameter order, allow setting cookie,
ports and number of nodes in VM via parameters, allow using screen for
daemonised sessions, allow graceful leave via "gstop" command, new "status"
command)
- support for new linux distributions (Fedora 17, Ubuntu 12.04, openSUSE 12.2)
- let scalarisctl checkinstallation also perform runtime tests for the APIs
API:
- allow Scalaris monitoring via JMX through the Java API
- added an executor-service to the Java-API (de.zib.scalaris.executor.*)
- added a node discovery daemon to the Java-API
- allow compressed communication between the Java-API and Erlang for increased
performance, especially if the two are on separate nodes
- added VM management support to the JSON- and Python-API
- added transaction log filtering to the Java-API, i.e. only sent the needed
parts of the tlog back to Erlang and re-combine the result
- fixed api_tx:req_list_commit_each/1 not running requests in parallel
-> do not assure any order of requests, even if on same key!
Demonstrator "Wiki on Scalaris" (supported by 4CaaSt http://www.4caast.eu/
and Contrail http://contrail-project.eu):
- allow different partitioned data models for better performance and
scalability
- allow logging of user requests
- added support for checking whether another article exists (approximate)
-> show link colours based on this check
- added check for bad page titles
- allow SERVERNAME and SERVERPATH in config for setups with load balancers
- reduced memory footprint of Wiki data in Scalaris
- support for newer wiki xml dumps
- added support for using a MediaWiki-like SQLite-DB backend for e.g.
filtering
- improved overall performance
- several rendering fixes
Business Logic:
- added (experimental) support for replica repair (disabled by default)
(thanks to Maik Lange)
- added monitoring of memory statistics (also available via web interface)
- better error reporting in the failure detector
- reduced message overhead by UIDs and message/tuple tags
- reduced overall message size of transactions:
* do not include the (uncompressed) value in messages of the read phase of
write operations
* do not include the value in init_TP messages
- allow VM-flag "first" to be set via config file
- gather overall connection statistics in comm_stats (also available via web
interface)
- reduced erroneous failure messages on node shutdown
- integrated comm_layer into comm_server
- better scalability in pid_groups (find processes round-robin in find_a/1)
- several changes to improve overall performance and/or CPU time at the nodes
Tests:
- support for more types in the runtime type-checker
- verify several API functions via runtime type-checker (also test private
functions if possible!)
Tools:
- distributed protocol visualisation via trace_mpath (text-based or latex-file
for graphical presentation)
- better profiling via top for Erlang processes
- better debugging, e.g. via ASCII supervisor-tree rendering in verbose mode
Bugs:
- fixed memory leaks in read and write operations
- fixed memory leaks in tx_tm_rtm
- prevent potential endless loops in tx_tm_rtm
- fixed inform RTMs sometimes informing the wrong RTMs
- fixed numerous other bugs
Scalaris 0.4.1 - March 22, 2012
===============================
Packaging:
- new official ConPaaS packages (http://www.conpaas.eu/)
- install rubygem dependencies in Debian postinstall scripts for Ruby API
- improved Windows start scripts (if set, uses the ERLANG_HOME environment
variable to find Erlang, otherwise searches for Erlang in common paths)
Bugs:
- better tx cleanup (should fix rare occurance of duplicate client inform)
- forward additional parameters of the start scripts to new syntax of scalarisctl
Scalaris 0.4.0 (codename "Pomacea scalaris") - January 25, 2012
===============================================================
API:
- new functions for incremental data change:
test_and_set: check for a provided old value before setting a new one
add_on_nr: increment a numeric value
add_del_on_list: append or delete entries from a list value
- added VM API to manage Scalaris nodes inside an Erlang virtual machine
- added monitoring API to retrieve some live metrics
- added a connection pool convenience class (Java, Python)
Demonstrator "Wiki on Scalaris" (supported by 4CaaSt http://www.4caast.eu/):
- improved performance of page edits
- improved performance of Wikipedia dump loading
- several rendering fixes
Business Logic:
- improved handling of large values by reducing overhead of transaction
log handling (empty TLog after commit), no copy of value in TLog
returned to user after read requests)
- eliminated timeouts in data hand-over protocol (relies on fd now)
- added a DB subscribe mechanism, e.g. to become informed when locks
are freed
- fixed a strong consistency issue in the tx protocol
- gather some run-time statistics and expose them via the APIs and the
web debug interface
Infrastructure:
- support for Erlang 15B
- fd now also uses feedback from TCP layer
- made message sending more flexible (gets an option list)
- added and corrected several Erlang type specifications
- added scripts to create Scalaris images for OpenNebula
- added tools for using Scalaris as the Database as a Service
component in ConPaaS (http://www.conpaas.eu/) which is part of the
EU project Contrail (http://contrail-project.eu/)
- added a separate communication channel for priority messages, e.g. fd
(reduces falsely reported node crashes under heavy load)
Tests:
- added runtime type-checker for random testing extended unittests
Documentation:
- updated documentation to extended APIs
Bugs:
- fixed numerous bugs
Scalaris 0.3.0 (codename "Rhinechis Scalaris") - July 15, 2011
==============================================================
API:
- new API with interoperable bindings to Java, Python, Ruby, and JSON
- support for several data types, including strings, integers, JSON
objects, binary objects.
- new transaction interface with support for bundled requests for
better latency.
- separate APIs to access the raw DHT, a DHT with replication, and the
transactional DHT
Demonstrator:
- added Wikipedia-hosting using Scalaris as demonstrator application
Business Logic:
- fault-tolerant startup: start Scalaris when a quorum of the
known_hosts becomes available (option -q in bin/scalarisctl)
- perform data hand-over when nodes join/gracefully leave
(also works when transactions are executed concurrently)
- added passive load balancing (when a node joins a ring, it samples
several other nodes and joins at the node that balances the number
of stored items the most)
- completely rewritten transaction layer (more modular, more
extendible, less latency)
- modularized / reimplemented Paxos algorithm, so the algorithm can
also be used outside transactions (e.g. used for quorum-startup)
- switched almost all components to our component framework 'gen_component'
- added gossiping for estimating e.g. the number of nodes or the
average load in a ring
- more reliable unreliable look-up
- better ring start-up on slow networks
Infrastructure:
- Vivaldi and topology inference
- support for Erlang 13B01 and newer
- faster TCP/IP communication between Scalaris nodes
- completely rewritten failure detector framework for more accurate
detection of node failures
- added numerous Erlang type specifications
- extended unittests
Tests:
- added own random testing framework that reads type specifications
and scans the source code for constants to generate proper random
test-data
- extended gen_component with breakpoint-support for debugging and
testing (perform deterministic pseudo-random message interleaving
tests)
- added numerous unittests
- added language-binding interoperability tests
Documentation:
- extended, but - as always - by far not enough...
Bugs:
- fixed countless bugs
Scalaris 0.2.0 - 0.2.3
======================
- changes not explicitly recorded (see the corresponding
commit messages)