Skip to content

Commit

Permalink
fixup! Add migration instructions for Riak @ MIM 3.3.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafał Słota authored Jun 18, 2019
1 parent 7666261 commit dc7bd6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/migrations/3.3.0_3.3.0plus.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion doc/migrations/jid-from-mam-muc-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dc7bd6a

Please sign in to comment.