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 2.14] [saved objects] enable deletion of saved objects by type if configured #6717

Merged
merged 1 commit into from
May 5, 2024

Commits on May 5, 2024

  1. [saved objects] enable deletion of saved objects by type if configured (

    #6443)
    
    * [saved objects] enable deletion of saved objects by type if configured
    
    Adds the following settings:
    ```
    migrations.delete.enabled
    migrations.delete.types
    ```
    
    `unknown` types already exist but the purpose of this type is for plugins
    that are disabled. OpenSearch Dashboards gets confused when a plugin is not
    defining a saved object type but the saved object exists. This can occur
    when migrating from a non-OSD version and there exists non-compatiable
    saved objects.
    
    If OSD is failing to migrate an index because of a document, I can now
    configure OSD to delete types of saved objects that I specified because
    I know that these types should not be carried over.
    
    resolves: #1040
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    
    * address comments
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    
    * Changeset file for PR #6443 created/updated
    
    ---------
    
    Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
    Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
    (cherry picked from commit 7a8c281)
    Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Configuration menu
    Copy the full SHA
    0713559 View commit details
    Browse the repository at this point in the history