Skip to content

Commit be1ab17

Browse files
author
Shlomi Noach
committed
status presents with '# throttle-control-replicas count:'
1 parent 8219209 commit be1ab17

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

go/logic/migrator.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,12 @@ func (this *Migrator) printMigrationStatusHint(writers ...io.Writer) {
761761
throttleQuery,
762762
))
763763
}
764+
if throttleControlReplicaKeys := this.migrationContext.GetThrottleControlReplicaKeys(); throttleControlReplicaKeys.Len() > 0 {
765+
fmt.Fprintln(w, fmt.Sprintf("# throttle-control-replicas count: %+v",
766+
throttleControlReplicaKeys.Len(),
767+
))
768+
}
769+
764770
if this.migrationContext.PostponeCutOverFlagFile != "" {
765771
setIndicator := ""
766772
if base.FileExists(this.migrationContext.PostponeCutOverFlagFile) {

0 commit comments

Comments
 (0)