-
Notifications
You must be signed in to change notification settings - Fork 12
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
Feature/support large dml split #384
Conversation
5085f1c
to
c547adf
Compare
a69f4dc
to
c8dfdc5
Compare
fe0fc26
to
111fb05
Compare
Need more Unit Tests. |
741e189
to
83e7beb
Compare
@@ -193,27 +196,29 @@ func NewTabletServer(name string, config *tabletenv.TabletConfig, topoServer *to | |||
tsv.branchWatch = NewBranchWatcher(tsv, tsv.config.DB.DbaWithDB()) | |||
|
|||
tsv.onlineDDLExecutor = onlineddl.NewExecutor(tsv, alias, topoServer, tsv.lagThrottler, tabletTypeFunc, tsv.onlineDDLExecutorToggleTableBuffer) | |||
tsv.dmlJonController = jobcontroller.NewJobController("non_transactional_dml_jobs", tabletTypeFunc, tsv, tsv.lagThrottler) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace this magic string
} | ||
|
||
// todo,feat 可以增加并发Job数的限制 | ||
// 调用该函数时外部必须拿tableMutex锁和workingTablesMutex锁 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Users should be able to change the 'Job level concurrency'.
Need to add a parameter for it.
} | ||
} | ||
|
||
func (jc *JobController) tableGC(ctx context.Context, uuid, tableSchema, batchInfoTable, statusSetTime string) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should refer tableGC module.
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
…sed on single table, single int pk Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
…float and string Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
…old,userBatchSize) Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
…kip will not work Signed-off-by: newborn22 <[email protected]>
…bit sql without where clause and with limit or order by clause; Signed-off-by: newborn22 <[email protected]>
…uery after calling setQuery; replace sleep with ticker Signed-off-by: newborn22 <[email protected]>
…n creating batch table Signed-off-by: newborn22 <[email protected]>
…ast node instead of string operations Signed-off-by: newborn22 <[email protected]>
…base operation Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
…eclare unsupported PK type; fix failpolicy bugs Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
a5e3263
to
6dc0252
Compare
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
Signed-off-by: newborn22 <[email protected]>
…written to mysql from RFC3339 to Datetime Signed-off-by: newborn22 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Related Issue(s)
#403
Checklist