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

System index auto-creation should not be disabled by user settings #62984

Commits on Sep 28, 2020

  1. Add System Indices check to AutoCreateIndex

    By default, Elasticsearch auto-creates indices when a document is
    submitted to a non-existent index. There is a setting that allows users
    to disable this behavior. However, this setting should not apply to
    system indices, so that Elasticsearch modules and plugins are able to
    use auto-create behavior whether or not it is exposed to users.
    
    This commit constructs the AutoCreateIndex object with a reference to
    the SystemIndices object so that we bypass the check for the user-facing
    autocreate setting when it's a system index that is being autocreated.
    
    We also modify the logic in TransportBulkAction to make sure that if a
    system index is included in a bulk request, we don't skip the
    autocreation step.
    williamrandolph committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    872af2e View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2020

  1. Configuration menu
    Copy the full SHA
    3391247 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c906cf View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2020

  1. Configuration menu
    Copy the full SHA
    cac0e24 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    288822f View commit details
    Browse the repository at this point in the history