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

[Backport] Initialize document subset bit set cache used for DLS (#46211) #46359

Merged
merged 2 commits into from
Sep 5, 2019

Commits on Sep 5, 2019

  1. Initialize document subset bit set cache used for DLS (elastic#46211)

    This commit initializes DocumentSubsetBitsetCache even if DLS
    is disabled. Previously it would throw null pointer when querying
    usage stats if we explicitly disabled DLS as there would be no instance of DocumentSubsetBitsetCache to query. It is okay to initialize
    DocumentSubsetBitsetCache which will be empty as the license enforcement
    would prevent usage of DLS feature and it will not fail when accessing usage stats.
    
    Closes elastic#45147
    bizybot authored and Yogesh Gaikwad committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    43a8446 View commit details
    Browse the repository at this point in the history
  2. fix compilation on 7.x

    Yogesh Gaikwad committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    3aef44e View commit details
    Browse the repository at this point in the history