recover space
The recover space command is used when all of the members of a metaspace have stopped and you are restarting those members. The recover space command allows you to control how persisted data for an individual space is restored.
Syntax
Note: The options
with data and
without data with
recovery_policy, are mutually exclusive. You can only use one of them in the command.
recover space <string> [recovery_policy <string> | with data | without data] [quorum <integer>] [keep_files <boolean>]In case you need to restart the members of a metaspace and you have a space defined to persist data to a datastore, before using the space, at startup, ensure that you run the recover space command. If you do not run the command at startup, spaces with data in the datastore continue to be in the recover state not in the ready state.
Parameters
The following table lists the parameters for this command with a description of each parameter.
Note: When recovering a space which has a capacity defined, by default only the keys and indexes of the space are restored to memory regardless of whether or not the capacity has been reached. When capacity has been defined for a space, you can force the recovery of all data for a space, up to the capacity, by using the
robust_load_only recovery policy. For any other recovery policy setting, the default behavior of only loading keys and indexes to memory is enforced.
Related concepts
Related tasks
Related reference
Copyright © Cloud Software Group, Inc. All rights reserved.