Skip to content

Commit cf9850e

Browse files
authored
Mas 3.0.16 preview (#1138)
* Update deps for 3.0.16 test * Update deps * Prepare for release Now with riak_core claim algorithm update * Add addendum to 3.0.12 release notes to highlight snappy issue * Update RELEASE-NOTES.md * Update to tagged repos
1 parent 6eefccc commit cf9850e

File tree

3 files changed

+29
-11
lines changed

3 files changed

+29
-11
lines changed

RELEASE-NOTES.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
1+
# Riak KV 3.0.16 Release Notes
2+
3+
This release includes the following updates:
4+
5+
- A significant new [riak_core cluster claim algorithm](https://github.com/basho/riak_core/pull/1008) has been added - `choose_claim_v4`. The default cluster claim algorithm (`choose_claim_v2`) is unchanged, but the `choose_claim_fun` configuration option in riak.conf can be used to enable the new algorithm. The new algorithm offers significant improvements in the claim process, especially when location awareness is enabled, with the algorithm now more likely to find valid solutions and with fewer required transfers. The trade-off when compared to `choose_claim_v2` is that in some situations computational overhead of claim may increase by multiple orders of magnitude, leading to long cluster plan times.
6+
7+
- The leveled backend has been updated to reduce the memory required for stores with a large number of keys, and also reduce volatility in the memory demanded, by [optimising the memory footprint of the SST process working heap](https://github.com/martinsumner/leveled/pull/403).
8+
9+
- A collection of fixes have been added. A fix to timeouts in [leveled hot backups](https://github.com/martinsumner/leveled/pull/406). A fix to reap and erase queries to [prevent a backlog from overloading riak_kv_eraser or riak_kv_reaper mailboxes](https://github.com/basho/riak_kv/pull/1862) (creating rapidly increasing memory footprint). A fix to an issue with [nextgen replication when node_confirms is enabled](https://github.com/basho/riak_kv/pull/1858). The [R/W value used by nextgen replication is now configurable](https://github.com/basho/riak_kv/pull/1860), and this may be useful for preventing a backlog of replication events from overloading a cluster.
10+
11+
As a result of the memory management improvements made in 3.0.16, the recommendation to consider altering the eheap single-block carrier threshold made in [Riak 3.0.12](#riak-kv-3012-release-notes) has been deprecated. With the leveled backend, memory management should now be efficient on default settings, although with a small overhead on the latency of HEAD operations in that backend.
12+
113
# Riak KV 3.0.15 Release Notes
214

315
Fix to an issue introduced with the `auto_check` feature for TictacAAE full-sync in [Riak KV 3.0.10](#riak-kv-3010-release-notes).
416

517
# Riak KV 3.0.14 Release Notes
618

7-
This release [fixes an issue](https://github.com/martinsumner/leveled/issues/393) whereby a failure to signal and handle back-pressure correctly by the leveled backend can cause a backlog within the store. In particular this can be triggered by handoffs (e.g. due to cluster admin operations), and lead to partition transfers stalling almost completely. The issue existed in previous releases, by may have been exacerbated by refactoring in [Riak KV 3.0.13](#riak-kv-3013-release-notes).
19+
This release [fixes an issue](https://github.com/martinsumner/leveled/issues/393) whereby a failure to signal and handle back-pressure correctly by the leveled backend can cause a backlog within the store. In particular this can be triggered by handoffs (e.g. due to cluster admin operations), and lead to partition transfers stalling almost completely. The issue existed in previous releases, but may have been exacerbated by refactoring in [Riak KV 3.0.13](#riak-kv-3013-release-notes).
820

921
An additional [minor improvement has been made to handoffs](https://github.com/basho/riak_kv/pull/1851). Previously requests to reap tombstones after deletions (where the delete_mode is not `keep`), would not be forwarded during handoffs. These tombstones would then need to be corrected by AAE (which may result in a permanent tombstone). There is now a configuration option `handoff_deletes` which can be enabled to ensure these reap requests are forwarded, reducing the AAE work required on handoff completion.
1022

@@ -50,6 +62,12 @@ This is a general release of changes and fixes:
5062

5163
As part of this release, further testing of the new memory configuration options added in Riak 3.0.10 has been undertaken. It is now recommended when using the leveled backend, that if memory growth in the Riak process is a signifcant concern, then the following configuration option may be tested: `erlang.eheap_memory.sbct = 128`. This has been shown to reduce the memory footprint of Riak, with a small performance overhead.
5264

65+
## 3.0.12 Addendum
66+
67+
Although not originally advertised in the release, the version of eleveldb used in 3.0.12 includes an upgrade of the [`snappy` compression algorithm used within eleveldb](https://github.com/basho/eleveldb/pull/267). This version of snappy is incompatible with the previous version used, and so any update to 3.0.12 and beyond where the eleveldb backend is deployed with `snappy` compression [will fail](https://github.com/basho/eleveldb/issues/273).
68+
69+
To update to 3.0.12 in this case, the change should be rolled into the cluster using the ` riak admin cluster replace` command.
70+
5371
# Riak KV 3.0.11 Release Notes
5472

5573
A simple change to [release a bottleneck](https://github.com/martinsumner/leveled/issues/379) in 2i queries with the leveled backend. Should only be relevant to those using leveled, and attempting o(1000) 2i queries per second.

rebar.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
{deps, [
1212
{lager_syslog, {git, "https://github.com/basho/lager_syslog.git", {tag, "3.1.1"}}},
1313
{cluster_info, {git, "https://github.com/basho/cluster_info.git", {tag, "2.1.0"}}},
14-
{riak_kv, {git, "https://github.com/basho/riak_kv.git", {tag, "riak_kv-3.0.15"}}},
14+
{riak_kv, {git, "https://github.com/basho/riak_kv.git", {tag, "riak_kv-3.0.16"}}},
1515
{riak_auth_mods, {git, "https://github.com/basho/riak_auth_mods.git", {tag, "riak_kv-3.0.10"}}},
1616
{riaknostic, {git, "https://github.com/basho/riaknostic.git", {tag, "riak_kv-3.0.10"}}},
1717

1818
% {yokozuna, {git, "https://github.com/basho/yokozuna.git", {branch, "develop-3.0"}}},
1919

20-
{riak_repl, {git, "https://github.com/basho/riak_repl.git", {tag, "riak_kv-3.0.15"}}}
20+
{riak_repl, {git, "https://github.com/basho/riak_repl.git", {tag, "riak_kv-3.0.16"}}}
2121
]}.
2222

2323
{project_plugins, [
@@ -46,7 +46,7 @@
4646
]}
4747
]}.
4848

49-
{relx, [{release, {riak, "3.0.15"},
49+
{relx, [{release, {riak, "3.0.16"},
5050
[kernel,
5151
stdlib,
5252
lager,

rebar.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
2},
5151
{<<"kv_index_tictactree">>,
5252
{git,"https://github.com/martinsumner/kv_index_tictactree.git",
53-
{ref,"cd192703c2464bc0f0da12177b077c000c12b392"}},
53+
{ref,"50302987d33689fb2066c831ec7376f11d4304c9"}},
5454
1},
5555
{<<"lager">>,
5656
{git,"https://github.com/erlang-lager/lager.git",
@@ -62,7 +62,7 @@
6262
0},
6363
{<<"leveled">>,
6464
{git,"https://github.com/martinsumner/leveled",
65-
{ref,"bd6ec2fdb591aa199e18b1d4abeb3fe8e037926c"}},
65+
{ref,"4142914e3fc32090747a4a7ea63087e18a74a042"}},
6666
2},
6767
{<<"lz4">>,
6868
{git,"https://github.com/martinsumner/erlang-lz4",
@@ -103,15 +103,15 @@
103103
1},
104104
{<<"riak_api">>,
105105
{git,"https://github.com/basho/riak_api.git",
106-
{ref,"d38c4c33b2d803ba1488017e5942c240ffa46c9b"}},
106+
{ref,"1ccf72103a154493e952e7a544ea3429cb342b20"}},
107107
1},
108108
{<<"riak_auth_mods">>,
109109
{git,"https://github.com/basho/riak_auth_mods.git",
110110
{ref,"5e4a240791f6bbadc9b3bce4653ba08cb9aeb0ce"}},
111111
0},
112112
{<<"riak_core">>,
113113
{git,"https://github.com/basho/riak_core.git",
114-
{ref,"10cad320852a66d9d3c81a1f3745e7e6a5286cc2"}},
114+
{ref,"7b04e2c4731c16ffb9cfbe1ac085cb4056cb0422"}},
115115
1},
116116
{<<"riak_dt">>,
117117
{git,"https://github.com/basho/riak_dt.git",
@@ -123,19 +123,19 @@
123123
2},
124124
{<<"riak_kv">>,
125125
{git,"https://github.com/basho/riak_kv.git",
126-
{ref,"ed93f69c1e345620534c36282ba7fc08f8d9ed26"}},
126+
{ref,"e80a0699ffc5bc004b93e06c09197b79109d6844"}},
127127
0},
128128
{<<"riak_pb">>,
129129
{git,"https://github.com/basho/riak_pb.git",
130130
{ref,"04e8cc7daa081c23be137b1eff2a6a3fb827f8e4"}},
131131
2},
132132
{<<"riak_pipe">>,
133133
{git,"https://github.com/basho/riak_pipe.git",
134-
{ref,"0fc3833b0dfb1166753b67af460eb8af6b8af1bf"}},
134+
{ref,"abedf61218d4ed61a3494a12e95bd4de0277468d"}},
135135
1},
136136
{<<"riak_repl">>,
137137
{git,"https://github.com/basho/riak_repl.git",
138-
{ref,"1b3f602861a5e8045e13fcd8b1f4f5efae5cfefa"}},
138+
{ref,"dab42494f35b5102925138b28e8a1b0492947287"}},
139139
0},
140140
{<<"riak_sysmon">>,
141141
{git,"https://github.com/basho/riak_sysmon.git",

0 commit comments

Comments
 (0)