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

planner: add usage of paging copr in optimizer #30536

Merged
merged 40 commits into from
Dec 24, 2021

Commits on Dec 9, 2021

  1. add optimizer support

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    aef1c85 View commit details
    Browse the repository at this point in the history
  2. fix compare cost

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    9223044 View commit details
    Browse the repository at this point in the history
  3. set paging

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    7d75aca View commit details
    Browse the repository at this point in the history
  4. handle expect cnt more than max paging size

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    bcccba1 View commit details
    Browse the repository at this point in the history
  5. add metrics

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    00c4ef8 View commit details
    Browse the repository at this point in the history
  6. clean code

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    7f9509b View commit details
    Browse the repository at this point in the history
  7. fix streaming metric label

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    28fe7e3 View commit details
    Browse the repository at this point in the history
  8. use a threshold to decied whether go paging

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    2f31fe4 View commit details
    Browse the repository at this point in the history
  9. decide go paging only by limit count

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    b5ab23b View commit details
    Browse the repository at this point in the history
  10. correct expectCnt

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    72a7cfb View commit details
    Browse the repository at this point in the history
  11. paging do not enlarge idx cost

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    aba1a8c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c6cc613 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1917d29 View commit details
    Browse the repository at this point in the history
  14. fix metric schame test

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    9e9d34d View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. adjust the paging threshold

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    cee8aaa View commit details
    Browse the repository at this point in the history
  2. fix test

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    653f165 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Configuration menu
    Copy the full SHA
    c6c0dcc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    963c84c View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. address comment

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    0b45c0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66408c4 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Update planner/core/task.go

    Co-authored-by: Lei Zhao <zlwgx1023@gmail.com>
    you06 and youjiali1995 authored Dec 16, 2021
    Configuration menu
    Copy the full SHA
    4d096f1 View commit details
    Browse the repository at this point in the history
  2. fix legend format

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    1f0b0e4 View commit details
    Browse the repository at this point in the history
  3. address comment

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    5d23006 View commit details
    Browse the repository at this point in the history
  4. extract paging constants to individual package

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    381aa2a View commit details
    Browse the repository at this point in the history
  5. add test

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    367aead View commit details
    Browse the repository at this point in the history
  6. add licsnee

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    90a628b View commit details
    Browse the repository at this point in the history
  7. add comment

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 16, 2021
    Configuration menu
    Copy the full SHA
    c992665 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. sort imports

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    e283868 View commit details
    Browse the repository at this point in the history
  2. sort imports

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    ab251f0 View commit details
    Browse the repository at this point in the history
  3. fix lint

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    fb4b003 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74c02f9 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. add bridge to satisfy test

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    4a8e572 View commit details
    Browse the repository at this point in the history
  2. address comment

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    1f2167e View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. Configuration menu
    Copy the full SHA
    7c9498b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b485afd View commit details
    Browse the repository at this point in the history
  3. remote parallel test

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    8c6794c View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. use prop to pass expectCnt, add tests

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    a4d48ef View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2021

  1. Configuration menu
    Copy the full SHA
    1173169 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd44eb2 View commit details
    Browse the repository at this point in the history
  3. remove parallel in test T^T

    Signed-off-by: you06 <you1474600@gmail.com>
    you06 committed Dec 24, 2021
    Configuration menu
    Copy the full SHA
    905738b View commit details
    Browse the repository at this point in the history