Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some tips how to use converter:
Example of command line:

 

No Format
java -cp "lib/ignite-dev-utils-2.4.0-SNAPSHOT-jar-with-dependencies.jar" -DIGNITE_PDS_SKIP_CRC=true -DPRINT_STAT=true -DPRINT_RECORDS=false org.apache.ignite.development.utils.IgniteWalConverter %*

Alternatively if separate JAR files are used following 

 

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. 

Record output

Format of record output

Info

To enable record output please set java system property: PRINT_RECORDS=true

Output consist from lines, every new record discovered causes new line

...

Note record may provide not all, but only printable human readable details. Record may hide long binary objects which non appropriate for human readable form.

Example of records output

To view example of output click below.

...