Skip to content

Commit

Permalink
util: Change the output dir of the PLAN REPLAYER to be temp_dir (#58228)
Browse files Browse the repository at this point in the history
close #55513
  • Loading branch information
mengxian-li authored Dec 20, 2024
1 parent bf7016d commit 220d5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/replayer/replayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ func generatePlanReplayerFileName(isCapture, isContinuesCapture, enableHistorica
// GetPlanReplayerDirName returns plan replayer directory path.
// The path is related to the process id.
func GetPlanReplayerDirName() string {
tidbLogDir := filepath.Dir(config.GetGlobalConfig().Log.File.Filename)
tidbLogDir := filepath.Dir(config.GetGlobalConfig().TempDir)
return filepath.Join(tidbLogDir, "replayer")
}

0 comments on commit 220d5cb

Please sign in to comment.