Skip to content

Commit

Permalink
drainer: remove deprecated syncer flash (pingcap#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzaku authored Nov 21, 2019
1 parent 72a15d4 commit a542825
Show file tree
Hide file tree
Showing 22 changed files with 8 additions and 2,123 deletions.
2 changes: 1 addition & 1 deletion cmd/drainer/drainer.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ enable-dispatch = true
safe-mode = false

# downstream storage, equal to --dest-db-type
# valid values are "mysql", "file", "tidb", "flash", "kafka"
# valid values are "mysql", "file", "tidb", "kafka"
db-type = "mysql"

# ignore syncing the txn with specified commit ts to downstream
Expand Down
2 changes: 0 additions & 2 deletions drainer/checkpoint/checkpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ func NewCheckPoint(cfg *Config) (CheckPoint, error) {
cp, err = newMysql(cfg)
case "file":
cp, err = NewFile(cfg)
case "flash":
cp, err = newFlash(cfg)
default:
err = errors.Errorf("unsupported checkpoint type %s", cfg.CheckpointType)
}
Expand Down
190 changes: 0 additions & 190 deletions drainer/checkpoint/flash.go

This file was deleted.

122 changes: 0 additions & 122 deletions drainer/checkpoint/flash_test.go

This file was deleted.

Loading

0 comments on commit a542825

Please sign in to comment.