From ac6a481e62299febb6fa3ea09eed81e4473b9b81 Mon Sep 17 00:00:00 2001 From: Yohei Yoshimuta Date: Tue, 16 Jul 2024 12:51:13 +0900 Subject: [PATCH] fix: Remove a deprecated flag 'vreplication_tablet_type' to run vttablet v20 Signed-off-by: Yohei Yoshimuta --- pkg/operator/vttablet/constants.go | 2 -- pkg/operator/vttablet/datastore.go | 1 - 2 files changed, 3 deletions(-) diff --git a/pkg/operator/vttablet/constants.go b/pkg/operator/vttablet/constants.go index 98f5fc48..388bf580 100644 --- a/pkg/operator/vttablet/constants.go +++ b/pkg/operator/vttablet/constants.go @@ -81,8 +81,6 @@ const ( dbConfigReplUname = "vt_repl" dbConfigFilteredUname = "vt_filtered" - vreplicationTabletType = "master" - dbInitScriptDirName = "db-init-script" externalDatastoreCredentialsDirName = "external-datastore-credentials" diff --git a/pkg/operator/vttablet/datastore.go b/pkg/operator/vttablet/datastore.go index e5ff0b52..49379b65 100644 --- a/pkg/operator/vttablet/datastore.go +++ b/pkg/operator/vttablet/datastore.go @@ -126,7 +126,6 @@ func externalDatastoreFlags(spec *Spec) vitess.Flags { "enable_replication_reporter": false, "enforce_strict_trans_tables": false, - "vreplication_tablet_type": vreplicationTabletType, } return flags