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
While taking an incremental backup using vtctlclient, the target tablet demotes to a BACKUP type tablet during the backup.
I looked through the code (release-17.0 branch) and found that:
On go/vt/vttablet/tabletmanager/rpc_backup.go:83, engine.ShouldDrainForBackup() is called to check whether tablet should be drained or not, but builtin engine implements ShouldDrainForBackup as true always. Incremental backups are not catered for in this function.
Version: 17.0.0 (Git revision 70a94669826071e31f4ac14047de911753f4af5d branch 'heads/v17.0.0') built on Tue Jun 27 13:10:52 UTC 2023 by vitess@buildkitsandbox using go1.20.5 linux/amd64
Overview of the Issue
While taking an incremental backup using
vtctlclient
, the target tablet demotes to a BACKUP type tablet during the backup.I looked through the code (release-17.0 branch) and found that:
On
go/vt/vttablet/tabletmanager/rpc_backup.go:83
,engine.ShouldDrainForBackup()
is called to check whether tablet should be drained or not, butbuiltin
engine implementsShouldDrainForBackup
as true always. Incremental backups are not catered for in this function.Reproduction Steps
Take an incremental backup using:
Binary Version
Version: 17.0.0 (Git revision 70a94669826071e31f4ac14047de911753f4af5d branch 'heads/v17.0.0') built on Tue Jun 27 13:10:52 UTC 2023 by vitess@buildkitsandbox using go1.20.5 linux/amd64
Operating System and Environment details
Log Fragments
No response
The text was updated successfully, but these errors were encountered: