You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backup.Flags().StringVar(&backupOptions.BackupEngine, "backup-engine", "", "Request a specific backup engine for this backup request. Defaults to the preferred backup engine of the target vttablet")
295
299
296
300
Backup.Flags().BoolVar(&backupOptions.UpgradeSafe, "upgrade-safe", false, "Whether to use innodb_fast_shutdown=0 for the backup so it is safe to use for MySQL upgrades.")
301
+
Backup.Flags().DurationVar(&backupOptions.MysqlShutdownTimeout, "mysql-shutdown-timeout", mysqlctl.DefaultShutdownTimeout, "Timeout to use when MySQL is being shut down.")
297
302
Root.AddCommand(Backup)
298
303
299
304
BackupShard.Flags().BoolVar(&backupShardOptions.AllowPrimary, "allow-primary", false, "Allow the primary of a shard to be used for the backup. WARNING: If using the builtin backup engine, this will shutdown mysqld on the primary and stop writes for the duration of the backup.")
300
305
BackupShard.Flags().Int32Var(&backupShardOptions.Concurrency, "concurrency", 4, "Specifies the number of compression/checksum jobs to run simultaneously.")
301
306
BackupShard.Flags().StringVar(&backupShardOptions.IncrementalFromPos, "incremental-from-pos", "", "Position, or name of backup from which to create an incremental backup. Default: empty. If given, then this backup becomes an incremental backup from given position or given backup. If value is 'auto', this backup will be taken from the last successful backup position.")
302
-
BackupShard.Flags().BoolVar(&backupOptions.UpgradeSafe, "upgrade-safe", false, "Whether to use innodb_fast_shutdown=0 for the backup so it is safe to use for MySQL upgrades.")
307
+
BackupShard.Flags().BoolVar(&backupShardOptions.UpgradeSafe, "upgrade-safe", false, "Whether to use innodb_fast_shutdown=0 for the backup so it is safe to use for MySQL upgrades.")
308
+
BackupShard.Flags().DurationVar(&backupShardOptions.MysqlShutdownTimeout, "mysql-shutdown-timeout", mysqlctl.DefaultShutdownTimeout, "Timeout to use when MySQL is being shut down.")
303
309
Root.AddCommand(BackupShard)
304
310
305
311
GetBackups.Flags().Uint32VarP(&getBackupsOptions.Limit, "limit", "l", 0, "Retrieve only the most recent N backups.")
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtcombo.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -226,7 +226,7 @@ Flags:
226
226
--mysql-shell-load-flags string flags to pass to mysql shell load utility. This should be a JSON string (default "{\"threads\": 4, \"loadUsers\": true, \"updateGtidSet\": \"replace\", \"skipBinlog\": true, \"progressFile\": \"\"}")
227
227
--mysql-shell-should-drain decide if we should drain while taking a backup or continue to serving traffic
228
228
--mysql-shell-speedup-restore speed up restore by disabling redo logging and double write buffer during the restore process
229
-
--mysql-shutdown-timeout duration timeout to use when MySQL is being shut down. (default 5m0s)
229
+
--mysql-shutdown-timeout duration Timeout to use when MySQL is being shut down. (default 5m0s)
230
230
--mysql_allow_clear_text_without_tls If set, the server will allow the use of a clear text password over non-SSL connections.
231
231
--mysql_auth_server_impl string Which auth server implementation to use. Options: none, ldap, clientcert, static, vault. (default "static")
Copy file name to clipboardExpand all lines: go/flags/endtoend/vttablet.txt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -246,7 +246,7 @@ Flags:
246
246
--mysql-shell-load-flags string flags to pass to mysql shell load utility. This should be a JSON string (default "{\"threads\": 4, \"loadUsers\": true, \"updateGtidSet\": \"replace\", \"skipBinlog\": true, \"progressFile\": \"\"}")
247
247
--mysql-shell-should-drain decide if we should drain while taking a backup or continue to serving traffic
248
248
--mysql-shell-speedup-restore speed up restore by disabling redo logging and double write buffer during the restore process
249
-
--mysql-shutdown-timeout duration timeout to use when MySQL is being shut down. (default 5m0s)
249
+
--mysql-shutdown-timeout duration Timeout to use when MySQL is being shut down. (default 5m0s)
250
250
--mysql_server_version string MySQL server version to advertise. (default "8.0.40-Vitess")
251
251
--mysqlctl_mycnf_template string template file to use for generating the my.cnf file during server init
252
252
--mysqlctl_socket string socket file to use for remote mysqlctl actions (empty for local actions)
0 commit comments