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

[Feature Request] Disabling auto creation of indices #6171

Closed
olivierboudet opened this issue Apr 3, 2023 · 1 comment
Closed

[Feature Request] Disabling auto creation of indices #6171

olivierboudet opened this issue Apr 3, 2023 · 1 comment

Comments

@olivierboudet
Copy link

This is a Feature request.

Sync Gateway version

3.0.4

Actual behavior

The actual behavior of Sync Gateway is to check existence of indices and auto-create them when they does not exist.

Expected behavior

I would like to manage by myself the creation of indices (to set a custom name and choose the node on which I want them).
Would it be possible to have a configuration option to disable auto-creation of indices ?

@bbrks
Copy link
Member

bbrks commented Jan 24, 2025

This would open up Sync Gateway to several failure modes we've not had to consider before, including incorrect index definitions and orchestration problems.

An alternative might be to allow configuration of the specific things you wish to tune on the indexes SG initializes.

We've got upcoming work planned to support partitioned indexes which may be somewhat related to your desire to choose which node the indexes are deployed to. I am curious what your requirements are that involve changing index names.

@bbrks bbrks closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2025
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

No branches or pull requests

2 participants