Database Error Messages

OCI-05173

Sharding command command_name cannot be executed on target shard shard_name due to a prior error on the DDL statement with ID ddl_id.
  • command_name: The name of the GDSCTL command.
  • shard_name: The name of the GDSCTL command's target shard.
  • ddl_id: The ID of the failed DDL command. This can be used with the GDSCTL 'show ddl' command to get more error details.

Cause

The specified sharding GDSCTL command cannot execute because the DDL schema in the target shard is currently behind the catalog's DDL schema.


Action

Execute the GDSCTL 'config shard' and 'show ddl' commands to retrieve the DDL error details. If necessary, revert the failed command request by executing the 'alter task -cancel' command. Correct the DDL error and then execute the GDSCTL 'recover shard' command.