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

Sync Fork from Upstream Repo #16

Merged
merged 19 commits into from
Sep 11, 2019
Merged

Sync Fork from Upstream Repo #16

merged 19 commits into from
Sep 11, 2019

Commits on Sep 9, 2019

  1. docs: improving websocket docs (#8156)

    Making it clear H2 websockets don't work by default
    
    Risk Level: n/a
    Testing: n/a
    Docs Changes: yes
    Release Notes: no
    #8147
    
    Signed-off-by: Alyssa Wilk <[email protected]>
    alyssawilk authored Sep 9, 2019
    Configuration menu
    Copy the full SHA
    ced130a View commit details
    Browse the repository at this point in the history
  2. Upstream WebAssembly VM and Null VM from envoyproxy/envoy-wasm. (#8020)

    Description: Upstream from envoyproxy/envoy-wasm the WebAssembly VM support along with the Null VM support and tests. This is the first PR dealing with WebAssembly filter support in envoy.  See https://github.com/envoyproxy/envoy-wasm/blob/master/WASM.md and https://github.com/envoyproxy/envoy-wasm/blob/master/docs/root/api-v2/config/wasm/wasm.rst for details.
    Risk Level: Medium
    Testing: Unit tests.
    Docs Changes: N/A
    Release Notes: N/A
    Part of #4272 
    
    Signed-off-by: John Plevyak <[email protected]>
    jplevyak authored and lizan committed Sep 9, 2019
    Configuration menu
    Copy the full SHA
    3f63838 View commit details
    Browse the repository at this point in the history
  3. quiche: implement Envoy Quic stream and connection (#7721)

    Implement QuicStream|Session|Disptacher in Envoy. Weir up QUIC stream and connection with HCM callbacks.
    
    Risk Level: low, not in use
    Testing: Added unit tests for all new classes
    Part of #2557
    Signed-off-by: Dan Zhang <[email protected]>
    danzh2010 authored and alyssawilk committed Sep 9, 2019
    Configuration menu
    Copy the full SHA
    44a8588 View commit details
    Browse the repository at this point in the history
  4. protodoc/api_proto_plugin: generic API protoc plugin framework. (#8157)

    Split out the generic plugin and FileDescriptorProto traversal bits from
    protodoc. This is in aid of the work in #8082 ad #8083, where additional
    protoc plugins will be responsible for v2 -> v3alpha API migrations and
    translation code generation.
    
    This is only the start really of the api_proto_plugin framework. I
    anticipate additional bits of protodoc will move here later, including
    field type analysis and oneof handling.
    
    In some respects, this is a re-implementation of some of
    https://github.com/lyft/protoc-gen-star in Python. The advantage is that
    this is super lightweight, has few dependencies and can be easily
    hacked. We also embed various bits of API business logic, e.g.
    annotations, in the framework (for now).
    
    Risk level: Low
    Testing: diff -ru against previous protodoc.py RST output, identical modulo some
      trivial whitespace that doesn't appear in generated HTML. There are no
      real tests yet, I anticipate adding some golden proto style tests.
    
    Signed-off-by: Harvey Tuch <[email protected]>
    htuch authored Sep 9, 2019
    Configuration menu
    Copy the full SHA
    809f0e3 View commit details
    Browse the repository at this point in the history
  5. adaptive concurrency: Gradient algorithm implementation (#7908)

    Signed-off-by: Tony Allen <[email protected]>
    Tony Allen authored and mattklein123 committed Sep 9, 2019
    Configuration menu
    Copy the full SHA
    874d7d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2019

  1. ext_authz: Check for cluster before sending HTTP request (#8144)

    Signed-off-by: Dhi Aurrahman <[email protected]>
    dio authored and mattklein123 committed Sep 10, 2019
    Configuration menu
    Copy the full SHA
    5aea70c View commit details
    Browse the repository at this point in the history
  2. make getters const-ref (#8192)

    Description:
    Follow-up to #7911 to make cached values be exposed as const-references, saving on a copy of a string during retrieval.
    
    Risk Level: low
    Testing: updated mocks to return references
    Docs Changes: none
    Release Notes: none
    
    Signed-off-by: Kuat Yessenov <[email protected]>
    kyessenov authored and lizan committed Sep 10, 2019
    Configuration menu
    Copy the full SHA
    66cc26a View commit details
    Browse the repository at this point in the history
  3. test: add curl features check (#8194)

    Add a test ensuring curl was built with the expected features.
    
    Description: Add a test ensuring curl was built with the expected features.
    Risk Level: Low.
    Testing: n/a.
    Docs Changes: n/a.
    Release Notes: n/a.
    
    Signed-off-by: Taras Roshko <[email protected]>
    troshko111 authored and lizan committed Sep 10, 2019
    Configuration menu
    Copy the full SHA
    d5515ae View commit details
    Browse the repository at this point in the history
  4. subset lb: allow ring hash/maglev LB to work with subsets (#8030)

    * subset lb: allow ring hash/maglev LB to work with subsets
    
    Skip initializing the thread aware LB for a cluster when the subset
    load balancer is enabled. Also adds some extra checks for LB policies
    that are incompatible with the subset load balancer.
    
    Risk Level: low
    Testing: test additional checks
    Docs Changes: updated docs w.r.t subset lb compatibility
    Release Notes: n/a
    Fixes: #7651
    
    Signed-off-by: Stephan Zuercher <[email protected]>
    zuercher authored Sep 10, 2019
    Configuration menu
    Copy the full SHA
    cee989a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ad10a97 View commit details
    Browse the repository at this point in the history
  6. bazel: update bazel to 0.29.1 (#8198)

    Description:
    Upgrade bazel to 0.29.1 and bazel-toolchains to corresponding version.
    
    Risk Level: Low
    Testing: CI
    Docs Changes: N/A
    Release Notes: N/A
    
    Signed-off-by: Lizan Zhou <[email protected]>
    lizan authored Sep 10, 2019
    Configuration menu
    Copy the full SHA
    38b926c View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2019

  1. upstream: Add ability to disable host selection during panic (#8024)

    Previously, when in a panic state, requests would be routed to all
    hosts. In some cases it is instead preferable to not route any requests.
    Add a configuration option for zone-aware load balancers which switches
    from routing to all hosts to no hosts.
    
    Closes #7550.
    
    Signed-off-by: James Forcier [email protected]
    
    Risk Level: Low
    Testing: 2 new unit tests written; manual testing
    Docs Changes: Note about new configuration option added
    Release Notes: added
    
    Signed-off-by: James Forcier <[email protected]>
    csssuf authored and alyssawilk committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    e2eb258 View commit details
    Browse the repository at this point in the history
  2. metrics service: flush histogram buckets (#8180)

    Signed-off-by: Rama Chavali <[email protected]>
    ramaraochavali authored and mattklein123 committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    a758e8c View commit details
    Browse the repository at this point in the history
  3. tracing: fix random sample fraction percent (#8205)

    Signed-off-by: Pengyuan Bian <[email protected]>
    bianpengyuan authored and mattklein123 committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    eb11fde View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c78c4b4 View commit details
    Browse the repository at this point in the history
  5. router check tool: add flag for only printing failed tests (#8160)

    Signed-off-by: Lisa Lu <[email protected]>
    Lisa Lu authored and mattklein123 committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    c9703f9 View commit details
    Browse the repository at this point in the history
  6. fix link to runtime docs (#8204)

    Description: Looks like the runtime docs moved under operations/. The PR fixes the link.
    Risk Level: low
    Testing: existing
    Docs Changes: this
    Release Notes: n/a
    
    Signed-off-by: Derek Argueta <[email protected]>
    derekargueta authored and junr03 committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    0ee3cc3 View commit details
    Browse the repository at this point in the history
  7. config: make SlotImpl detachable from its owner, and add a new runOnA…

    …llThreads interface to Slot. (#8135)
    
    See the issue in #7902, this PR is to make the SlotImpl detachable from its owner, by introducing a Booker object wraps around a SlotImpl, which bookkeeps all the on-the-fly update callbacks. And on its destruction, if there are still on-the-fly callbacks, move the SlotImpl to an deferred-delete queue, instead of destructing the SlotImpl which may cause an SEGV error.
    
    More importantly, introduce a new runOnAllThreads(ThreadLocal::UpdateCb cb) API to Slot, which requests a Slot Owner to not assume that the Slot or its owner will out-live (in Main thread) the fired on-the-fly update callbacks, and should not capture the Slot or its owner in the update_cb.
    
    Picked RDS and config-providers-framework as examples to demonstrate that this change works. {i.e., changed from the runOnAllThreads(Event::PostCb) to the new runOnAllThreads(TLS::UpdateCb) interface. }
    
    Risk Level: Medium
    Testing: unit test
    Docs Changes: N/A
    Release Notes: N/A
    [Optional Fixes #Issue] #7902
    
    Signed-off-by: Xin Zhuang <[email protected]>
    stevenzzzz authored and alyssawilk committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    c5ffdda View commit details
    Browse the repository at this point in the history
  8. test: remove static config from subset lb integration test (#8203)

    Build the config programmatically to make future API changes less
    onerous.
    
    Risk Level: low (test change only)
    Testing: n/a
    Doc Changes: n/a
    Release Notes: n/a
    
    Signed-off-by: Stephan Zuercher <[email protected]>
    zuercher authored Sep 11, 2019
    Configuration menu
    Copy the full SHA
    da38e73 View commit details
    Browse the repository at this point in the history