Skip to content
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

ddl: Added tests for Reorganize Partition with TiFlash #42082

Merged
merged 214 commits into from
May 15, 2023

Commits on Oct 3, 2022

  1. Configuration menu
    Copy the full SHA
    cddba93 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Configuration menu
    Copy the full SHA
    4013303 View commit details
    Browse the repository at this point in the history
  2. Fixed tests

    mjonss committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    a8a0d2c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ada652 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. WIP reorganize partition

    mjonss committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    2458678 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7437c5 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. WIP starting to work \o/

    mjonss committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    6bc2909 View commit details
    Browse the repository at this point in the history
  2. Updated test

    mjonss committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    9adfd25 View commit details
    Browse the repository at this point in the history
  3. Test update

    mjonss committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    5356f77 View commit details
    Browse the repository at this point in the history
  4. Fixed some issues

    Currently the last test case fails, so it is disabled.
    
    It seems like it tries to read data from the wrong partition...
    mjonss committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    913e503 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2022

  1. Lint fix

    mjonss committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    f42852f View commit details
    Browse the repository at this point in the history
  2. Fixed linting

    mjonss committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    20a98ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2bfe6dd View commit details
    Browse the repository at this point in the history
  4. Fixed linting

    mjonss committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    dad8b4f View commit details
    Browse the repository at this point in the history
  5. cleanups

    mjonss committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    cccbe8b View commit details
    Browse the repository at this point in the history
  6. Fix for modify column

    mjonss committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    978afda View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Test passes

    mjonss committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    75c94ed View commit details
    Browse the repository at this point in the history
  2. Updated test

    mjonss committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    9e3bdf8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de8cce8 View commit details
    Browse the repository at this point in the history
  4. lint fix

    mjonss committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    be7643f View commit details
    Browse the repository at this point in the history
  5. Tested LIST partitioning

    mjonss committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    aa859a2 View commit details
    Browse the repository at this point in the history
  6. lint fixes

    mjonss committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    ea6354f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    38c6d09 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. First part of REORGANIZE PARTITION, implementing data/index copying

    Merge commit '38c6d09493cb632bbe179aabca4d973e8ccb56eb' into reorg-part-data-reorg
    mjonss committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    b39dacc View commit details
    Browse the repository at this point in the history
  2. Merge master into feature branch (pingcap#38463)

    * mockkv: make pk id = -1 if no primary key column is used (pingcap#38443)
    
    * ddl: support modify column on partitioned table (pingcap#38302)
    
    close pingcap#38297
    
    * planner: revise isnullRejected check for `And` and `OR` (pingcap#38430)
    
    close pingcap#38304
    
    Co-authored-by: xiongjiwei <[email protected]>
    Co-authored-by: Song Gao <[email protected]>
    3 people authored Oct 13, 2022
    Configuration menu
    Copy the full SHA
    0d316ef View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-data-reorg
    mjonss committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    a49abe0 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2022

  1. Code cleanups

    mjonss committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    3d72072 View commit details
    Browse the repository at this point in the history
  2. Cleaned up an issue with 38302

    mjonss committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    6bd0fe1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    711f5d5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c22c96 View commit details
    Browse the repository at this point in the history
  5. lint, sorting imports

    mjonss committed Oct 16, 2022
    Configuration menu
    Copy the full SHA
    8d1986b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8a62b26 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. Configuration menu
    Copy the full SHA
    173a3b9 View commit details
    Browse the repository at this point in the history
  2. Removed non needed type assert

    mjonss committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    631672c View commit details
    Browse the repository at this point in the history
  3. fixed compilation issue

    mjonss committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    6ec104f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    262ba3e View commit details
    Browse the repository at this point in the history
  5. formatting

    mjonss committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    1919a58 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    19a1e54 View commit details
    Browse the repository at this point in the history
  7. Enabled test

    mjonss committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    b31beda View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    743fe47 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Moved TiFlash check

    mjonss committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    130a148 View commit details
    Browse the repository at this point in the history
  2. Fixed typo in function name

    mjonss committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    6b64a9d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0be7320 View commit details
    Browse the repository at this point in the history
  4. fixed linting

    mjonss committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    de23b9d View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2022

  1. Configuration menu
    Copy the full SHA
    ece2444 View commit details
    Browse the repository at this point in the history
  2. Added test case

    mjonss committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    d79a24b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    30739fb View commit details
    Browse the repository at this point in the history
  4. linting

    mjonss committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    1d1fb20 View commit details
    Browse the repository at this point in the history
  5. linting

    mjonss committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    12db9a6 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. Configuration menu
    Copy the full SHA
    53c4a0f View commit details
    Browse the repository at this point in the history
  2. temporary disabled wip test

    mjonss committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    184b6d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Configuration menu
    Copy the full SHA
    2b8c979 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-data-reorg
    mjonss committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    3f16048 View commit details
    Browse the repository at this point in the history
  3. Added typeReorgPartitionWorker back to adjustWorkerSize

    It got lost in the merge
    mjonss committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    d02aa9a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc0fc1e View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-partition-double-write
    mjonss committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    880c148 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d3fcc49 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cefae62 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3c460dd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3fc4988 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. Configuration menu
    Copy the full SHA
    dce19dd View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

  1. Configuration menu
    Copy the full SHA
    4b254e7 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. Configuration menu
    Copy the full SHA
    6f3d0be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f290f44 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e76348 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. Configuration menu
    Copy the full SHA
    eb2ae23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2d8aa0 View commit details
    Browse the repository at this point in the history
  3. linting issues

    mjonss committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    82dcbb1 View commit details
    Browse the repository at this point in the history
  4. Linting

    mjonss committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    fd331c9 View commit details
    Browse the repository at this point in the history
  5. Lint found a potential bug

    mjonss committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    e60de33 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f6ac390 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a50069b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    aec9e7c View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. minor fixes and linting

    mjonss committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    64ec7ef View commit details
    Browse the repository at this point in the history
  2. Removed empty lines

    mjonss committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    1a3bc69 View commit details
    Browse the repository at this point in the history
  3. removed an empty line

    mjonss committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    62ac719 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e526cca View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. Configuration menu
    Copy the full SHA
    624ed8c View commit details
    Browse the repository at this point in the history
  2. Fixed DeleteOnly state

    mjonss committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    d8041d5 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. fixed unreachable code

    mjonss committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    b494e76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f4a50d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a5410f View commit details
    Browse the repository at this point in the history
  4. Added a comment

    mjonss committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    b33cddf View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Configuration menu
    Copy the full SHA
    0c9faa4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6dbd11 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-data-reorg
    mjonss committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    c1d9db3 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-partition-double-write
    mjonss committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    e292370 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b395d22 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5bb311a View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2022

  1. Configuration menu
    Copy the full SHA
    3ed74cc View commit details
    Browse the repository at this point in the history
  2. linting

    mjonss committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    e3d9fb3 View commit details
    Browse the repository at this point in the history
  3. Updated comments

    mjonss committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    3e9c95b View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. Configuration menu
    Copy the full SHA
    f99fe0b View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2022

  1. Updated comment

    mjonss committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    8bb7049 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a974efc View commit details
    Browse the repository at this point in the history
  3. Fixed deletion of PD rule for TiFlash after Reorg Partition

    and also better progress during partitioned DDL,
    
    and more assertion
    mjonss committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    768493f View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. Configuration menu
    Copy the full SHA
    c047d1e View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-data-reorg
    mjonss committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    0426cda View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-partition-double-write
    mjonss committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    d8d260e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47c0c0c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1dd12ec View commit details
    Browse the repository at this point in the history
  4. ci debugging

    mjonss committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    caed970 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Linting

    mjonss committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    5a60f7e View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Configuration menu
    Copy the full SHA
    85257f3 View commit details
    Browse the repository at this point in the history
  2. Removed CI debug log

    mjonss committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    273e7e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b086421 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74fa4c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b0c16cd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    73dcf5a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0accdd8 View commit details
    Browse the repository at this point in the history
  8. Fixed nil session context

    mjonss committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    8c914b0 View commit details
    Browse the repository at this point in the history
  9. Cleanup

    mjonss committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    0678894 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3a1adcd View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2022

  1. Configuration menu
    Copy the full SHA
    f23a27a View commit details
    Browse the repository at this point in the history
  2. Added one more CI debug line

    mjonss committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    ecb7f50 View commit details
    Browse the repository at this point in the history
  3. Update ddl/partition.go

    Co-authored-by: tangenta <[email protected]>
    mjonss and tangenta authored Dec 22, 2022
    Configuration menu
    Copy the full SHA
    985b5ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bfd5e66 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0b0c7ec View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b7e590c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1e0d902 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    60a956b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    eb6fec9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3438e00 View commit details
    Browse the repository at this point in the history
  11. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-merge-dec22
    mjonss committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    251a69a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0a275d6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2e5b311 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    fa2a2ba View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-data-reorg
    mjonss committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    0eab90d View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-partition-double-write
    mjonss committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    060f189 View commit details
    Browse the repository at this point in the history
  3. post merge fix, removed test

    mjonss committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    5632e4a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7c093a2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c27499e View commit details
    Browse the repository at this point in the history
  6. Merge fix

    mjonss committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    4702033 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3112178 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dfd9dae View commit details
    Browse the repository at this point in the history
  9. Linting

    mjonss committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    a9c528c View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2022

  1. updateTable CI testing

    mjonss committed Dec 24, 2022
    Configuration menu
    Copy the full SHA
    6ad990a View commit details
    Browse the repository at this point in the history
  2. More CI debugging

    mjonss committed Dec 24, 2022
    Configuration menu
    Copy the full SHA
    658f9a6 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2022

  1. Even more CI debugs...

    mjonss committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    9d55834 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40edc9e View commit details
    Browse the repository at this point in the history
  3. more CI debugging

    mjonss committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    34c03ad View commit details
    Browse the repository at this point in the history
  4. Linting

    mjonss committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    bcf8ef1 View commit details
    Browse the repository at this point in the history
  5. more CI debug

    mjonss committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    ff8bd3c View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2022

  1. Configuration menu
    Copy the full SHA
    3e2ca84 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2022

  1. More CI debug...

    mjonss committed Dec 27, 2022
    Configuration menu
    Copy the full SHA
    cf56bf9 View commit details
    Browse the repository at this point in the history
  2. More CI debug

    mjonss committed Dec 27, 2022
    Configuration menu
    Copy the full SHA
    22261a0 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2022

  1. Configuration menu
    Copy the full SHA
    25df00e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b259112 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'pingcap/master' into feature-reorganize…

    …-partition-merge-dec30
    mjonss committed Dec 30, 2022
    Configuration menu
    Copy the full SHA
    94b65bd View commit details
    Browse the repository at this point in the history
  4. Post merge fixes

    mjonss committed Dec 30, 2022
    Configuration menu
    Copy the full SHA
    7ef86c3 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'feature-reorganize-partition-merge-dec30' into reorg-pa…

    …rt-rollback-merge-dec30
    mjonss committed Dec 30, 2022
    Configuration menu
    Copy the full SHA
    7e2fa6c View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2022

  1. Configuration menu
    Copy the full SHA
    ca03f9c View commit details
    Browse the repository at this point in the history
  2. Removed debug logs

    mjonss committed Dec 31, 2022
    Configuration menu
    Copy the full SHA
    9ac5dff View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2023

  1. Configuration menu
    Copy the full SHA
    114b690 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-rollback
    mjonss committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    1e99fa4 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Configuration menu
    Copy the full SHA
    ef7c8bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb033f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a14d11 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf8f683 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4ae9e6d View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-merge-jan10
    mjonss committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    34d9352 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    eb3df8b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ac6f869 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d3444e6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    805553a View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. Configuration menu
    Copy the full SHA
    6e220cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b32037 View commit details
    Browse the repository at this point in the history
  3. Post merge fix

    mjonss committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    4b6f0ca View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d041912 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    88f5ff8 View commit details
    Browse the repository at this point in the history
  6. Post merge fix

    mjonss committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    bd7c905 View commit details
    Browse the repository at this point in the history
  7. Post merge fix

    mjonss committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    8bc3503 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5c71c3d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8a97633 View commit details
    Browse the repository at this point in the history
  10. Removed non needed cast

    mjonss committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    a3b77df View commit details
    Browse the repository at this point in the history
  11. bazel_prepare update

    mjonss committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    e2b4ca5 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2023

  1. Configuration menu
    Copy the full SHA
    a0229ea View commit details
    Browse the repository at this point in the history
  2. *: Merge master into feature/reorganize-partition branch (pingcap#40480)

    * br: add retry for azblob read file (pingcap#39650)
    
    close pingcap#39649
    
    * copr: fix data race in the mppIterator (pingcap#39772)
    
    close pingcap#39771
    
    * testkit: set GOMAXPROCS in test (pingcap#39766)
    
    * statistics: support download history stats from stats_history (pingcap#39701)
    
    * *:  Support Failed-Login Tracking and Temporary Account Locking (pingcap#39322)
    
    close pingcap#38938
    
    * ddl: mark the writes from delete-only and drop them on merge (pingcap#39796)
    
    close pingcap#39731
    
    * fix: update ioutil func&pruning case (pingcap#39798)
    
    * dumpling: meter network usage (pingcap#39774)
    
    close pingcap#39674
    
    * staleread: fix flaky test TestStaleReadProcessorWithExecutePreparedStmt (pingcap#39805)
    
    close pingcap#39804
    
    * domain: fix data race in the MockInfoCacheAndLoadInfoSchema (pingcap#39802)
    
    close pingcap#39801
    
    * *: upgrade rules_go (pingcap#39797)
    
    * *: Add backfill job related tables and operations  (pingcap#39616)
    
    close pingcap#37122
    
    * ttl: implement ttl job schedule framework (pingcap#39472)
    
    close pingcap#39471
    
    * *: stable tiflash test in ddl (pingcap#39825)
    
    close pingcap#39831
    
    * planner: fix index prefix matching (pingcap#39377)
    
    close pingcap#14581
    
    * parser: add cast to array and member of support (pingcap#39820)
    
    close pingcap#39821
    
    * fix: update ioutil.readall (pingcap#39850)
    
    * planner:  add three fields to statement summary table (pingcap#39828)
    
    ref pingcap#39199
    
    * ddl: fix unexpect fail when create expression index (pingcap#39822)
    
    close pingcap#39784
    
    * ttl: ouput TTL comment format when show create table (pingcap#39853)
    
    close pingcap#39852
    
    * dumpling: add enable paging for tidb server (pingcap#39791)
    
    close pingcap#39790
    
    * planner: support explain format='cost_trace' on model ver2 (pingcap#39840)
    
    ref pingcap#35240
    
    * ttl, variables: add system variables for ttl job schedule (pingcap#39727)
    
    close pingcap#39725
    
    * *: fix slow query nil pointer panic when get session for TTL (pingcap#39865)
    
    close pingcap#39864
    
    * ttl: Add metrics for TTL (pingcap#39849)
    
    close pingcap#39848
    
    * statistics: support gc outdated historical stats (pingcap#39788)
    
    * planner: rename `general plan cache` to `non-prepared plan cache` (pingcap#39873)
    
    * planner: rename 'tidb_enable_general_plan_cache' and 'tidb_general_plan_cache_size' to 'tidb_enable_non_prepared_plan_cache' and 'tidb_non_prepared_plan_cache_size'
    
    * planner: binding from cluster statements summary (pingcap#39737)
    
    ref pingcap#39199
    
    * ttl: modify default value of `tidb_ttl_delete_batch_size` to 100 (pingcap#39878)
    
    close pingcap#39877
    
    * ddl: close lightning writers after the import is complete (pingcap#39879)
    
    close pingcap#39800
    
    * store/copr: handle region error from client (pingcap#39838)
    
    ref pingcap#39361
    
    * ttl: fix scan workers shrink (pingcap#39860)
    
    close pingcap#39859
    
    * docs: fix typos (pingcap#39870)
    
    * domain: support dump sql meta in plan replayer (pingcap#39863)
    
    close pingcap#39883
    
    * SlowLog: Update `Wait_TS` field in slow log for every sql  (pingcap#39843)
    
    close pingcap#39713
    
    * session: fix a bug for InitDDLJobTables (pingcap#39861)
    
    ref pingcap#39854
    
    * ttl: reschedule scan tasks after update task state (pingcap#39891)
    
    close pingcap#39890
    
    * ttl: TTL support split scan ranges for some primary key with more than one columns (pingcap#39896)
    
    close pingcap#39895
    
    * *: add dependabot (pingcap#39229)
    
    * expression: support `json_overlaps` function (pingcap#39867)
    
    ref pingcap#39866
    
    * executor, planner: `InitLogger` before `CreateMockStore` in tests to avoid data race (pingcap#39900)
    
    close pingcap#39892
    
    * statistics: add source column for stats_meta_hisotry table (pingcap#39835)
    
    * ttl: fix ttl txn will not return error when rolling back (pingcap#39918)
    
    close pingcap#39917
    
    * expression: close recordset (pingcap#39899)
    
    * br: make more sane variables of ticking timeout (pingcap#39887)
    
    close pingcap#39620
    
    * expression: support `member of` function (pingcap#39880)
    
    ref pingcap#39866
    
    * br: fix err overwrite (pingcap#39935)
    
    close pingcap#39934
    
    * ttl: add log in the whole lifecycle of a job (pingcap#39931)
    
    close pingcap#39930
    
    * ttl: use optimistic transaction with 0 retry limit for ttl (pingcap#39924)
    
    close pingcap#39923
    
    * ttl: periodically update state for a job in heartbeat (pingcap#39939)
    
    close pingcap#39938
    
    * parser: support syntax set binding status by sql digest  (pingcap#39515)
    
    ref pingcap#39199
    
    * *: lock row keys during merging back from temp index (pingcap#39936)
    
    close pingcap#39929
    
    * ttl: initialize notifyStateCh in ttl job manager (pingcap#39956)
    
    close pingcap#39955
    
    * domain, statistics: periodically update stats healthy distribution (pingcap#39739)
    
    close pingcap#39349
    
    * ttl: enable 1pc for ttl delete (pingcap#39958)
    
    close pingcap#39957
    
    * docs/design: format the name of 'Adding-Index-Acceleration' RFC. (pingcap#39952)
    
    * *: fix auto analyze worker crash when killed by global memory limit (pingcap#39946)
    
    close pingcap#39947
    
    * doc: add a proposal for foreign key (pingcap#35982)
    
    * domain: Support plan replayer continus capture (pingcap#39926)
    
    * expression, json: fix cast json as string with shorter length (pingcap#39970)
    
    close pingcap#39963
    
    * sessionctx, executor: fix failure of reading MaxPreparedStmtCount (pingcap#39736)
    
    close pingcap#39735
    
    * resourcemanger: create cpu monitor  (pingcap#39962)
    
    ref pingcap#39657
    
    * *: prevent cursor read from being cancelled by GC (pingcap#39950)
    
    close pingcap#39447
    
    * dumpling: supports foreign key limitations (pingcap#39914)
    
    close pingcap#39913
    
    * build(deps): bump golang.org/x/net from 0.2.0 to 0.4.0 (pingcap#39996)
    
    * planner: fix pessimistic-auto-commit not working for point plans (pingcap#39993)
    
    close pingcap#39928
    
    * fix: ebs volume restore failure since incorrect unfinished volumes (pingcap#39975)
    
    close pingcap#39974
    
    * planner, json: restore cast flag after substitute column in cast (pingcap#39997)
    
    close pingcap#39806
    
    * staleread, session: internal write request should be accepted with external ts (pingcap#39967)
    
    close pingcap#39966
    
    * *: revert 38302, forbid modify column on partition table (pingcap#39991)
    
    ref pingcap#39915, ref pingcap#39922
    
    * executor: close recordset again (pingcap#40010)
    
    * ddl: retry prepare RPC when meets region error (pingcap#39834)
    
    close pingcap#39836
    
    * metrics: add EMA cpu usage (pingcap#39995)
    
    close pingcap#40029
    
    * executor: fix unstable TestMaxPreparedStmtCount (pingcap#40024)
    
    ref pingcap#39735
    
    * *: support sample for compressed files for adjustment (pingcap#39680)
    
    ref pingcap#38514
    
    * docs: fix 'enable_global_index' to 'enable-global-index' (pingcap#40009)
    
    * expression: introduce `cast(... as ... array)` in expression index (pingcap#39992)
    
    close pingcap#40045
    
    * planner: fix the issue that NonPrep Cache cannot work with Explain well (pingcap#40044)
    
    close pingcap#40039
    
    * ddl: fix waiting for wrong schema version if TiDB server restart (pingcap#39985)
    
    close pingcap#39981
    
    * *: Fix issue 39999, used wrong column id list for checking partitions (pingcap#40003)
    
    close pingcap#39999
    
    * oomtest: add whitelist for oom test to fix flaky test (pingcap#40055)
    
    close pingcap#40054
    
    * *: extend skyline pruning diagnostic info and add extra warnings (pingcap#39894)
    
    ref pingcap#39893
    
    * ddl: add privilege check when alter table add foreign key (pingcap#40051)
    
    close pingcap#40050
    
    * planner: add more test cases for non-prep plan cache (pingcap#40060)
    
    * sessionctx: disable gc aware memory track (pingcap#40019)
    
    close pingcap#39971
    
    * *: make auto-analyze killable by global memory limit (pingcap#39978)
    
    ref pingcap#39971, close pingcap#39994
    
    * cpu: fix ticker to avoid close early (pingcap#40036)
    
    ref pingcap#40029
    
    * build(deps): bump golang.org/x/time from 0.2.0 to 0.3.0 (pingcap#39912)
    
    * ddl: use latest ts to read record for adding index (pingcap#40081)
    
    close pingcap#40074
    
    * executor: close recordset again (pingcap#40073)
    
    * planner: add more test cases for MPP hints (pingcap#39933)
    
    * planner: support set binding status by sql digest (pingcap#39517)
    
    ref pingcap#39199
    
    * ddl: check the limitation when creating multi-valued index  (pingcap#39818)
    
    close pingcap#40086
    
    * sysvar: allow modifying 'tidb_allow_remove_auto_inc' when SEM is ON (pingcap#40083)
    
    close pingcap#38238
    
    * *: fix issue of multi-schema change with foreign key (pingcap#40042)
    
    close pingcap#40037
    
    * planner: check the `ignore-plan-cache` hint in insert-stmt (pingcap#40080)
    
    ref pingcap#39717, close pingcap#40079
    
    * parser: support keep_order and no_keep_order hint (pingcap#39965)
    
    ref pingcap#39964
    
    * *: filter particularly errors when `truncateAsWarning` is true (pingcap#40078)
    
    * metrics: add metrics for ema cpu metrics and GOGC (pingcap#40049)
    
    close pingcap#40092
    
    * server: avoid reusing cached stmt ctx on cursor read (pingcap#40023)
    
    close pingcap#39998
    
    * *: optimize mpp probe (pingcap#39932)
    
    close pingcap#39686
    
    * statistics: fix the sync load sql did'nt running internally (pingcap#40087)
    
    close pingcap#39511
    
    * server: support download plan replayer continues capture file (pingcap#40085)
    
    * *: support foreign key check/cascade when execute replace into statement (pingcap#40069)
    
    close pingcap#40068
    
    * ddl: fix issue of add foreign key too slow in big table (pingcap#40112)
    
    close pingcap#40111
    
    * ddl: fix issue of partition table with foreign key and add more test case (pingcap#40122)
    
    * parser: fix cast function restore (pingcap#40129)
    
    close pingcap#40130
    
    * ddl: set context correctly in the setDDLLabelForDiagnosis (pingcap#40090)
    
    close pingcap#40099
    
    * planner: move code of generating IndexMergePath to a separated file (pingcap#40134)
    
    * statistics: fix incorrect datetime value when loading stats (pingcap#40084)
    
    close pingcap#39336
    
    * ttl: escape parameters for finish job sql (pingcap#40118)
    
    close pingcap#40115
    
    * ddl: prohibit change name of partitioning column (pingcap#40147)
    
    close pingcap#40135
    
    * lightning: disable foreign key checks (pingcap#40032)
    
    close pingcap#40027
    
    * br: recursive split batch create table when restore failure on batch create table (pingcap#39829)
    
    close pingcap#39029
    
    * store/copr: don't reset concurrency of analyze req to 2 (pingcap#40168)
    
    close pingcap#40162
    
    * build(deps): bump golang.org/x/oauth2 from 0.2.0 to 0.3.0 (pingcap#40140)
    
    * domain: revise plan replayer process log (pingcap#40126)
    
    * expression: impl cast as array function (pingcap#40076)
    
    close pingcap#40128
    
    * session: fix tidb_enable_gc_aware_memory_track after upgrade (pingcap#40173)
    
    ref pingcap#39971, close pingcap#40174
    
    * restore: Fix prealloc (pingcap#40176)
    
    close pingcap#40177
    
    * metrics: remove Keep Alive OPM metric (pingcap#40142)
    
    close pingcap#40143
    
    * util: fix data race in the cpu test (pingcap#40154)
    
    close pingcap#40125
    
    * executor: move some test into writetest  (pingcap#40097)
    
    * planner: fix an unstable explain test case  (pingcap#40199)
    
    ref pingcap#35240
    
    * ddl: Refine the error message to compatible with MySQL when drop a partition table partition key column (pingcap#38740)
    
    close pingcap#38739
    
    * executor: TiFlash supports stale read (pingcap#40048)
    
    close pingcap#40047
    
    * ddl: ignore internal http client goroutine in leak tests (pingcap#40190)
    
    close pingcap#40183
    
    * ddl: add more foreign key test case (pingcap#40052)
    
    close pingcap#40189
    
    * *: add support for -initialize-sql-file on first bootstrap (pingcap#35625)
    
    close pingcap#35624
    
    * *: fix PointGet will return an stale value when `tidb_enable_plan_replayer_capture` is set (pingcap#40197)
    
    close pingcap#40194
    
    * planner: support converting `json_member_of` to IndexMerge to access MVIndex (pingcap#40175)
    
    ref pingcap#40191
    
    * planner: record reasons when skipping Plan Cache (pingcap#40210)
    
    * session: Do not run telemetry loops when it's disabled in config (pingcap#40156)
    
    close pingcap#40155
    
    * docs/design: REORGANIZE PARTITION design (pingcap#38246)
    
    ref pingcap#15000, ref pingcap#15002
    
    * ddl: Disable RENAME COLUMN for partitioning columns | tidb-test=pr/2054 (pingcap#40151)
    
    close pingcap#40150
    
    * dumpling: add foreign key e2e test (pingcap#40133)
    
    close pingcap#40227
    
    * ttl: make the TTL compatible with dumpling, lightning and BR  (pingcap#40216)
    
    close pingcap#40215
    
    * ttl, domain: setup a customized session pool with stats collector (pingcap#40171)
    
    close pingcap#40109
    
    * ddl: Support flashback cluster with ddl history (pingcap#40209)
    
    ref pingcap#40026
    
    * lightning: add foreign key test (pingcap#40103)
    
    close pingcap#40226
    
    * planner: refine planner code for disaggregated tiflash mode (pingcap#39813)
    
    close pingcap#39814
    
    * docs: update tidb roadmap based on v6.5 (pingcap#40170)
    
    * planner: remove the unnecessary skip-plan-cache flag in StmtCtx (pingcap#40235)
    
    * ttl: fix change status sql argument (pingcap#40234)
    
    close pingcap#40231
    
    * planner: update the plan cache strategy when expressions with parameters affect null-check (pingcap#40218)
    
    close pingcap#38205, close pingcap#40093
    
    * go.mod: upgrade badger to 20221229114011 (pingcap#40236)
    
    close pingcap#39237
    
    * executor: write multi-valued index (pingcap#40172)
    
    close pingcap#40207
    
    * expression: implement `unhex` function pushdown to tiflash (pingcap#39898)
    
    ref pingcap#5112, ref pingcap/tiflash#5112
    
    * planner: remove the unnecessary skip-plan-cache flag in StmtCtx (pingcap#40246)
    
    * restore: set config value to default when failed to get config from tikv (pingcap#36051)
    
    close pingcap#36053
    
    * ddl: check default value again in updateColumnDefaultValue (pingcap#40230)
    
    close pingcap#40164
    
    * docs: update roadmap (pingcap#40244)
    
    * *: remove the support of the old ddl framework (pingcap#39684)
    
    ref pingcap#39824
    
    * lightning: check peers write stall when switch-mode is disabled (pingcap#40228)
    
    close pingcap#40163
    
    * ddl, parser: make generated column and expression index same as MySQL (pingcap#39888)
    
    close pingcap#39826
    
    * session: make plan replayer capture support prepared stmt (pingcap#40167)
    
    close pingcap#40161
    
    * expression: implement `regexp_replace` function pushdown (pingcap#40267)
    
    close pingcap#40266
    
    * planner: supply more test for binding from history (pingcap#40242)
    
    ref pingcap#39199
    
    * ttl: disable ttl job when recover/flashback table/database/cluster (pingcap#40268)
    
    close pingcap#40265
    
    * admin: impl admin check index for mv index (pingcap#40270)
    
    close pingcap#40272
    
    * planner: refactor plan-cache UseCache flag (pingcap#40256)
    
    ref pingcap#36598
    
    * test: fix data race in cast as array (pingcap#40277)
    
    close pingcap#40276
    
    * planner: support converting `json_overlaps/contains` to IndexMerge to access MVIndex (pingcap#40195)
    
    ref pingcap#40191
    
    * autoid_service: add unit test for the package (pingcap#40193)
    
    * executor: special handling is required when an "auto id out of range" error occurs in `insert ignore into ... on on duplicate ...` (pingcap#39847)
    
    close pingcap#38950
    
    * util: gorotinue pool (pingcap#39872)
    
    close pingcap#38039
    
    * metrics: add metrics for plan replayer and historical stats (pingcap#40271)
    
    * sysvar: fix circular dependency in rebuildSysVarCache leading to deadlock (pingcap#40283)
    
    close pingcap#40240
    
    * ddl: fix flaky test TestGlobalVariablesOnFlashback (pingcap#40291)
    
    close pingcap#40287
    
    * server, tidb-server: kill auto analyze when gracefully shutting down (pingcap#40284)
    
    close pingcap#40038
    
    * planner: better coordination between the ignore_plan_cache() binding and plan-cache (pingcap#40280)
    
    close pingcap#40225
    
    * store/copr: fix build batchCop in disaggregated tiflash mode (pingcap#40008)
    
    close pingcap#40035
    
    * ddl: persist index info after changing backfill state (pingcap#40229)
    
    close pingcap#40217
    
    * doc: update flashback doc (pingcap#40031)
    
    ref pingcap#40026
    
    * ddl, parser: Implement the write-reorg state split task related functions, and the related interfaces of backfill worker (pingcap#39982)
    
    close pingcap#37123
    
    * planner: support pushing down predicates to memory tables in prepared mode (pingcap#40262)
    
    close pingcap#39605
    
    * planner: open the partial order prop push down for LIST PARTITION (pingcap#40290)
    
    close pingcap#40273
    
    * br: fix bootstrap domain (pingcap#40307)
    
    close pingcap#40281
    
    * br: add errch buf for checkpoint (pingcap#40166)
    
    close pingcap#40165
    
    * planner: skip plan-cache for prepared queries with `INT in (Decimals...)` (pingcap#40312)
    
    close pingcap#40224
    
    * statistics: support historical stats dump partition table (pingcap#40310)
    
    * *: update badger (pingcap#40331)
    
    * expression: enlarge timeout for test (pingcap#40332)
    
    * resourcemanger: add cpu scheduler (pingcap#39886)
    
    close pingcap#39657
    
    * util: use go-deadlock to find deadlock (pingcap#40288)
    
    close pingcap#40293
    
    * *: support `curdate()` as column's default value  | tidb-test=pr/2057 (pingcap#40326)
    
    close pingcap#38356
    
    * ttl: don't schedule ttl job when EnableTTLJob is off (pingcap#40336)
    
    close pingcap#40335
    
    * *: add warnings to slow log and slow query table (pingcap#39884)
    
    ref pingcap#39893
    
    * planner,infoschema,executor: Add tiflash fine grained shuffle support for hash join and aggregation (pingcap#40121)
    
    close pingcap#40123
    
    * ddl: fill in original default for extra writable columns in batch insert (pingcap#40198)
    
    close pingcap#40192
    
    * ddltest: update goleak and enable race (pingcap#40357)
    
    close pingcap#40358
    
    * planner: let the planner can select IndexMerge on MVIndex without hint (pingcap#40347)
    
    ref pingcap#40191
    
    * makefile: enable deadlock in the with-real-tikv (pingcap#40359)
    
    close pingcap#40293
    
    * planner: support more types to use IndexMerge to access MVIndex (pingcap#40343)
    
    ref pingcap#40191
    
    * log-backup: should set default value `gc.ratio-threshold` after pitr finished (pingcap#40141)
    
    close pingcap#40185
    
    * domain: let plan replayer dump support recording stats mem status (pingcap#40334)
    
    * docs: add TiDB Forum link and adjust link order (pingcap#39868)
    
    * ddl: support online create multi-valued index (pingcap#40304)
    
    close pingcap#40337
    
    * ttl: add `ttl_job_interval` attribute and remove `tidb_ttl_job_interval` variable (pingcap#40033)
    
    close pingcap#40028
    
    * *: remove the support of the `amending transaction` (pingcap#39714)
    
    close pingcap#40381
    
    * executor: reset the related session vars for both INSERT and REPLACE (pingcap#40354)
    
    close pingcap#40351
    
    * *: fix static pruning partition table in disaggregated tiflash mode (pingcap#40238)
    
    close pingcap#40239
    
    * planner: fix typo (pingcap#40367)
    
    * session: fix data race in the LazyTxn.LockKeys (pingcap#40350)
    
    close pingcap#40355
    
    * build(deps): bump golang.org/x/crypto from 0.1.0 to 0.5.0 (pingcap#40379)
    
    * executor: fix data race at the ShowExec (pingcap#39817)
    
    close pingcap#39816, close pingcap#40295
    
    * planner: fix panic during starting tidb-server if creating global binding for partition table (pingcap#40402)
    
    * fix
    
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * *: Supports create/alter/drop resource group (pingcap#40188)
    
    ref pingcap#38825
    
    * session: fix deadlock when init domain failed (pingcap#40409)
    
    close pingcap#40408
    
    * executor: support insert ignore/duplicate replace into with unique multi-valued index (pingcap#40369)
    
    close pingcap#40207
    
    * br: support reset_tiflash after ebs restoration (pingcap#40124)
    
    close pingcap#40208
    
    * ttl: add ttl goroutine exit log (pingcap#40416)
    
    close pingcap#40415
    
    * planner, executor: split the range for unsigned pk of partition table when limit is used (pingcap#40313)
    
    close pingcap#40309
    
    * planner: add nil check when handling empty charset in `setUnionFlen` (pingcap#40429)
    
    close pingcap#40285
    
    * planner: support keep_order and no_keep_order hint (pingcap#40089)
    
    ref pingcap#39964
    
    * planner: unify the behavior of prepare/execute limit to mysql (pingcap#40360)
    
    ref pingcap#40219
    
    * gpool: register gpool into resource manager (pingcap#40410)
    
    ref pingcap#40412
    
    * ttl: Add `CommandClient` to trigger TTL job manually (pingcap#40346)
    
    close pingcap#40345
    
    * ttl: make ttl's group in granfana collapse by default (pingcap#40444)
    
    * br: reset cloud_admin and root after ebs restoration (pingcap#39986)
    
    close pingcap#40418
    
    * ddl: support displaying sub-job reorg type in admin show ddl (pingcap#40387)
    
    close pingcap#40386
    
    * planner: support use IndexMerge to access composite MVIndex (pingcap#40426)
    
    ref pingcap#40191
    
    * planner: add test cases for keep_order and no_keep_order hints (pingcap#40321)
    
    ref pingcap#39964
    
    * statistics: change the upper bound of the out-of-range estimation to modify count | tidb-test=pr/2012 (pingcap#39011)
    
    close pingcap#39008
    
    * docs: update CI build badages (pingcap#40324)
    
    close pingcap#40325
    
    * planner: update the non-prep cacheable checker (pingcap#40446)
    
    close pingcap#40296
    
    * expression, planner: exclude concat_ws from aggresive folding constant (pingcap#38383)
    
    close pingcap#36888
    
    * keyspace: introduce keyspace conf and etcd path (pingcap#40269)
    
    ref pingcap#40425
    
    * ddl: skip deleting the unmatched index key on merge (pingcap#40465)
    
    close pingcap#40464
    
    * Merge pingcap/master and pingcap/feature/reorganize-partition
    
    * Updated CODEOWNERS for the feature branch
    
    * ci: add document about some task that will be triggered manually (pingcap#40459)
    
    * errno, store: fix ErrPDServerTimeout arguments (pingcap#40468)
    
    close pingcap#40439
    
    * ttl: fix the TTL job reports error when primary key contains a column with type `ENUM` (pingcap#40457)
    
    close pingcap#40456
    
    * planner: support using DNF to construct IndexMerge to access MVIndex (pingcap#40471)
    
    * fixup
    
    * fixup
    
    * fixup
    
    * executor: add partition table testcase for historical stats (pingcap#40453)
    
    * add partition table testcase
    
    * add partition table testcase
    
    * fix lint
    
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * ttl: forbid creating/altering a table with TTL options when pk contains float/double column (pingcap#40487)
    
    * ttl: forbid create/alter a table with TTL options when pk contains float/double column
    
    * format
    
    * update
    
    * update
    
    * update
    
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * planner: make MVIndex be compatible with the `use/force index` hint (pingcap#40495)
    
    * fixup
    
    * fixup
    
    * fixup
    
    * fixup
    
    * lightning: fix codecPDClient (pingcap#40496)
    
    Signed-off-by: David <[email protected]>
    
    Signed-off-by: David <[email protected]>
    Co-authored-by: Ti Chi Robot <[email protected]>
    Co-authored-by: Weizhen Wang <[email protected]>
    
    * ddl: let concurrent truncate on the same table depend on the previous one (pingcap#40501)
    
    * done
    
    Signed-off-by: wjhuang2016 <[email protected]>
    
    * refine test
    
    Signed-off-by: wjhuang2016 <[email protected]>
    
    Signed-off-by: wjhuang2016 <[email protected]>
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * statistics: fix estimation error when ranges are too many and modify count is large (pingcap#40472)
    
    * fix
    
    * fmt
    
    * bazel update
    
    * update test result
    
    Co-authored-by: Weizhen Wang <[email protected]>
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * executor: fix issue of KEY_COLUMN_USAGE table return wrong result about foreign key column (pingcap#40491)
    
    Signed-off-by: crazycs520 <[email protected]>
    
    Signed-off-by: crazycs520 <[email protected]>
    Co-authored-by: Weizhen Wang <[email protected]>
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * sysvar: add switch for plan replayer capture using historical stats (pingcap#40492)
    
    * add switch
    
    * fix
    
    * fix
    
    * fix
    
    Co-authored-by: Weizhen Wang <[email protected]>
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * *: upgrade go1.19.5 (pingcap#40483)
    
    Signed-off-by: Weizhen Wang <[email protected]>
    
    Signed-off-by: Weizhen Wang <[email protected]>
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * br: need init MDL variable when GetDomain (pingcap#40512)
    
    Signed-off-by: joccau <[email protected]>
    
    Signed-off-by: joccau <[email protected]>
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * ddl: avoid commit conflicts when updating/delete from mysql.tidb_ddl_reorg. (pingcap#38738)
    
    * Added test case
    
    * ddl fix pingcap#38669.
    
    The issue was that mysql.tidb_ddl_reorg table was updated by an
    inner transaction after the outer transaction started,
    which then made a commit conflict in the outer transaction,
    when it deleted the same row.
    
    * Fixed typo in comment
    
    * Added test case for pingcap#24427
    
    * Disabled tests for CI testing
    
    * Revert "Disabled tests for CI testing"
    
    This reverts commit 17c28f3.
    
    * Revert "Revert "Disabled tests for CI testing""
    
    This reverts commit 65c84d9.
    
    * removed test skips
    
    * Clean up the tidb_ddl_reorg entry after DDL is completed
    
    * Use a cleanup job afterwards instead.
    
    * Fixed test
    
    * Moved cleanup before asyncNotify
    
    * More detailed test failure log
    
    * Refined test error message
    
    * Injecting timoeut to get stack traces from CI
    
    * Updated Debug Dump on timeout
    
    * Delete mulitple entries in tidb_ddl_reorg if needed
    
    * Linting
    
    * Linting
    
    * Added CI debug logs
    
    * Linting + CI debugs
    
    * fixed CI debug
    
    * Try to cleanup also if job.State == synced
    
    * check for non-error of runErr instead of error...
    
    * Use a new session, instead of reusing worker.sess
    
    * Also handle case when job == nil
    
    * Removed CI debug logs
    
    * Misssed change session from w.sess to newly created sess
    
    * Improved TestConcurrentDDLSwitch and added CI debug logs
    
    * Always cleaning up all orphan mysql.tidb_ddl_reorg entries
    
    * linting
    
    * Also cleanup if job is nil
    
    * Updated TestModifyColumnReorgInfo + CI debug logs
    
    * more CI debug
    
    * refactored the cleanupDDLReorgHandle code
    
    * Added missing cleanup in handleDDLJobQueue
    
    * Removed debug panic
    
    * Code cleanup
    
    * Test updates
    
    * Debug cleanup
    
    * Cleaned up test after removal of old non-concurrent DDL code merge
    
    * Linting
    
    * always wrap changes to tidb_ddl_reorg in an own transaction
    
    + fixed some typos
    
    * Minimum fix
    
    * Always update reorg meta, not only on error
    
    * Issue is here :)
    
    * Fixed newReorgHandler
    
    * Wrapped more tidb_ddl_reorg changes into separate transactions
    
    * linting
    
    * Removed updateDDLReorgStartHandle
    
    * cleanups
    
    * Made runInTxn a method on *session, instead of normal function
    
    * Update test
    
    * Final touches
    
    * Removed duplicate test
    
    * CleanupDDLReorgHandles should only be called from HandleJobDone.
    
    * Variable rename
    
    * Renamed 'delete' variabel name
    
    * Updated test
    
    * small revert
    
    * Removed timeout debugging code
    
    * Simplified the cleanup to only start a new txn and not a new session
    
    * Reverted the change of GetDDLInfo
    
    Co-authored-by: Ti Chi Robot <[email protected]>
    
    * Post merge fix
    
    Signed-off-by: David <[email protected]>
    Signed-off-by: wjhuang2016 <[email protected]>
    Signed-off-by: crazycs520 <[email protected]>
    Signed-off-by: Weizhen Wang <[email protected]>
    Signed-off-by: joccau <[email protected]>
    Co-authored-by: Jianjun Liao <[email protected]>
    Co-authored-by: Weizhen Wang <[email protected]>
    Co-authored-by: Song Gao <[email protected]>
    Co-authored-by: lastincisor <[email protected]>
    Co-authored-by: tangenta <[email protected]>
    Co-authored-by: Bin <[email protected]>
    Co-authored-by: Obliviate <[email protected]>
    Co-authored-by: Lynn <[email protected]>
    Co-authored-by: YangKeao <[email protected]>
    Co-authored-by: Daniël van Eeden <[email protected]>
    Co-authored-by: xiongjiwei <[email protected]>
    Co-authored-by: fzzf678 <[email protected]>
    Co-authored-by: Hangjie Mo <[email protected]>
    Co-authored-by: 王超 <[email protected]>
    Co-authored-by: Chunzhu Li <[email protected]>
    Co-authored-by: Yuanjia Zhang <[email protected]>
    Co-authored-by: you06 <[email protected]>
    Co-authored-by: raymonder jin <[email protected]>
    Co-authored-by: TonsnakeLin <[email protected]>
    Co-authored-by: Zhou Kunqin <[email protected]>
    Co-authored-by: 山岚 <[email protected]>
    Co-authored-by: Yifan Xu <[email protected]>
    Co-authored-by: bb7133 <[email protected]>
    Co-authored-by: Xiaoju Wu <[email protected]>
    Co-authored-by: crazycs <[email protected]>
    Co-authored-by: zyguan <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: fengou1 <[email protected]>
    Co-authored-by: wjHuang <[email protected]>
    Co-authored-by: mychoxin <[email protected]>
    Co-authored-by: Chengpeng Yan <[email protected]>
    Co-authored-by: CbcWestwolf <[email protected]>
    Co-authored-by: hackersean <[email protected]>
    Co-authored-by: Yujie Xia <[email protected]>
    Co-authored-by: jiyfhust <[email protected]>
    Co-authored-by: hehechen <[email protected]>
    Co-authored-by: Morgan Tocker <[email protected]>
    Co-authored-by: Xiaoguang Sun <[email protected]>
    Co-authored-by: guo-shaoge <[email protected]>
    Co-authored-by: Ran <[email protected]>
    Co-authored-by: baishen <[email protected]>
    Co-authored-by: lance6716 <[email protected]>
    Co-authored-by: xzhangxian1008 <[email protected]>
    Co-authored-by: tiancaiamao <[email protected]>
    Co-authored-by: Jk Xu <[email protected]>
    Co-authored-by: djshow832 <[email protected]>
    Co-authored-by: Yiding Cui <[email protected]>
    Co-authored-by: yibin <[email protected]>
    Co-authored-by: Zak Zhao <[email protected]>
    Co-authored-by: luzizhuo <[email protected]>
    Co-authored-by: Ti Chi Robot <[email protected]>
    Co-authored-by: ShuNing <[email protected]>
    Co-authored-by: 3pointer <[email protected]>
    Co-authored-by: wuhuizuo <[email protected]>
    Co-authored-by: ystaticy <[email protected]>
    Co-authored-by: David <[email protected]>
    Configuration menu
    Copy the full SHA
    5ad0c09 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-ddl-states
    mjonss committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    2578e7b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9cd2d19 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6ae6ecd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    038a4e5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d87a516 View commit details
    Browse the repository at this point in the history
  8. Removed non used test function

    mjonss committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    5e94a2d View commit details
    Browse the repository at this point in the history
  9. make bazel_prepare

    mjonss committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    9f0a0c3 View commit details
    Browse the repository at this point in the history
  10. Cleanup

    mjonss committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    1b09e1a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    599f5dc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    11b62c7 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. Configuration menu
    Copy the full SHA
    aa3bf0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8b5194 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Configuration menu
    Copy the full SHA
    2887591 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-delete-range
    mjonss committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    1353270 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-tiflash-and-update-table
    mjonss committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    5a31388 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8db6a00 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1af113a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1cceb71 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    459f7b2 View commit details
    Browse the repository at this point in the history
  8. Bazel update

    mjonss committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    2e7cb93 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ccbacc8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    db40209 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    778e009 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4e6a054 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Configuration menu
    Copy the full SHA
    3eef6a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6c2994 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'pingcap/feature/reorganize-partition' i…

    …nto reorg-part-update-table
    mjonss committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    a642b7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7ea2f7a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    03180b1 View commit details
    Browse the repository at this point in the history
  6. Code cleanup

    mjonss committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    b5a74c3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8409849 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c30739d View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. Configuration menu
    Copy the full SHA
    687f396 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Configuration menu
    Copy the full SHA
    8c04202 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    233a467 View commit details
    Browse the repository at this point in the history
  3. make bazel_prepare

    mjonss committed May 10, 2023
    Configuration menu
    Copy the full SHA
    92da0e2 View commit details
    Browse the repository at this point in the history