-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Make Elasticsearch archive storage optional #1334
Make Elasticsearch archive storage optional #1334
Conversation
Signed-off-by: Pavol Loffay <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1334 +/- ##
======================================
Coverage 100% 100%
======================================
Files 162 162
Lines 7295 7308 +13
======================================
+ Hits 7295 7308 +13
Continue to review full report at Codecov.
|
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.
LGTM - just one minor comment.
@@ -206,6 +208,12 @@ func addFlags(flagSet *flag.FlagSet, nsConfig *namespaceConfig) { | |||
"(experimental) Use read and write aliases for indices. Use this option with Elasticsearch rollover "+ | |||
"API. It requires an external component to create aliases before startup and then performing its management. "+ | |||
"Note that "+nsConfig.namespace+suffixMaxSpanAge+" is not taken into the account and has to be substituted by external component managing read alias.") | |||
if nsConfig.namespace == archiveNamespace { |
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.
Just wondering if this needs to be conditional? The primary namespace is enabled by default, so it just means a user could disable the primary namespace, which is unlikely.
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 don't want to show this flag for the primary NS. We do the same for c*
Signed-off-by: Pavol Loffay <[email protected]> Signed-off-by: Iori Yoneji <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
Related to #1321 (comment)
Signed-off-by: Pavol Loffay [email protected]