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

Clean old bundle data before new activation #4944

Merged
merged 2 commits into from Jul 29, 2022

Commits on Jul 28, 2022

  1. Clean old bundle data before new activation

    If OPA has an activated bundle that owns all roots
    and a new bundle with empty roots is to be activated, the
    old bundle's data should first be erased from the store.
    Currently both the old and new data is kept in the store.
    
    This commit attempts to fix this by providing an indication to
    the truncate call about the scenario in which the root is to be
    overwritten.
    
    Fixes: open-policy-agent#4940
    
    Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
    ashutosh-narkar committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    503e2b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

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