Add master tablet type in addition to replica as default source tablet types

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
This commit is contained in:
Rohit Nayak 2021-01-09 09:18:54 +01:00
Родитель 9ac7dc8911
Коммит 441a085c73
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: BA0A4E9168156524
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -72,7 +72,9 @@ func init() {
withDDL = withddl.New(allddls)
}
var tabletTypesStr = flag.String("vreplication_tablet_type", "REPLICA", "comma separated list of tablet types used as a source")
// this are the default tablet_types that will be used by the tablet picker to find sources for a vreplication stream
// it can be overridden by passing a different list to the MoveTables or Reshard commands
var tabletTypesStr = flag.String("vreplication_tablet_type", "MASTER,REPLICA", "comma separated list of tablet types used as a source")
// waitRetryTime can be changed to a smaller value for tests.
// A VReplication stream can be created by sending an insert statement