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

Not allowing index starting with . for replication #55

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

naveenpajjuri
Copy link
Contributor

@naveenpajjuri naveenpajjuri commented Jul 15, 2021

Description

Blocking indices that start with . for replication.

Sample response

{
   "error": {
       "root_cause": [
           {
               "type": "invalid_index_name_exception",
               "reason": "Invalid index name [.check6], Cannot start replication for an index starting with '.'",
               "index_uuid": "_na_",
               "index": ".check6"
           }
       ],
       "type": "invalid_index_name_exception",
       "reason": "Invalid index name [.check6], Cannot start replication for an index starting with '.'",
       "index_uuid": "_na_",
       "index": ".check6"
   },
   "status": 400
}

Issues Resolved

[List any issues this PR will resolve]

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@naveenpajjuri naveenpajjuri force-pushed the invalid_index_for_replication branch from bbf2402 to 9d243af Compare July 15, 2021 10:02
@naveenpajjuri naveenpajjuri merged commit c311cd3 into main Jul 15, 2021
@dblock
Copy link
Member

dblock commented Jul 15, 2021

Curious, why is this a thing? Is this convention of being a system index documented and do we explain why these shouldn't be replicated?

@ankitkala ankitkala deleted the invalid_index_for_replication branch August 23, 2021 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants