Skip to content

Commit

Permalink
drainer: remove deprecated syncer flash (#812) (#897)
Browse files Browse the repository at this point in the history
Co-authored-by: satoru <satorulogic@gmail.com>
  • Loading branch information
july2993 and suzaku authored Feb 13, 2020
1 parent 668ec05 commit b49c75c
Show file tree
Hide file tree
Showing 22 changed files with 8 additions and 2,133 deletions.
2 changes: 1 addition & 1 deletion cmd/drainer/drainer.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ disable-dispatch = false
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 @@ -54,8 +54,6 @@ func NewCheckPoint(cfg *Config) (CheckPoint, error) {
cp, err = newMysql(cfg)
case "file":
cp, err = NewFile(cfg.InitialCommitTS, cfg.CheckPointFile)
case "flash":
cp, err = newFlash(cfg)
default:
err = errors.Errorf("unsupported checkpoint type %s", cfg.CheckpointType)
}
Expand Down
200 changes: 0 additions & 200 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 b49c75c

Please sign in to comment.