state property

String? state
getter/setter pair

The current state of the migration. Possible string values are:

  • "STATE_UNSPECIFIED" : Unspecified state. Should not be used.
  • "PENDING" : The MigrateLocationDestructively request has passed precondition checks and the bucket migration will begin soon.
  • "CREATING_TEMP_BUCKET" : Generating a unique bucket name, storing the source -> temp mapping in Spanner, and actually creating the temporary bucket via Bigstore.
  • "TRANSFERRING_TO_TEMP" : The first STS transfer to move all objects from the source bucket to the temp bucket is underway.
  • "DELETING_SOURCE_BUCKET" : The source bucket is being emptied and deleted.
  • "CREATING_DESTINATION_BUCKET" : The source bucket is being recreated in the new location.
  • "TRANSFERRING_TO_DESTINATION" : The second STS transfer to move all objects from the temp bucket to the final bucket is underway.
  • "DELETING_TEMP_BUCKET" : The temp bucket is being emptied and deleted.
  • "SUCCEEDED" : All stages of the migration have completed and the operation has been marked done and updated with a response.
  • "FAILED" : The migration failed at some stage and it is not possible to continue retrying that stage. Manual recovery may be needed. Rollback is either impossible at this stage, or has been attempted and failed.
  • "ROLLING_BACK" : The migration has encountered a permanent failure and is now being rolled back so that the source bucket is restored to its original state.
  • "ROLLED_BACK" : The migration has been successfully rolled back.

Implementation

core.String? state;