Reference documentation and code samples for the Cloud SQL Admin V1 API module Google::Cloud::Sql::V1::SqlExternalSyncSettingError::SqlExternalSyncSettingErrorType.
Constants
SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED
value: 0
CONNECTION_FAILURE
value: 1
BINLOG_NOT_ENABLED
value: 2
INCOMPATIBLE_DATABASE_VERSION
value: 3
REPLICA_ALREADY_SETUP
value: 4
INSUFFICIENT_PRIVILEGE
value: 5
The replication user is missing privileges that are required.
UNSUPPORTED_MIGRATION_TYPE
value: 6
Unsupported migration type.
NO_PGLOGICAL_INSTALLED
value: 7
No pglogical extension installed on databases, applicable for postgres.
PGLOGICAL_NODE_ALREADY_EXISTS
value: 8
pglogical node already exists on databases, applicable for postgres.
INVALID_WAL_LEVEL
value: 9
The value of parameter wal_level is not set to logical.
INVALID_SHARED_PRELOAD_LIBRARY
value: 10
The value of parameter shared_preload_libraries does not include
pglogical.
INSUFFICIENT_MAX_REPLICATION_SLOTS
value: 11
The value of parameter max_replication_slots is not sufficient.
INSUFFICIENT_MAX_WAL_SENDERS
value: 12
The value of parameter max_wal_senders is not sufficient.
INSUFFICIENT_MAX_WORKER_PROCESSES
value: 13
The value of parameter max_worker_processes is not sufficient.
UNSUPPORTED_EXTENSIONS
value: 14
Extensions installed are either not supported or having unsupported
versions.
INVALID_RDS_LOGICAL_REPLICATION
value: 15
The value of parameter rds.logical_replication is not set to 1.
INVALID_LOGGING_SETUP
value: 16
The primary instance logging setup doesn't allow EM sync.
INVALID_DB_PARAM
value: 17
The primary instance database parameter setup doesn't allow EM sync.
UNSUPPORTED_GTID_MODE
value: 18
The gtid_mode is not supported, applicable for MySQL.
SQLSERVER_AGENT_NOT_RUNNING
value: 19
SQL Server Agent is not running.
UNSUPPORTED_TABLE_DEFINITION
value: 20
The table definition is not support due to missing primary key or replica
identity, applicable for postgres. Note that this is a warning and won't
block the migration.
UNSUPPORTED_DEFINER
value: 21
The customer has a definer that will break EM setup.
SQLSERVER_SERVERNAME_MISMATCH
value: 22
SQL Server @@SERVERNAME does not match actual host name.
PRIMARY_ALREADY_SETUP
value: 23
The primary instance has been setup and will fail the setup.
UNSUPPORTED_BINLOG_FORMAT
value: 24
The primary instance has unsupported binary log format.
BINLOG_RETENTION_SETTING
value: 25
The primary instance's binary log retention setting.
UNSUPPORTED_STORAGE_ENGINE
value: 26
The primary instance has tables with unsupported storage engine.
LIMITED_SUPPORT_TABLES
value: 27
Source has tables with limited support
eg: PostgreSQL tables without primary keys.
EXISTING_DATA_IN_REPLICA
value: 28
The replica instance contains existing data.
MISSING_OPTIONAL_PRIVILEGES
value: 29
The replication user is missing privileges that are optional.
RISKY_BACKUP_ADMIN_PRIVILEGE
value: 30
Additional BACKUP_ADMIN privilege is granted to the replication user
which may lock source MySQL 8 instance for DDLs during initial sync.
INSUFFICIENT_GCS_PERMISSIONS
value: 31
The Cloud Storage bucket is missing necessary permissions.
INVALID_FILE_INFO
value: 32
The Cloud Storage bucket has an error in the file or contains invalid
file information.
UNSUPPORTED_DATABASE_SETTINGS
value: 33
The source instance has unsupported database settings for migration.
MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE
value: 34
The replication user is missing parallel import specific privileges.
(e.g. LOCK TABLES) for MySQL.
LOCAL_INFILE_OFF
value: 35
The global variable local_infile is off on external server replica.
TURN_ON_PITR_AFTER_PROMOTE
value: 36
This code instructs customers to turn on point-in-time recovery manually
for the instance after promoting the Cloud SQL for PostgreSQL instance.
INCOMPATIBLE_DATABASE_MINOR_VERSION
value: 37
The minor version of replica database is incompatible with the source.
SOURCE_MAX_SUBSCRIPTIONS
value: 38
This warning message indicates that Cloud SQL uses the maximum number of
subscriptions to migrate data from the source to the destination.
UNABLE_TO_VERIFY_DEFINERS
value: 39
Unable to verify definers on the source for MySQL.
SUBSCRIPTION_CALCULATION_STATUS
value: 40
If a time out occurs while the subscription counts are calculated, then
this value is set to 1. Otherwise, this value is set to 2.
PG_SUBSCRIPTION_COUNT
value: 41
Count of subscriptions needed to sync source data for PostgreSQL
database.
PG_SYNC_PARALLEL_LEVEL
value: 42
Final parallel level that is used to do migration.
INSUFFICIENT_DISK_SIZE
value: 43
The disk size of the replica instance is smaller than the data size of
the source instance.
INSUFFICIENT_MACHINE_TIER
value: 44
The data size of the source instance is greater than 1 TB, the number of
cores of the replica instance is less than 8, and the memory of the
replica is less than 32 GB.
UNSUPPORTED_EXTENSIONS_NOT_MIGRATED
value: 45
The warning message indicates the unsupported extensions will not be
migrated to the destination.
EXTENSIONS_NOT_MIGRATED
value: 46
The warning message indicates the pg_cron extension and settings will not
be migrated to the destination.
PG_CRON_FLAG_ENABLED_IN_REPLICA
value: 47
The error message indicates that pg_cron flags are enabled on the
destination which is not supported during the migration.
EXTENSIONS_NOT_ENABLED_IN_REPLICA
value: 48
This error message indicates that the specified extensions are not
enabled on destination instance. For example, before you can migrate
data to the destination instance, you must enable the PGAudit extension
on the instance.
UNSUPPORTED_COLUMNS
value: 49
The source database has generated columns that can't be migrated. Please
change them to regular columns before migration.
USERS_NOT_CREATED_IN_REPLICA
value: 50
The source database has users that aren't created in the replica.
First, create all users, which are in the pg_user_mappings table
of the source database, in the destination instance. Then, perform the
migration.
UNSUPPORTED_SYSTEM_OBJECTS
value: 51
The selected objects include system objects that aren't supported for
migration.
UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY
value: 52
The source database has tables with the FULL or NOTHING replica identity.
Before starting your migration, either remove the identity or change it
to DEFAULT. Note that this is an error and will block the migration.
SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE
value: 53
The selected objects don't exist on the source instance.
PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI
value: 54
PSC only destination instance does not have a network attachment URI.
SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS
value: 55
Selected objects reference unselected objects. Based on their object type
(foreign key constraint or view), selected objects will fail during
migration.
PROMPT_DELETE_EXISTING
value: 56
The migration will delete existing data in the replica; set
replica_overwrite_enabled
in the request to acknowledge this. This is an error. MySQL only.
WILL_DELETE_EXISTING
value: 57
The migration will delete existing data in the replica;
replica_overwrite_enabled
was set in the request acknowledging this. This is a warning rather than
an error. MySQL only.
PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE
value: 58
The replication user is missing specific privileges to setup DDL
replication. (e.g. CREATE EVENT TRIGGER, CREATE SCHEMA) for PostgreSQL.