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

Native roles store uses mget to retrieve roles #33531

Merged
merged 21 commits into from
Oct 30, 2018

Commits on Sep 7, 2018

  1. Native roles store uses mget to retrieve roles

    The native roles store previously would issue a search if attempting to
    retrieve more than a single role. This is fine when we are attempting
    to retrieve all of the roles to list them in the api, but could cause
    issues when attempting to find roles for a user. The search is not
    prioritized over other search requests, so heavy aggregations/searches
    or overloaded nodes could cause roles to be cached as missing if the
    search is rejected.
    
    When attempting to load specific roles, we know the document id for the
    role that we are trying to load, which allows us to use the multi-get
    api for loading these roles. This change makes use of the multi-get api
    when attempting to load more than one role by name. This api is also
    constrained by a threadpool but the tasks in the GET threadpool should
    be quicker than searches.
    
    See elastic#33205
    jaymode committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    629b4a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. Configuration menu
    Copy the full SHA
    2be96aa View commit details
    Browse the repository at this point in the history
  2. fix checkstyle

    jaymode committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    a4016e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2018

  1. Configuration menu
    Copy the full SHA
    df8e6b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac0eda9 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2018

  1. Configuration menu
    Copy the full SHA
    c5d2a63 View commit details
    Browse the repository at this point in the history
  2. fix error handling

    jaymode committed Oct 15, 2018
    Configuration menu
    Copy the full SHA
    7c9d0af View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2018

  1. Configuration menu
    Copy the full SHA
    7266147 View commit details
    Browse the repository at this point in the history
  2. fix retrieve all

    jaymode committed Oct 16, 2018
    Configuration menu
    Copy the full SHA
    3aaf5af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ada770a View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2018

  1. Configuration menu
    Copy the full SHA
    453323d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3da780b View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2018

  1. Configuration menu
    Copy the full SHA
    f958999 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b707cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27dabe6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fbadafd View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2018

  1. Configuration menu
    Copy the full SHA
    aae1861 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. Configuration menu
    Copy the full SHA
    1b4af47 View commit details
    Browse the repository at this point in the history
  2. add missing return statement

    jaymode committed Oct 26, 2018
    Configuration menu
    Copy the full SHA
    bab7819 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2018

  1. Configuration menu
    Copy the full SHA
    80f645c View commit details
    Browse the repository at this point in the history
  2. fix wrong keepalive value

    jaymode committed Oct 29, 2018
    Configuration menu
    Copy the full SHA
    c8db29e View commit details
    Browse the repository at this point in the history