Skip to content

Commit 788bbe3

Browse files
Upgrade instructions and resolving basho#2265
1 parent 1f58cff commit 788bbe3

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

content/riak/kv/2.2.6/configuring/reference.md

+8
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,14 @@ Enterprise Edition 1.3.2 - 2.2.3 and then from Riak KV 2.2.6 onwards.</td>
18461846
<td><code>15</code></td>
18471847
</tr>
18481848

1849+
<tr>
1850+
<td><code>realtime_connection_rebalance_max_delay_secs</code></td>
1851+
<td>Should a server on the source cluster be restarted, this is
1852+
the amount of time (in seconds), before the realtime connections are
1853+
rebalanced by a change in the number of source nodes.</td>
1854+
<td><code>300</code></td>
1855+
</tr>
1856+
18491857
<tr>
18501858
<td><code>fullsync_use_background_manager</code></td>
18511859
<td>By default, fullsync replication will attempt to coordinate with

content/riak/kv/2.2.6/setup/upgrading/version.md

+16-9
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ For every node in the cluster:
4949
1. Back up the Riak /etc, /data, and /basho-patches directories.
5050
1. Remove your /basho-patches directory.
5151
1. Upgrade Riak KV.
52-
* If you are upgrading from OSS to EE, uninstall your OSS KV package before upgrading.
52+
* If you are upgrading from EE to OSS, uninstall your EE KV package before upgrading.
5353
1. (Optional) If you would like to potentially downgrade at some point, update your advanced.config file to opt-out of the AAE updates.
54-
1. If you're upgrading from OSS to EE, apply your customized settings to vm.args and app.config
54+
1. If you're upgrading from EE to OSS, apply your customized settings to vm.args/riak.conf and app.config/advanced.config
5555
1. If you're using MDC replication to clusters with versions less than 2.2.0, update your advanced.config file to over-ride the default bucket properties for compatibility.
5656
1. Start Riak KV.
5757
1. Verify Riak KV is running the upgraded version.
@@ -69,7 +69,7 @@ Before starting the rolling upgrade process on your cluster, check out the [Upgr
6969
* Upgrading to Solr 4.10.4 for Riak search.
7070

7171
{{% note %}}
72-
You must have [Java version 7 or higher](http://www.oracle.com/technetwork/java/javase/downloads/index.html) in order to upgrade to Riak KV 2.2.6.
72+
You must have [Java version 7 or higher](http://www.oracle.com/technetwork/java/javase/downloads/index.html) in order to upgrade to Riak KV 2.2.6 only if you plan to use Riak search.
7373
{{% /note %}}
7474

7575

@@ -131,7 +131,7 @@ sudo rm -rf /usr/lib/riak/lib/basho-patches*
131131
4\. Upgrade Riak KV:
132132

133133
{{% note title="Upgrading from KV Enterprise Edition" %}}
134-
If you are upgrading from Riak KV EE to Riak KV OSS, you must uninstall your Riak KV package right now, before you can install the OSS version.
134+
If you are upgrading from Riak KV EE to Riak KV OSS, you must uninstall your Riak KV EE package right now, before you can install the OSS version.
135135
{{% /note %}}
136136

137137

@@ -153,17 +153,24 @@ sudo dpkg -i »riak_package_name«.deb
153153
]}
154154
]}
155155
```
156-
157-
5.b\. (**OSS Only**)If you are upgrading from Riak KV OSS =< 2.2.3, you must perform the following steps before moving on:
156+
157+
5.b\. (**Optional**) If you would like to keep your leveldb compression in a format that will facilitate downgrading, the capability override should be in riak.conf:
158+
159+
```riak.conf
160+
leveldb.compression.algorithm=snappy
161+
```
162+
163+
5.c\. (**OSS Only**)If you are upgrading from Riak KV OSS =< 2.2.3, you must perform the following steps before moving on:
158164

159165
* A standard package uninstall should not have removed your data directories, but if it did, move your backup to where the data directory should be.
160166
* Then copy any customizations from your backed-up vm.args/riak.conf to the newly installed vm.args/riak.conf file (these files may be identical).
161167
* The advanced.config file from the newly installed version will be significantly different from your backed-up file. It will have many new sections along with the original ones. Copy the customizations from your original advanced.config file into the appropriate sections in the new one. Ensure that the following sections are present in advanced.conf:
162168
* `riak_core` --- the `cluster_mgr` setting must be present. See [MDC v3 Configuration][config v3 mdc] for more information.
163169
* `riak_repl` --- See [MDC v3 Configuration][config v3 mdc] for more information.
164170
* `snmp` --- See [SNMP][snmp] for more information.
171+
* There is a sample configuration included at the end of the [Release Notes][release notes] for reference purposes.
165172

166-
5.c\. (**EE Only with MDC**)If you need to replicate to clusters with versions less than 2.2.0, the capability override for bucket properties should be in the `riak_repl` proplist of the advanced.config file:
173+
5.d\. (**EE Only with MDC**)If you need to replicate to EE clusters with versions less than 2.2.0, the capability override for bucket properties should be in the `riak_repl` proplist of the advanced.config file:
167174

168175
```advanced.config
169176
{riak_repl, [
@@ -174,12 +181,12 @@ sudo dpkg -i »riak_package_name«.deb
174181
```
175182
Once all of the clusters have been upgraded to version 2.2.0 or greater, this override should be removed.
176183

177-
5.d\. (**EE Only**)JMX is no longer present in Riak KV. You must remove or comment out all references to it in your riak.conf/advanced.config files for Riak to start successfully post-upgrade.
184+
5.e\. (**EE Only**)JMX is no longer present in Riak KV. You must remove or comment out all references to it in your riak.conf/advanced.config files for Riak to start successfully post-upgrade.
178185

179186
6\. Restart Riak KV:
180187

181188
{{% note %}}
182-
You must have [Java version 7 or higher](http://www.oracle.com/technetwork/java/javase/downloads/index.html) in order to upgrade to Riak KV 2.2.6. If you do not have it installed, please install it now.
189+
You must have [Java version 7 or higher](http://www.oracle.com/technetwork/java/javase/downloads/index.html) in order to upgrade to Riak KV 2.2.6 if you wish to use Riak search. If you do not have it installed, please install it now.
183190
{{% /note %}}
184191

185192

0 commit comments

Comments
 (0)