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

router: add new ratelimited retry backoff strategy #12202

Merged
merged 37 commits into from
Aug 14, 2020

Commits on Aug 11, 2020

  1. router: add new ratelimited retry backoff strategy

    Adds new retry back off strategy that uses feedback from response
    headers like Retry-After or X-RateLimit-Reset to decide the back off
    interval before retrying.
    
    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    0f0916b View commit details
    Browse the repository at this point in the history
  2. Update docs to mention the default value.

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    c188936 View commit details
    Browse the repository at this point in the history
  3. Make the spell checker happy

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    dcc4e14 View commit details
    Browse the repository at this point in the history
  4. Update version history

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    6908897 View commit details
    Browse the repository at this point in the history
  5. Make sure the new headers are consumed

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    5cabd3c View commit details
    Browse the repository at this point in the history
  6. Remove unnecessary import

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    902f17c View commit details
    Browse the repository at this point in the history
  7. Add missing break statement

    Add missing break statement and add test documenting the behavior of
    using the first header that matches
    
    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    40e7b0a View commit details
    Browse the repository at this point in the history
  8. Document that first matching header is used

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    c926c9c View commit details
    Browse the repository at this point in the history
  9. Make sure there is at least one header

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    8946044 View commit details
    Browse the repository at this point in the history
  10. Update test to agree with protobuf

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    0f5eb62 View commit details
    Browse the repository at this point in the history
  11. Update version history

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    c965008 View commit details
    Browse the repository at this point in the history
  12. Clang tidy prefers I use empty()

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    d2ae1a0 View commit details
    Browse the repository at this point in the history
  13. Move default to RetryPolicy

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    96e5364 View commit details
    Browse the repository at this point in the history
  14. Remove new stats from virtual cluster

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    97fcc0b View commit details
    Browse the repository at this point in the history
  15. Improve the docs

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    52b39b7 View commit details
    Browse the repository at this point in the history
  16. Remove header x-envoy-ratelimited-reset-max-interval-ms

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    cc6d146 View commit details
    Browse the repository at this point in the history
  17. Fix api CI build

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    e4dd05c View commit details
    Browse the repository at this point in the history
  18. Fix merge after rebase

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    2edaf26 View commit details
    Browse the repository at this point in the history
  19. Implement new ResetHeaderParser

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    fad4cee View commit details
    Browse the repository at this point in the history
  20. Update stats integration test

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    fbd7ae1 View commit details
    Browse the repository at this point in the history
  21. Remove unnecessary virtual keyword

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    2fc0bec View commit details
    Browse the repository at this point in the history
  22. Fix stats integration test (mac)

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    d5d314d View commit details
    Browse the repository at this point in the history
  23. Move ResetHeaderParser interface into router.h

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    b285474 View commit details
    Browse the repository at this point in the history
  24. Remove reference to redis which was removed on master

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    775aa7e View commit details
    Browse the repository at this point in the history
  25. Fix bad merge

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    37d667f View commit details
    Browse the repository at this point in the history
  26. PR feedback

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    6b82264 View commit details
    Browse the repository at this point in the history
  27. Update stats integration test again after rebase

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    59b06d4 View commit details
    Browse the repository at this point in the history
  28. Roll back bad partial merge to stats integration test

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    1bef83e View commit details
    Browse the repository at this point in the history
  29. Merge branch 'master' into ratelimited-backoff-strategy

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    1fd484a View commit details
    Browse the repository at this point in the history
  30. Fix merge with master

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    4abc240 View commit details
    Browse the repository at this point in the history
  31. Update stats integration test again

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    b9c33f1 View commit details
    Browse the repository at this point in the history
  32. Fix stats integration test on mac again

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    77e0ff9 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2020

  1. Merge branch 'master' into ratelimited-backoff-strategy

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    6180297 View commit details
    Browse the repository at this point in the history
  2. Fix bad merge in release notes

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    d7d798c View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2020

  1. Kick CI

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    78b319e View commit details
    Browse the repository at this point in the history
  2. Kick CI

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    f7fc6b4 View commit details
    Browse the repository at this point in the history
  3. Fix line that got lost in bad merge

    Signed-off-by: Martin Matusiak <[email protected]>
    numerodix committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    8521e02 View commit details
    Browse the repository at this point in the history