Skip to content

Commit 967478a

Browse files
authoredFeb 4, 2023
Mas 3.0.13 preview (#1126)
* planned combination for 3.0.13 basho/eleveldb#269 to be added once issues are resolved * Release preparation - 3.0.13 * For testing of fix to KV1847 * Update with reference to conditional PUT changes * Update riak-chkconfig As per #1125 * Update following merge * Tags for release

File tree

4 files changed

+35
-12
lines changed

4 files changed

+35
-12
lines changed
 

‎RELEASE-NOTES.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# Riak KV 3.0.13 Release Notes
2+
3+
This release is focused on improving the reliability of handoffs. The speed of handoffs is critical to the recovery times of nodes following failure, and also to the time necessary to expand or contract the cluster. Controlling the speed can be managed by increasing concurrency (using `riak admin transfer-limit <limit>`), but this can often lead to handoff unreliability due to timeouts.
4+
5+
- The main [handoff process has been refactored](https://github.com/basho/riak_core/pull/995) to remove some deprecated messages, simplify the naming of configuration items, improve the logging of handoffs and increase the frequency of handoff sync messages. More frequent sync messages should make the flow of handoffs from the sender more responsive to pressure at the receiver.
6+
7+
- On joining a node to a cluster, there will now be an attempt to exchange metadata with the joining node before the join is staged. This should reduce the probability of events failing immediately after join, as bucket types had not yet been replicated to the joining node.
8+
9+
- A [new configuration option has been added](https://github.com/basho/riak_kv/blob/fbb53630645e53af053228d526caa3c86f304066/priv/riak_kv.schema#L1469-L1487) to change Riak to only commit read repair on primary (not fallback) vnodes. In short-term failures, enabling this option will reduce the time taken for hinted handoff to complete following recovery of a failed node - as now the handoff will contain only objects changed for that partition during the outage. With the default setting of `disabled`; fallback nodes will also contain each object fetched during the outage, in-line with the behaviour in previous releases.
10+
11+
- A [fix has been implemented in leveled](https://github.com/martinsumner/leveled/pull/390) to reduce failures and inefficiencies when re-building the ledger key store from the object Journal, in situations where there has been a high volume of object churn.
12+
13+
- Some [helper functions have been added to riak_client](https://github.com/basho/riak_kv/blob/fbb53630645e53af053228d526caa3c86f304066/src/riak_client.erl#L949-L993), to simplify some operational tasks. These functions can be called from `riak remote_console`, e.g. `riak_client:repair_node().` - which replaces the series of commands previously required to run partition repair across all partitions on a node. `riak_client:tictacaae_suspend_node().` may be used to suspend Tictacaae AAE exchanges on a node following a failure, so that they can be re-enabled using `riak_client:tictacaae_resume_node().` once handoffs have been completed.
14+
15+
There are still [outstanding](https://github.com/basho/riak_kv/issues/1846) [issues](https://github.com/basho/riak_core/issues/996) related to handoffs.
16+
17+
The release also includes a [significant change to the HTTP API](https://github.com/basho/riak_kv/issues/1849). In previous releases PUT, POST and DELETE requests would all GET the object prior to starting the PUT process. This is in contrast to the Protocol Buffers API which would only GET the object in case where conditions were passed in the put (e.g. `if_none_match` or `if_not_modified`). These two APIs now have the same non-functional behaviour, the HTTP API will no longer request a GET before the PUT if the request does not contain a condition (e.g. using `If-None-Match`, `If-Match`, `If-Modified-Since` as well as a new bespoke condition `X-Riak-If-Not-Modified`).
18+
19+
A vector clock being passed on a PUT using the `X-Riak-If-Not-Modified` header, will return a `409:Conflict` should the passed vector clock not match the clock found prior to updating the object. This will work as the PB API `if_not_modified` option. This is still an eventually consistent condition, parallel updates may still lead to siblings when `{allow_mult, true}`.
20+
121
# Riak KV 3.0.12 Release Notes
222

323
This is a general release of changes and fixes:

‎rebar.config

+3-3
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.12"}}},
14+
{riak_kv, {git, "https://github.com/basho/riak_kv.git", {tag, "riak_kv-3.0.13"}}},
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.12"}}}
20+
{riak_repl, {git, "https://github.com/basho/riak_repl.git", {tag, "riak_kv-3.0.13"}}}
2121
]}.
2222

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

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

‎rebar.lock

+9-9
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,"4cd9ab1e20772db36f593879272dff5f02fbbeda"}},
53+
{ref,"1d982aeaf6bd57c6c00fcad67e90c27c58edcfd1"}},
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,"0c337b881e60d06f7441ec036ffc7e47acb5682e"}},
65+
{ref,"ee6c166b9f49884340970109f5365f581db87688"}},
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,"53ec7feb441c910adf80d55d4a61c9989fd1afca"}},
106+
{ref,"0f9c5783f87f3c1797fa7b3ca5088c6c3a74a13f"}},
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,"5da9f752949779b0cd28d7312fb4224a566b5a4a"}},
114+
{ref,"ad546ed1ce85b48aada8446cc2ce75a129103b32"}},
115115
1},
116116
{<<"riak_dt">>,
117117
{git,"https://github.com/basho/riak_dt.git",
@@ -123,31 +123,31 @@
123123
2},
124124
{<<"riak_kv">>,
125125
{git,"https://github.com/basho/riak_kv.git",
126-
{ref,"1e19c3238967b8e4784ebc35e44027654399e411"}},
126+
{ref,"e04bc998e2f48e083a875e290ca242f2d699830d"}},
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,"524b76d4605da0a3dda27c4d0e08258d7ed53e69"}},
134+
{ref,"bd2240266acfa824ea1fe5f3a2b2192e92e822d3"}},
135135
1},
136136
{<<"riak_repl">>,
137137
{git,"https://github.com/basho/riak_repl.git",
138-
{ref,"bfcbf630cdb925b734a31072998926e14a8bb96e"}},
138+
{ref,"dd890e83498fcb254de485e2a3aa195f67fbe59c"}},
139139
0},
140140
{<<"riak_sysmon">>,
141141
{git,"https://github.com/basho/riak_sysmon.git",
142142
{ref,"bb75c2b8fd2e1074ffded60054f3a17b745957aa"}},
143143
2},
144144
{<<"riakc">>,
145145
{git,"https://github.com/basho/riak-erlang-client",
146-
{ref,"467deeb1eee6830a6945249bc9745900766d77c0"}},
146+
{ref,"3b6ad6e92dcb55833e9add829b2871be8468a68e"}},
147147
2},
148148
{<<"riakhttpc">>,
149149
{git,"https://github.com/basho/riak-erlang-http-client",
150-
{ref,"a99e0401ff670177f8a1a00d089db6970448ac66"}},
150+
{ref,"20cfdf4eb1f2e2f8521fd6c974d7b3e2bd9db728"}},
151151
1},
152152
{<<"riaknostic">>,
153153
{git,"https://github.com/basho/riaknostic.git",

‎rel/files/riak-chkconfig

+3
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ CODE=" try
2121
$BINDIR/erl -noshell -boot start_clean -eval "$CODE"
2222

2323
echo $CUTTLE_CONF
24+
25+
# No explicit exit, assumed to have succeeded
26+
exit 0

0 commit comments

Comments
 (0)
Please sign in to comment.