From eac77556327654cdc9f11ccab1c6f7dd92b2d267 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Tue, 12 Oct 2021 08:17:10 +0100 Subject: [PATCH] Mas release308 (#1082) * Changes for Release 3.0.8 * Update rebar.lock * Update THANKS * Update lock for release --- RELEASE-NOTES.md | 32 +++++++++++++++++++ THANKS | 3 ++ rebar.config | 16 +++++----- rebar.lock | 80 ++++++++++++++++++++++++------------------------ 4 files changed, 83 insertions(+), 48 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 714965078..d997fd549 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,3 +1,25 @@ +# Riak KV 3.0.8 Release Notes + +This release contains a number of stability improvements. + +- Fix to critical issue in leveled when using (non-default, but recommended, option): [leveled_reload_recalc = enabled](https://github.com/basho/riak_kv/blob/33add2a29b6880b680a407dc91828736f54c7911/priv/riak_kv.schema#L1156-L1174). If using this option, it is recommended to rebuild the ledger on each vnode at some stage after updating. + +- [Fix to an issue with cluster leave](https://github.com/basho/riak_core/issues/970) operations that could leave clusters unnecessarily unbalanced after Stage 1 of leave, and also cause unexpected safety violations in Stage 1 (with either a simple transfer or a rebalance). An option to force a rebalance in Stage 1 is also now supported. + +- The ability to [set an environment variable](https://github.com/basho/riak/pull/1079) to remove the risk of atom table exhaustion due to repeated calls to `riak status` (and other) command-line functions. + +- The default setting of the object_hash_version environment variable to reduce the opportunity for the [riak_core_capability system to falsely request downgrading to legacy](https://github.com/basho/riak_kv/issues/1656), especially when concurrently restarting many nodes. + +- An update to the versions of `recon` and `redbug` used in Riak. + +- The fixing of an issue with [connection close handling](https://github.com/basho/riak-erlang-client/pull/402) in the Riak erlang client. + +This release also contains two new features: + +- A [new aae_fold operation](https://github.com/basho/riak_kv/issues/1793) has been added which will support the prompting of read-repair for a range of keys e.g. all the keys in a bucket after a given last modified date. This is intended to allow an operator to accelerate full recovery of data following a known node outage. + +- The addition of the [`sync_on_write` property for write operations](https://github.com/basho/riak_kv/blob/develop-3.0/docs/Sync-On-Write.md). Some Riak users require flushing of writes to disk to protect against data loss in disaster scenarios, such as mass loss of power across a DC. This can have a significant impact on throughput even with hardware acceleration (e.g. flash-backed write caches). The decision to flush was previously all or nothing. It can now be set as a bucket property (and even determined on individual writes), and can be set to flush on `all` vnodes or just `one` (the coordinator), or to simply respect the `backend` configuration. If `one` is used the single flush will occur only on client-initiated writes - writes due to handoffs or replication will not be flushed. + # Riak KV 3.0.7 Release Notes The primary change in 3.0.7 is that Riak will now run the [erlang runtime system in interactive mode, not embedded mode](http://erlang.org/doc/man/code.html). This returns Riak to the default behaviour prior to Riak KV 3.0, in order to resolve a number of problems which occurred post 3.0 when trying to dynamically load code. @@ -75,6 +97,16 @@ This major release allows Riak to run on OTP versions 20, 21 and 22 - but is not Other than the limitations listed above, the release should be functionally identical to Riak KV 2.9.7. Throughput improvements may be seen as a result of the OTP 20 upgrade on some CPU-bound workloads. For disk-bound workloads, additional benefit may be achieved by upgrading further to OTP 22. +# Riak KV 2.9.10 Release Notes + +Fix to critical issue in leveled when using (non-default, but recommended, option): [leveled_reload_recalc = enabled](https://github.com/basho/riak_kv/blob/33add2a29b6880b680a407dc91828736f54c7911/priv/riak_kv.schema#L1156-L1174). + +If using this option, it is recommended to rebuild the ledger on each vnode at some stage after updating. + +# Riak KV 2.9.9 Release Notes + +Minor stability improvements to leveled backend - [see leveled release notes](https://github.com/martinsumner/leveled/releases/tag/0.9.24) for further details. + # Riak KV 2.9.8 Release Notes This release improves the performance and stability of the leveled backend and of AAE folds. These performance improvements are based on feedback from deployments with > 1bn keys per cluster. diff --git a/THANKS b/THANKS index b9a05c502..ee4fc80ee 100644 --- a/THANKS +++ b/THANKS @@ -37,6 +37,7 @@ Anders Nygren Andre Graf Andreas Hasselberg Andreas Pfotenhauer +Andrei Zavada Andrew Gopienko Andrew J. Stone Andrew Matheny @@ -487,6 +488,7 @@ Przemysław Dąbek Péter Gömöri Ragil Rajiv M. Ranganath +Dr Ramen Sen Ramón Lastres Randy Secrist Ransom Richardson @@ -571,6 +573,7 @@ Ted Nyman Thiago Avelino Thiago Carvalho Thomas +Thomas Arts Thomas Guyot-Sionnest Thomas Järvstrand Tiago Peczenyj diff --git a/rebar.config b/rebar.config index bf0e363c0..c0bbbc90a 100644 --- a/rebar.config +++ b/rebar.config @@ -9,15 +9,15 @@ {eunit_opts, [nowarn_export_all, verbose]}. {deps, [ - {lager_syslog, {git, "git://github.com/basho/lager_syslog.git", {tag, "3.1.0"}}}, - {cluster_info, {git, "git://github.com/basho/cluster_info.git", {tag, "2.1.0"}}}, - {riak_kv, {git, "git://github.com/basho/riak_kv.git", {tag, "riak_kv-3.0.7"}}}, - {riak_auth_mods, {git, "git://github.com/basho/riak_auth_mods.git", {tag, "riak_kv-3.0.0"}}}, - {riaknostic, {git, "git://github.com/basho/riaknostic.git", {tag, "riak_kv-3.0.2"}}}, + {lager_syslog, {git, "https://github.com/basho/lager_syslog.git", {tag, "3.1.0"}}}, + {cluster_info, {git, "https://github.com/basho/cluster_info.git", {tag, "2.1.0"}}}, + {riak_kv, {git, "https://github.com/basho/riak_kv.git", {tag, "riak_kv-3.0.8"}}}, + {riak_auth_mods, {git, "https://github.com/basho/riak_auth_mods.git", {tag, "riak_kv-3.0.0"}}}, + {riaknostic, {git, "https://github.com/basho/riaknostic.git", {tag, "riak_kv-3.0.2"}}}, - % {yokozuna, {git, "git://github.com/basho/yokozuna.git", {branch, "develop-3.0"}}}, + % {yokozuna, {git, "https://github.com/basho/yokozuna.git", {branch, "develop-3.0"}}}, - {riak_repl, {git, "git://github.com/basho/riak_repl.git", {tag, "riak_kv-3.0.7"}}} + {riak_repl, {git, "https://github.com/basho/riak_repl.git", {tag, "riak_kv-3.0.8"}}} ]}. {project_plugins, [ @@ -46,7 +46,7 @@ ]} ]}. -{relx, [{release, {riak, "3.0.7"}, +{relx, [{release, {riak, "3.0.8"}, [kernel, stdlib, lager, diff --git a/rebar.lock b/rebar.lock index 8eb41dda2..840170895 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,11 +1,11 @@ {"1.1.0", [{<<"basho_stats">>, - {git,"git://github.com/basho/basho_stats.git", + {git,"https://github.com/basho/basho_stats.git", {ref,"c5b7ecb92af7b050bc62d08c6fbf1aafd6bdeff0"}}, 2}, {<<"bear">>,{pkg,<<"bear">>,<<"0.8.7">>},4}, {<<"bitcask">>, - {git,"git://github.com/basho/bitcask.git", + {git,"https://github.com/basho/bitcask.git", {ref,"dd96f6dd84a1cad68ccc21959ba56b0426434d85"}}, 1}, {<<"canola">>, @@ -13,11 +13,11 @@ {ref,"2cd39378442f3dc727de22289243b3c4d56f25fd"}}, 1}, {<<"clique">>, - {git,"git://github.com/basho/clique.git", + {git,"https://github.com/basho/clique.git", {ref,"4014357e4e677164b890fdad08a45cfa54b3e8f3"}}, 2}, {<<"cluster_info">>, - {git,"git://github.com/basho/cluster_info.git", + {git,"https://github.com/basho/cluster_info.git", {ref,"389d43af7ac1550b3c01cd55b8147bcc0e20022f"}}, 0}, {<<"cuttlefish">>, @@ -29,11 +29,11 @@ {ref,"3c25f9ef61a73d5f1d2c2601da464dd03975721d"}}, 1}, {<<"eleveldb">>, - {git,"git://github.com/basho/eleveldb.git", + {git,"https://github.com/basho/eleveldb.git", {ref,"3dee1dd7173507a4ad29df1ceb99cb70d6142478"}}, 2}, {<<"exometer_core">>, - {git,"git://github.com/Feuerlabs/exometer_core.git", + {git,"https://github.com/Feuerlabs/exometer_core.git", {ref,"547f28bc93c7cb3d3f1174fb4c510667a4ebb645"}}, 2}, {<<"folsom">>,{pkg,<<"folsom">>,<<"0.8.7">>},3}, @@ -44,44 +44,44 @@ {<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},2}, {<<"hut">>,{pkg,<<"hut">>,<<"1.2.1">>},3}, {<<"hyper">>, - {git,"git://github.com/basho/hyper", + {git,"https://github.com/basho/hyper", {ref,"d0bf3d67fd17b8ed2610b266aebd54b1027ea916"}}, 1}, {<<"ibrowse">>, - {git,"git://github.com/basho/ibrowse.git", + {git,"https://github.com/basho/ibrowse.git", {ref,"cdde6fe5e80ce71e7b5570e40a45d9f862721499"}}, 2}, {<<"kv_index_tictactree">>, {git,"https://github.com/martinsumner/kv_index_tictactree.git", - {ref,"e1f580a908014bdc2461198dd8f5e8012ec152c1"}}, + {ref,"1c297426e86542fcb9d2dd61400853a42a6e104d"}}, 1}, {<<"lager">>, {git,"git://github.com/erlang-lager/lager.git", {ref,"22e62f28e5afabe90a6f31bcde367a2b5799fc94"}}, 1}, {<<"lager_syslog">>, - {git,"git://github.com/basho/lager_syslog.git", + {git,"https://github.com/basho/lager_syslog.git", {ref,"152bb8eb254c225ebd8c579f9603f44b50df44ec"}}, 0}, {<<"leveled">>, - {git,"https://github.com/martinsumner/leveled.git", - {ref,"489d89fb16af987f0b74fb42dfa6e4f9e6c2f7f1"}}, - 1}, + {git,"https://github.com/martinsumner/leveled", + {ref,"8fa373d367e33179da12fd0b7fb1ca8ddce23ffd"}}, + 2}, {<<"lz4">>, {git,"https://github.com/martinsumner/erlang-lz4", {ref,"d407af5de71303b8e381df718d2e5d05eb775c59"}}, - 2}, + 3}, {<<"meck">>, {git,"https://github.com/eproxus/meck.git", {ref,"4ecc1ae9089edc6977e8c8c4cd41081513cc5590"}}, 4}, {<<"mochiweb">>, - {git,"git://github.com/basho/mochiweb.git", + {git,"https://github.com/basho/mochiweb.git", {ref,"8471d2197afd412fcec239dd9ad5cbe90e64eefa"}}, 2}, {<<"parse_trans">>,{pkg,<<"parse_trans">>,<<"3.3.0">>},3}, {<<"pbkdf2">>, - {git,"git://github.com/basho/erlang-pbkdf2.git", + {git,"https://github.com/basho/erlang-pbkdf2.git", {ref,"681494c3ea03625c909a16b1b3ca295edf892057"}}, 2}, {<<"poolboy">>, @@ -98,26 +98,26 @@ 1}, {<<"recon">>, {git,"https://github.com/ferd/recon", - {ref,"75d70c7c08926d2f24f1ee6de14ee50fe8a52763"}}, + {ref,"34194da6d9f8ed25f274e0ebb098dc9e95bcf547"}}, 1}, {<<"redbug">>, {git,"https://github.com/massemanet/redbug", - {ref,"c583d4567d1e2b8a540593ad0512559798d42565"}}, + {ref,"c466ddc4f05a34c47bcf0666899c50e40c5223d2"}}, 1}, {<<"riak_api">>, - {git,"git://github.com/basho/riak_api.git", - {ref,"0f0a485d214ca9abc26451a0c11873097c605622"}}, + {git,"https://github.com/basho/riak_api.git", + {ref,"4c1dbe06c31c93b6947ec9ab0150ea668811f726"}}, 1}, {<<"riak_auth_mods">>, - {git,"git://github.com/basho/riak_auth_mods.git", + {git,"https://github.com/basho/riak_auth_mods.git", {ref,"1eccaef8e9e6200f0b75ea9312f0a731c8d572bf"}}, 0}, {<<"riak_core">>, - {git,"git://github.com/basho/riak_core.git", - {ref,"1f7e204548148f7dda9727113838d40b559310e3"}}, + {git,"https://github.com/basho/riak_core.git", + {ref,"b36a7aedcc152b3070748972730fb2461ab49c14"}}, 1}, {<<"riak_dt">>, - {git,"git://github.com/basho/riak_dt.git", + {git,"https://github.com/basho/riak_dt.git", {ref,"d0de4694f1423dc942844fbc494604a3c6df17d6"}}, 1}, {<<"riak_ensemble">>, @@ -125,44 +125,44 @@ {ref,"573a271aa546dcdcaeaaf09b3de6949a3130e021"}}, 2}, {<<"riak_kv">>, - {git,"git://github.com/basho/riak_kv.git", - {ref,"578eb0a4212f183041111b8703b481935a273937"}}, + {git,"https://github.com/basho/riak_kv.git", + {ref,"ef092fb28d1cf32cf10cd61a4ceb3d4467701c62"}}, 0}, {<<"riak_pb">>, - {git,"git://github.com/basho/riak_pb.git", - {ref,"3129374435d67086e05f97a92482ef7f280aa7c7"}}, + {git,"https://github.com/basho/riak_pb.git", + {ref,"b7abca90e4c708073021d2c4e18c896f1a10b838"}}, 2}, {<<"riak_pipe">>, - {git,"git://github.com/basho/riak_pipe.git", + {git,"https://github.com/basho/riak_pipe.git", {ref,"8dd2a6352e58a7d8215ba5afad4cf7b9e4807714"}}, 1}, {<<"riak_repl">>, - {git,"git://github.com/basho/riak_repl.git", - {ref,"75faa4a0621aa42f45cd1e6e1fa103017a8343a4"}}, + {git,"https://github.com/basho/riak_repl.git", + {ref,"89ffda17e1fcd4f596a5c72e4ff6fc9405616327"}}, 0}, {<<"riak_sysmon">>, - {git,"git://github.com/basho/riak_sysmon.git", + {git,"https://github.com/basho/riak_sysmon.git", {ref,"726df1f4c31108bb9366fb767b480f286e51f7fc"}}, 2}, {<<"riakc">>, - {git,"git://github.com/basho/riak-erlang-client", - {ref,"07c9582c9fd97f8252e0a3e488d6ebc08a9a4172"}}, + {git,"https://github.com/basho/riak-erlang-client", + {ref,"d9fa46335fda4704fda71cbc011ab6a11e50e3f3"}}, 2}, {<<"riakhttpc">>, - {git,"git://github.com/basho/riak-erlang-http-client", - {ref,"f5d9574a834a5efe996b340107eb932504de869f"}}, + {git,"https://github.com/basho/riak-erlang-http-client", + {ref,"fd7255150967245195105f4437904538c17614b1"}}, 1}, {<<"riaknostic">>, - {git,"git://github.com/basho/riaknostic.git", + {git,"https://github.com/basho/riaknostic.git", {ref,"8aef63a89d719b22754683cce187eaeeecdd789c"}}, 0}, {<<"setup">>,{pkg,<<"setup">>,<<"2.0.2">>},3}, {<<"sext">>, - {git,"git://github.com/uwiger/sext.git", + {git,"https://github.com/uwiger/sext.git", {ref,"615eebcf975ec4b4561c6f2b2bc433dabdb2be0f"}}, 1}, {<<"sidejob">>, - {git,"git://github.com/basho/sidejob.git", + {git,"https://github.com/basho/sidejob.git", {ref,"d5e8f8450b92ab30610496ffb58f560d6a8bad6b"}}, 1}, {<<"syslog">>, @@ -170,7 +170,7 @@ {ref,"4a6c6f2c996483e86c1320e9553f91d337bcb6aa"}}, 1}, {<<"webmachine">>, - {git,"git://github.com/webmachine/webmachine.git", + {git,"https://github.com/webmachine/webmachine.git", {ref,"92225b82fc702f78cf9d23248023ec841272df80"}}, 2}]}. [