This article describes only MVP/prototype of WAL reader, usage details will be changed
Ignite WAL reader is console utility prototype for Ignite developers. This utility will allow developers to check WAL content and perform WAL analysis.
Utility converts WAL binary files into human readable records and dumps it to StdOut.
The IDEA of this utility is very simple - get the possibility to look into your WAL.
But it also requires understanding what's going on in WAL mechanism (core WAL record description can be found in Ignite Persistent Store - under the hood in section WAL structure )
Some tips how to use converter:
Example of command line:
java -cp "lib/ignite-dev-utils-2.3.0-SNAPSHOT.jar:lib/ignite-indexing-2.3.0-SNAPSHOT.jar:lib/ignite-core-2.3.0-SNAPSHOT.jar:~/.m2/repository/com/h2database/h2/1.4.195/h2-1.4.195.jar" org.apache.ignite.development.utils.IgniteWalConverter 4096 ~/IdeaProjects/incubator-ignite/work/db/wal/127_0_0_1_47503 ~/IdeaProjects/incubator-ignite/work/db/wal/archive/127_0_0_1_47503
You need to pass as argument:
1. Page size.
2. Path to WAL dir.
3. (Optional) Path to Archive WAL dir.