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

feat(proxy-mirror): support mirror requests sample_ratio #4965

Merged
merged 46 commits into from
Sep 10, 2021

Commits on Sep 2, 2021

  1. Configuration menu
    Copy the full SHA
    288ef14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    488003c View commit details
    Browse the repository at this point in the history
  3. update test case

    okaybase committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    13f1968 View commit details
    Browse the repository at this point in the history
  4. update test case

    okaybase committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    caa72fc View commit details
    Browse the repository at this point in the history
  5. update test case

    okaybase committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    858aff1 View commit details
    Browse the repository at this point in the history
  6. update test case

    okaybase committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    0671562 View commit details
    Browse the repository at this point in the history
  7. update test case

    okaybase committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    8242c61 View commit details
    Browse the repository at this point in the history
  8. update test case

    okaybase committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    49068c2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    20a453f View commit details
    Browse the repository at this point in the history
  10. mirror percentage

    okaybase committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    7db849e View commit details
    Browse the repository at this point in the history
  11. mirror percentage

    okaybase committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    704da5c View commit details
    Browse the repository at this point in the history
  12. mirror requests percentage

    okaybase committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    491771f View commit details
    Browse the repository at this point in the history
  13. update test case

    okaybase authored Sep 2, 2021
    Configuration menu
    Copy the full SHA
    0595486 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2021

  1. rm randomseed

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    37c60b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dade378 View commit details
    Browse the repository at this point in the history
  3. mirror requests percentage

    Co-authored-by: tzssangglass <tzssangglass@gmail.com>
    okaybase and tzssangglass authored Sep 3, 2021
    Configuration menu
    Copy the full SHA
    6590c3a View commit details
    Browse the repository at this point in the history
  4. use sample_ratio

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    867d879 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/feat-n' into feat-n

    # Conflicts:
    #	apisix/plugins/proxy-mirror.lua
    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    f0363a6 View commit details
    Browse the repository at this point in the history
  6. use sample_ratio

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    494ec37 View commit details
    Browse the repository at this point in the history
  7. update test case

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    f045984 View commit details
    Browse the repository at this point in the history
  8. update test case

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    294379d View commit details
    Browse the repository at this point in the history
  9. update test case

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    e25b921 View commit details
    Browse the repository at this point in the history
  10. update test case

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    d0671b5 View commit details
    Browse the repository at this point in the history
  11. update test case

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    39886b6 View commit details
    Browse the repository at this point in the history
  12. update test case

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    1bf99f0 View commit details
    Browse the repository at this point in the history
  13. update test case

    okaybase committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    967e18e View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2021

  1. update docs

    Co-authored-by: Alex Zhang <tokers@apache.org>
    okaybase and tokers authored Sep 7, 2021
    Configuration menu
    Copy the full SHA
    c503b5f View commit details
    Browse the repository at this point in the history
  2. Indent code

    okaybase committed Sep 7, 2021
    Configuration menu
    Copy the full SHA
    03ed5b4 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. update test case

    okaybase committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    2bce454 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2021

  1. update test case

    okaybase authored Sep 9, 2021
    Configuration menu
    Copy the full SHA
    9bfc3ec View commit details
    Browse the repository at this point in the history
  2. update test case

    okaybase committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    7223316 View commit details
    Browse the repository at this point in the history
  3. update test case

    okaybase committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    9a2fc60 View commit details
    Browse the repository at this point in the history
  4. update test case

    okaybase committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    e241e47 View commit details
    Browse the repository at this point in the history
  5. update test case

    okaybase committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    d9770e9 View commit details
    Browse the repository at this point in the history
  6. update test case

    okaybase committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    a1f6689 View commit details
    Browse the repository at this point in the history
  7. update test case

    okaybase committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    05c268e View commit details
    Browse the repository at this point in the history
  8. update test case

    okaybase committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    57ad5ef View commit details
    Browse the repository at this point in the history
  9. update test case

    okaybase committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    658f108 View commit details
    Browse the repository at this point in the history
  10. update test case

    okaybase committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    92eeaa4 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2021

  1. Merge branch 'master' into feat-n

    Signed-off-by: spacewander <spacewanderlzx@gmail.com>
    spacewander committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    06afce2 View commit details
    Browse the repository at this point in the history
  2. tweak

    Signed-off-by: spacewander <spacewanderlzx@gmail.com>
    spacewander committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    88a5da2 View commit details
    Browse the repository at this point in the history
  3. call backend directly

    Signed-off-by: spacewander <spacewanderlzx@gmail.com>
    spacewander committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    e0686b5 View commit details
    Browse the repository at this point in the history
  4. show error

    Signed-off-by: spacewander <spacewanderlzx@gmail.com>
    spacewander committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    db27462 View commit details
    Browse the repository at this point in the history
  5. just for test

    Signed-off-by: spacewander <spacewanderlzx@gmail.com>
    spacewander committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    d5276c1 View commit details
    Browse the repository at this point in the history
  6. Revert "just for test"

    This reverts commit d5276c1.
    spacewander committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    d17e5b9 View commit details
    Browse the repository at this point in the history
  7. roll back to check error log only

    According to the error.log, it seems that the mirror request may not
    finish when the HTTP request is done. So just check it in the error log
    
    Signed-off-by: spacewander <spacewanderlzx@gmail.com>
    spacewander committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    fe7034a View commit details
    Browse the repository at this point in the history