Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ddl: Remove the EncodeRecordKey call and add more log message #1715

Merged
merged 4 commits into from
Sep 12, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ddl: update log
  • Loading branch information
zimulala committed Sep 12, 2016
commit 1a1be6ace75d0594777290f698e13e04c5f4ff83
2 changes: 1 addition & 1 deletion ddl/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func (d *ddl) getSnapshotRows(t table.Table, version uint64, seekHandle int64) (

func (d *ddl) backfillTableIndex(t table.Table, indexInfo *model.IndexInfo, handles []int64, reorgInfo *reorgInfo) error {
kvX := tables.NewIndex(t.Meta(), indexInfo)
log.Infof("[ddl] backfill index rows %v", len(handles))
log.Infof("[ddl] backfill index %v rows ", len(handles))

for _, handle := range handles {
log.Debug("[ddl] backfill index...", handle)
Expand Down
2 changes: 1 addition & 1 deletion ddl/reorg.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (d *ddl) delKeysWithPrefix(prefix kv.Key, jobType JobType) error {
}
}

log.Infof("[ddl] delete keys %v with prefix %q", len(keys), prefix)
log.Infof("[ddl] delete %v keys with prefix %q", len(keys), prefix)
for _, key := range keys {
err := txn.Delete(key)
// must skip ErrNotExist
Expand Down