ddl: refine active-active corner cases | tidb-test=feature/active-active #65827
ddl: refine active-active corner cases | tidb-test=feature/active-active #65827ti-chi-bot[bot] merged 4 commits intopingcap:feature/active-activefrom
Conversation
1. show create table should append partdef after TTL and softdelete/active-active 2. build active-active/softdelete columns earlier for user defined indexes 3. _tidb_origin_ts should be unsigned 4. allow user define softdelete column but still forbidden when softdelete info != null Signed-off-by: xhe <xw897002528@gmail.com>
|
Hi @xhebox. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## feature/active-active #65827 +/- ##
==========================================================
Coverage ? 71.8595%
==========================================================
Files ? 1851
Lines ? 503020
Branches ? 0
==========================================================
Hits ? 361468
Misses ? 117349
Partials ? 24203
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
pkg/ddl/create_table.go
Outdated
| // User-defined internal column must match expected type. | ||
| expected := model.NewExtraSoftDeleteTimeColInfo().FieldType | ||
| col := model.FindColumnInfo(tbInfo.Columns, model.ExtraSoftDeleteTimeName.L) | ||
| if col.FieldType.GetType() != expected.GetType() || col.FieldType.GetFlen() != expected.GetFlen() || col.FieldType.GetDecimal() != expected.GetDecimal() { |
There was a problem hiding this comment.
To apply checkInternalColumnFieldTypeMatch here?
|
/retest |
|
@xhebox: PRs from untrusted users cannot be marked as trusted with DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/retest |
|
@xhebox: PRs from untrusted users cannot be marked as trusted with DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
|
/retest |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lcwangchao, YangKeao The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
f687417
into
pingcap:feature/active-active
What problem does this PR solve?
Issue Number: close #64281
Problem Summary:
softdelete/active-active
indexes
softdelete info != null
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.