*: Reorg part update table#40714
*: Reorg part update table#40714ti-chi-bot merged 946 commits intopingcap:feature/reorganize-partitionfrom
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/retest |
…nto reorg-part-update-table
| } | ||
| case model.ActionReorganizePartition: | ||
| for _, def := range t.PartInfo.Definitions { | ||
| // TODO: Should we trigger analyze instead of adding 0s? |
There was a problem hiding this comment.
So this will just write stats as all zeros / empty table/indexes. Preferably I think it should trigger stats on the new partitions, including their indexes as well as update the global stats. And also wait for all this during the DeleteReorganization phase, so stats are up-to-date when going to StatePublic where the stats will be needed.
|
PTAL @wjhuang2016 @tangenta |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 0cb356f |
What problem does this PR solve?
PR on top of #40543 so looks bigger than it is.
Implementing Reorganize Partition specifics of Update Table (+ updated test)
Issue Number: close #38535
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.