Browse Source

explain what to do in case of truncation [ci skip]

pull/965/head
Anton Kaliaev 7 years ago
parent
commit
4f94caa1b9
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      docs/specification/corruption.rst

+ 6
- 1
docs/specification/corruption.rst View File

@ -51,7 +51,12 @@ Recovering from data corruption can be hard and time-consuming. Here are two app
./scripts/wal2json/wal2json "$TMHOME/data/cs.wal/wal" > /tmp/corrupted_wal
3. Search for a "CORRUPTED MESSAGE" line.
4. By looking at the previous message and the message after the corrupted one and looking at the logs, try to rebuild the message.
4. By looking at the previous message and the message after the corrupted one
and looking at the logs, try to rebuild the message. If the consequent
messages are marked as corrupted too (this may happen if length header
got corrupted or some writes did not make it to the WAL ~ truncation),
then remove all the lines starting from the corrupted one and restart
Tendermint.
.. code:: bash


Loading…
Cancel
Save