-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Use settings from LogsdbIndexModeSettingsProvider in SyntheticSourceIndexSettingsProvider #115437
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 settings from LogsdbIndexModeSettingsProvider in SyntheticSourceIndexSettingsProvider #115437
Conversation
…ndexSettingsProvider
|
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
martijnvg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kkrik-es! I left one comment, otherwise LGTM 👍
| ); | ||
| private static final String LOGS_PATTERN = "logs-*-*"; | ||
| private volatile boolean isLogsdbEnabled; | ||
| private boolean isLogsdbEnabled; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this need field needs to stay volatile? It can be updated via cluster settings update at runtime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes sorry, unintended.
💔 Backport failedThe backport operation could not be completed due to the following error: You can use sqren/backport to manually backport by running |
…ndexSettingsProvider (elastic#115437) * Use settings from LogsdbIndexModeSettingsProvider in SyntheticSourceIndexSettingsProvider * update (cherry picked from commit 6f7bd55)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
…ndexSettingsProvider (elastic#115437) * Use settings from LogsdbIndexModeSettingsProvider in SyntheticSourceIndexSettingsProvider * update
…ndexSettingsProvider (elastic#115437) * Use settings from LogsdbIndexModeSettingsProvider in SyntheticSourceIndexSettingsProvider * update
…ndexSettingsProvider (elastic#115437) * Use settings from LogsdbIndexModeSettingsProvider in SyntheticSourceIndexSettingsProvider * update
The synthetic source provider needs to use the injected logsdb mode setting to detect that synthetic source is to be used.
This is an alternative to #115397, more localized but requires creating another copy of all template and request settings.