add json2wal & fix wal2json (#2196)

* add json2wal & fix wal2json

* fix bug

* Update main.go

* add wal2JsonTest file

* Delete wal2JsonTest
This commit is contained in:
bradyjoestar
2018-08-10 09:09:40 +04:00
committed by Anton Kaliaev
parent 5a8fe61200
commit 785786bec4
3 changed files with 87 additions and 3 deletions
@@ -164,7 +164,7 @@ $EDITOR /tmp/corrupted_wal
5. After editing, convert this file back into binary form by running:
```
./scripts/json2wal/json2wal /tmp/corrupted_wal > "$TMHOME/data/cs.wal/wal"
./scripts/json2wal/json2wal /tmp/corrupted_wal $TMHOME/data/cs.wal/wal
```
## Hardware