-
Notifications
You must be signed in to change notification settings - Fork 102
restore: merge tidb-tools/pkg/restore-util #146
Commits on Oct 21, 2019
-
restore-util: Implement split/scatter (pingcap#274)
* implement split/scatter Signed-off-by: 5kbpers <tangminghua@pingcap.com> * init test Signed-off-by: 5kbpers <tangminghua@pingcap.com> * redesign output/input of the lib Signed-off-by: 5kbpers <tangminghua@pingcap.com> * update dependency Signed-off-by: 5kbpers <tangminghua@pingcap.com> * add commments and more tests Signed-off-by: 5kbpers <tangminghua@pingcap.com> * add ScanRegions interface to Client Signed-off-by: 5kbpers <tangminghua@pingcap.com> * fix potential data race Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com> * Apply suggestions from code review Co-Authored-By: kennytm <kennytm@gmail.com> * Update pkg/restore-util/client.go Co-Authored-By: kennytm <kennytm@gmail.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com> * update dependency Signed-off-by: 5kbpers <tangminghua@pingcap.com> * resolve conflicts Signed-off-by: 5kbpers <tangminghua@pingcap.com> * fix prefix rewrite Signed-off-by: 5kbpers <tangminghua@pingcap.com> * add RewriteRule/skip failed scatter region/retry the SplitRegion Signed-off-by: 5kbpers <tangminghua@pingcap.com> * fix test Signed-off-by: 5kbpers <tangminghua@pingcap.com> * check if region has peer Signed-off-by: 5kbpers <tangminghua@pingcap.com> * more logs Signed-off-by: 5kbpers <tangminghua@pingcap.com>
Configuration menu - View commit details
-
Copy full SHA for 564a9ab - Browse repository at this point
Copy the full SHA 564a9abView commit details
Commits on Oct 30, 2019
-
restore-util: add split retry interval (pingcap#277)
* reset dependencies to release-3.1 * add split retry interval Signed-off-by: 5kbpers <tangminghua@pingcap.com> * fix go.sum Signed-off-by: 5kbpers <tangminghua@pingcap.com>
Configuration menu - View commit details
-
Copy full SHA for ee6e218 - Browse repository at this point
Copy the full SHA ee6e218View commit details
Commits on Nov 2, 2019
-
restore-util: wait for scatter region sequentially (pingcap#279)
* wait for scatter region sequentially Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com>
Configuration menu - View commit details
-
Copy full SHA for 97ba30e - Browse repository at this point
Copy the full SHA 97ba30eView commit details
Commits on Nov 6, 2019
-
restore-util: add on split hook (pingcap#281)
* restore-util: add on split hook Signed-off-by: Neil Shen <overvenus@gmail.com> * Nil check onSplit Co-Authored-By: kennytm <kennytm@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d5b0016 - Browse repository at this point
Copy the full SHA d5b0016View commit details
Commits on Nov 8, 2019
-
restore-util: fix returned new region is nil (pingcap#283)
* restore-util: fix returned new region is nil Signed-off-by: 5kbpers <tangminghua@pingcap.com> * more logs Signed-off-by: 5kbpers <tangminghua@pingcap.com> * *: gofmt Signed-off-by: 5kbpers <tangminghua@pingcap.com> * Apply suggestions from code review Co-Authored-By: kennytm <kennytm@gmail.com> * fix log Signed-off-by: 5kbpers <tangminghua@pingcap.com>
Configuration menu - View commit details
-
Copy full SHA for 64e57b3 - Browse repository at this point
Copy the full SHA 64e57b3View commit details
Commits on Nov 12, 2019
-
restore-util: call onSplit on splitByRewriteRules (pingcap#285)
Signed-off-by: Neil Shen <overvenus@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a32debb - Browse repository at this point
Copy the full SHA a32debbView commit details
Commits on Nov 26, 2019
-
restore-util: fix overlapped error message (pingcap#293)
* restore-util: fix overlapped error message Signed-off-by: 5kbpers <tangminghua@pingcap.com> * fix log message Signed-off-by: 5kbpers <tangminghua@pingcap.com> * reduce error trace Signed-off-by: 5kbpers <tangminghua@pingcap.com> * fix test Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com>
Configuration menu - View commit details
-
Copy full SHA for 72ddd22 - Browse repository at this point
Copy the full SHA 72ddd22View commit details
Commits on Dec 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 17315e7 - Browse repository at this point
Copy the full SHA 17315e7View commit details
Commits on Dec 17, 2019
-
restore-util: add method to set placement rules and store labels (pin…
…gcap#301) * restore-util: add method to set placement rules and store labels Signed-off-by: disksing <i@disksing.com> * minor fix Signed-off-by: disksing <i@disksing.com> * address comment Signed-off-by: disksing <i@disksing.com> * add GetPlacementRules Signed-off-by: disksing <i@disksing.com> * fix test Signed-off-by: disksing <i@disksing.com>
Configuration menu - View commit details
-
Copy full SHA for 9f9465b - Browse repository at this point
Copy the full SHA 9f9465bView commit details
Commits on Dec 18, 2019
-
restore-util: support batch split (pingcap#300)
* restore-util: support batch split Signed-off-by: 5kbpers <tangminghua@pingcap.com> * go fmt Signed-off-by: 5kbpers <tangminghua@pingcap.com> * Apply suggestions from code review Co-Authored-By: kennytm <kennytm@gmail.com> * address commits Signed-off-by: 5kbpers <tangminghua@pingcap.com> * Update pkg/restore-util/split.go Co-Authored-By: kennytm <kennytm@gmail.com> * add onSplit callback Signed-off-by: 5kbpers <tangminghua@pingcap.com> * fix test Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com>
Configuration menu - View commit details
-
Copy full SHA for b9ac458 - Browse repository at this point
Copy the full SHA b9ac458View commit details
Commits on Dec 23, 2019
-
restore-util: add upper bound time for waiting for scatter (pingcap#305)
* restore: fix scatter regions failed Signed-off-by: 5kbpers <tangminghua@pingcap.com> * add log Signed-off-by: 5kbpers <tangminghua@pingcap.com> * stop waiting for scatter after 3min Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com>
Configuration menu - View commit details
-
Copy full SHA for d1462ac - Browse repository at this point
Copy the full SHA d1462acView commit details
Commits on Dec 25, 2019
-
restore-util: fix wrong url (pingcap#306)
Signed-off-by: disksing <i@disksing.com>
Configuration menu - View commit details
-
Copy full SHA for bd126c4 - Browse repository at this point
Copy the full SHA bd126c4View commit details
Commits on Jan 8, 2020
-
restore-util: add warning about unmatched table id (pingcap#313)
* restore-util: support table partition Signed-off-by: 5kbpers <tangminghua@pingcap.com> * fix log Signed-off-by: 5kbpers <tangminghua@pingcap.com> * warn table id does not match Signed-off-by: 5kbpers <tangminghua@pingcap.com> * add unit tests Signed-off-by: 5kbpers <tangminghua@pingcap.com> * Apply suggestions from code review Co-Authored-By: Neil Shen <overvenus@gmail.com> * fix compile error Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com> * address comments Signed-off-by: 5kbpers <tangminghua@pingcap.com> * fix test Signed-off-by: 5kbpers <tangminghua@pingcap.com> Co-authored-by: Ian <ArGregoryIan@gmail.com> Co-authored-by: Neil Shen <overvenus@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e8ab896 - Browse repository at this point
Copy the full SHA e8ab896View commit details
Commits on Jan 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5b5f660 - Browse repository at this point
Copy the full SHA 5b5f660View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6087860 - Browse repository at this point
Copy the full SHA 6087860View commit details -
restore: address linters suggestions
Signed-off-by: Neil Shen <overvenus@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 23aa6f7 - Browse repository at this point
Copy the full SHA 23aa6f7View commit details -
restore: merge restoreutil into restore
Signed-off-by: Neil Shen <overvenus@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5f5a239 - Browse repository at this point
Copy the full SHA 5f5a239View commit details
Commits on Jan 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bafcbc1 - Browse repository at this point
Copy the full SHA bafcbc1View commit details