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

Use suffixed index names by default to prevent alias creation conflicts #973

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 24, 2024

  1. Use suffixed index names by default to prevent alias creation conflicts

    Updated index creation logic to use a suffixed index name (e.g., `users_<timestamp-suffix>`) by default.
    
    Previously, during index reset, the old index (e.g., `users`) was deleted, and a new suffixed index (e.g., `users_<timestamp-suffix>`) was created and aliased to the old index name. This caused a race condition, where another job could recreate the unsuffixed `users` index before the alias was applied, leading to a conflict when trying to create the alias.
    dmeremyanin committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    4de9519 View commit details
    Browse the repository at this point in the history