From dc7bd6a3e5788ae31d4ec5685ad6c0f424d042ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20S=C5=82ota?= Date: Tue, 18 Jun 2019 22:35:08 +0200 Subject: [PATCH] fixup! Add migration instructions for Riak @ MIM 3.3.0+ --- doc/migrations/3.3.0_3.3.0plus.md | 2 +- doc/migrations/jid-from-mam-muc-script.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/migrations/3.3.0_3.3.0plus.md b/doc/migrations/3.3.0_3.3.0plus.md index 2b007f2335e..96522bdb56d 100644 --- a/doc/migrations/3.3.0_3.3.0plus.md +++ b/doc/migrations/3.3.0_3.3.0plus.md @@ -58,7 +58,7 @@ This means that in case of skipping of the migrations, only some new features (n Please update the Riak schema: ```bash -# Set the RIAK_HOST to you Riak HTTP endpoint +# Set the RIAK_HOST to your Riak HTTP endpoint # Set the RIAK_MAM_SCHEMA_PATH to point to new schema path, which # by default is: RIAK_MAM_SCHEMA_PATH=tools/mam_search_schema.xml curl -v -XPUT $RIAK_HOST/search/schema/mam \ diff --git a/doc/migrations/jid-from-mam-muc-script.md b/doc/migrations/jid-from-mam-muc-script.md index 84da251ef36..6c85850c06f 100644 --- a/doc/migrations/jid-from-mam-muc-script.md +++ b/doc/migrations/jid-from-mam-muc-script.md @@ -58,7 +58,7 @@ LENGTH\nJID * `LENGTH` and `PAYLOAD` are separated with a newline character (ASCII code 10 / 0x0a) In case of an error (that is not a critical error, like I/O failure), script will print `-N\n` (where `N` is an error code) and will continue to work. -Technically it's `-N` or for `LENGTH`, followed by a newline character and no `PAYLOAD` part (or 0-length `PAYLOAD` if you like). +Technically it's `-N` for `LENGTH`, followed by a newline character and no `PAYLOAD` part (or 0-length `PAYLOAD` if you like). The following error codes are supported: * `-1\n` - Unknown error. Something went wrong with the JID extraction (most likely malformed input). * `-2\n` - Invalid message type. The message / stanza has been decoded successfully, but it's not a groupchat message.