This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
worker not task should concern temporal directory to save the dumped files #893
Labels
Hacktoberfest
https://hacktoberfest.digitalocean.com/
help wanted
This issue wanted some help from contributor
type/feature-request
This issue is a feature request
Feature Request
Is your feature request related to a problem? Please describe:
ref: https://docs.pingcap.com/tidb-data-migration/dev/task-configuration-file-full
A task is a data migration job might scheduled to some worker, above is a slice of task configuration, we could see there's a
dir
in task configuration.But we do not know which worker this task will be run on. Different workers may be deployed in different environment, and
dir
is not general for all of them.Describe the feature you'd like:
Remove the
dir
item in task config.And add a temporal directory config item in worker config if need, or we only support saving in a directory by convention.
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
dm/dm/config/task.go
Line 321 in 84b12c5
dm/dm/worker/config.go
Line 68 in 84b12c5
dm/dm/config/subtask.go
Line 175 in 84b12c5
One implementation is move
dir
to 2. , and successfully initiate it in 3.The text was updated successfully, but these errors were encountered: