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

infoschema,planner,execuor: support hot history region #27224

Closed
wants to merge 51 commits into from

Commits on Aug 15, 2021

  1. infoschema: add tidb_hot_regions_history virtual table

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    dd87813 View commit details
    Browse the repository at this point in the history
  2. planner: add extractor for tidb_hot_regions_history

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    fe67ab4 View commit details
    Browse the repository at this point in the history
  3. executor: add retriver for tidb_hot_regions_history

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    07b0cdd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2df8855 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2021

  1. planner: improve his hot regions extractor explanInfo, and use IntSet…

    … for table_id, index_id
    IcePigZDB committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    da5baab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88d132f View commit details
    Browse the repository at this point in the history
  3. executor: fix time formate bug

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    b1d877b View commit details
    Browse the repository at this point in the history
  4. executor: fix history hot regions memtable reader test time bug

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 16, 2021
    Configuration menu
    Copy the full SHA
    84fd7a4 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2021

  1. executor: call DecodeBytes for region range key, and update test rang…

    …e key
    
    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    bc5e3eb View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2021

  1. infoschema: change UPDATE_TIME type to TypeTimestamp to support TIMES…

    …TAMP(2021-08-19,20:20:20) and FROM_UNIXTIME(1566217220)
    
    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    8324c3e View commit details
    Browse the repository at this point in the history
  2. planner: use context.timezone instead of time.local

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    33f4f51 View commit details
    Browse the repository at this point in the history
  3. executor: change UPDATE_TIME type to TypeTimestamp and add timezone c…

    …heck
    
    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 19, 2021
    Configuration menu
    Copy the full SHA
    28d2400 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2021

  1. executor: devide read and write hot types into two http request to fi…

    …x results order overlap
    
    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 22, 2021
    Configuration menu
    Copy the full SHA
    ac05ea6 View commit details
    Browse the repository at this point in the history
  2. infoschema: add is_leader flag

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 22, 2021
    Configuration menu
    Copy the full SHA
    6a4a248 View commit details
    Browse the repository at this point in the history
  3. planner: add extractor for is_leader and add update extractor test

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 22, 2021
    Configuration menu
    Copy the full SHA
    25b6a5d View commit details
    Browse the repository at this point in the history
  4. executor: add is_leader in request and update retriver test

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 22, 2021
    Configuration menu
    Copy the full SHA
    f8a45b3 View commit details
    Browse the repository at this point in the history
  5. planner: change extractor code order

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 22, 2021
    Configuration menu
    Copy the full SHA
    351bd5a View commit details
    Browse the repository at this point in the history
  6. executor: remove debug test case

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 22, 2021
    Configuration menu
    Copy the full SHA
    9728584 View commit details
    Browse the repository at this point in the history
  7. executor: close httpServers after test down

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 22, 2021
    Configuration menu
    Copy the full SHA
    b5ecdb9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7f07ae1 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2021

  1. planner: roles from intset to slice

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    b8967a8 View commit details
    Browse the repository at this point in the history
  2. executor: roles from intset to slice

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    e27bbf8 View commit details
    Browse the repository at this point in the history
  3. execuotr: use bool for IsLeader

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    bc8cba1 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2021

  1. Configuration menu
    Copy the full SHA
    ca58a5a View commit details
    Browse the repository at this point in the history
  2. executor: use http.MethodGet

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    9357d24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19c0037 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3c7b4e1 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2021

  1. planner: remove extraction unnecessary columns

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    3c238ba View commit details
    Browse the repository at this point in the history
  2. executor: remove extraction unnecessary columns

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    f9b0b1c View commit details
    Browse the repository at this point in the history
  3. planner: remove unuse function

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    47ecb36 View commit details
    Browse the repository at this point in the history
  4. planner: remove unuse function

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    b258d65 View commit details
    Browse the repository at this point in the history
  5. planner: review from @rleungx

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    a49182d View commit details
    Browse the repository at this point in the history
  6. executor: review from @rleungx

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    5947504 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    37484c3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d3917b1 View commit details
    Browse the repository at this point in the history
  9. planner: add removed cluster_log test case

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    9ed1f79 View commit details
    Browse the repository at this point in the history
  10. exectuor:change PD-Allow-follower-handle to false

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    a81eb94 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6f2d228 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2021

  1. Configuration menu
    Copy the full SHA
    13c044b View commit details
    Browse the repository at this point in the history
  2. infoschema: add is_learner field

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 28, 2021
    Configuration menu
    Copy the full SHA
    f7f7810 View commit details
    Browse the repository at this point in the history
  3. planner: add is_learner field

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 28, 2021
    Configuration menu
    Copy the full SHA
    5092089 View commit details
    Browse the repository at this point in the history
  4. executor: add is_learner field

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Aug 28, 2021
    Configuration menu
    Copy the full SHA
    826693b View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. planner: clear logic in parseUint64

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    d81ccf8 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. planner: quantiles to uint64s and remove 3,4 in comment of IS_LEARNER

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    c881c52 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. planner: formate test

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    361e891 View commit details
    Browse the repository at this point in the history
  2. executor: formate retriver

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    f5e8925 View commit details
    Browse the repository at this point in the history
  3. executor: add init of cancel

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    6781bad View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2021

  1. executor: formate

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    160e34b View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Update executor/memtable_reader.go

    Co-authored-by: ShuNing <nolouch@gmail.com>
    IcePigZDB and nolouch committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    039220c View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2021

  1. executor: simplfy code and move channel close to retrive func

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    
    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Oct 9, 2021
    Configuration menu
    Copy the full SHA
    6debfe2 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2021

  1. executor: move close channel to startRetriving

    Signed-off-by: IcePigZDB <icepigzdb@gmail.com>
    IcePigZDB committed Oct 10, 2021
    Configuration menu
    Copy the full SHA
    c41c11c View commit details
    Browse the repository at this point in the history