Igniters, I am working on IGNITE-7644 <https://issues.apache.org/jira/browse/IGNITE-7644> (export all key-value data from a persisted partition), it will be command line tool for extracting data from Ignite partition file without the need to start node. The main motivation is to have a lifebuoy in case if a file has damage for some reason.
I suggest simple API and two commands for the first implementation: -c --CRC [srcPath] - check CRC for all(or by type) pages in partition -e --extract [srcPath] [outPath] - dump all survey data from partition to another file with raw key/value pair format (required graceful stop for a node, not necessary after --restore will be implemented) Output file format see in attached, this format does not contain any index inside but it is very simple and flexible for future works with raw key/value data. Future features: -u --upload - reload raw key/value pairs to node -s --status - check current node file status, need binary recovery or not (node crash on the middle of a checkpoint) -r --restore - restore binary consistency (finish checkpoint, required WAL file for recovery) Let's start a discussion, any comments are welcome.