Hi,
We are using ignite 2.11.1 to experiment with ignite snapshots. We tried
steps mentioned on below page to restore ignite data from snapshot
https://ignite.apache.org/docs/latest/snapshots/snapshots
But we get the below error when we start a cluster after copying data
manually as mentioned on the page.
Steps:
1.Created 3 nodes and added 3 records
2.Created snapshot.
3. Stopped the cluster and removed files from binary_data and marshellar,
not the directories. they are present but empty
4. removed nodeId directories and files under them from /work/db/
5. Copied node id directories from snapshot directory to /work/db/. I guess
the below step meant to say $IGNITE_HOME/work/*db/ *right *?*
-
Copy the files belonging to a node with the {node_id} from the snapshot
into the $IGNITE_HOME/work/ directory. If the db/{node_id} directory is
not located under the Ignite work dir then you need to copy data files
there.
Error : do we need to copy binary_data and marshaler files as well or
something else missing ?
-
Caused by:
*class org.apache.ignite.IgniteCheckedException: Cannot find metadata for
object with compact footer (Ignite work directory might have been cleared
after restart. Make sure that IGNITE_HOME does not point to a temp folder
or any other folder that is destroyed/cleared on restarts)
[typeId=-88020438, IGNITE_HOME='null'] *
Please note that ignite HOEM/work/db directory has all nodes data copied
from snapshot, it is not cleared as indicated by error above