Skip to content

Commit

Permalink
lightning: fix merge conflict
Browse files Browse the repository at this point in the history
Signed-off-by: kennytm <[email protected]>
  • Loading branch information
kennytm committed Jun 4, 2024
1 parent 7a25fab commit 13800a2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 316 deletions.
4 changes: 0 additions & 4 deletions br/pkg/lightning/common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,7 @@ go_test(
],
embed = [":common"],
flaky = True,
<<<<<<< HEAD:br/pkg/lightning/common/BUILD.bazel
shard_count = 21,
=======
shard_count = 29,
>>>>>>> 555ce023522 (lightning: Don't log "received task config" in server mode (#52336)):pkg/lightning/common/BUILD.bazel
deps = [
"//br/pkg/errors",
"//br/pkg/lightning/log",
Expand Down
3 changes: 0 additions & 3 deletions br/pkg/lightning/common/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,6 @@ func GetAutoRandomColumn(tblInfo *model.TableInfo) *model.ColumnInfo {
}
return nil
}
<<<<<<< HEAD:br/pkg/lightning/common/util.go
=======

// GetDropIndexInfos returns the index infos that need to be dropped and the remain indexes.
func GetDropIndexInfos(
Expand Down Expand Up @@ -622,4 +620,3 @@ func IsRaftKV2(ctx context.Context, db *sql.DB) (bool, error) {
}
return false, rows.Err()
}
>>>>>>> 555ce023522 (lightning: Don't log "received task config" in server mode (#52336)):pkg/lightning/common/util.go
5 changes: 0 additions & 5 deletions br/pkg/lightning/lightning.go
Original file line number Diff line number Diff line change
Expand Up @@ -693,12 +693,7 @@ func (l *Lightning) handlePostTask(w http.ResponseWriter, req *http.Request) {
writeJSONError(w, http.StatusBadRequest, "cannot read request", err)
return
}
<<<<<<< HEAD:br/pkg/lightning/lightning.go
filteredData := utils.HideSensitive(string(data))
log.L().Info("received task config", zap.String("content", filteredData))
=======
log.L().Info("received task config")
>>>>>>> 555ce023522 (lightning: Don't log "received task config" in server mode (#52336)):lightning/pkg/server/lightning.go

cfg := config.NewConfig()
if err = cfg.LoadFromGlobal(l.globalCfg); err != nil {
Expand Down
304 changes: 0 additions & 304 deletions pkg/lightning/common/util_test.go

This file was deleted.

0 comments on commit 13800a2

Please sign in to comment.