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

Add cold storage support #148

Merged
merged 6 commits into from
Feb 18, 2023
Merged

Conversation

dm3ch
Copy link
Contributor

@dm3ch dm3ch commented Jan 12, 2023

what

  • Add support of configuring cluster_config.cold_storage_options.enabled

why

  • Allows enabling support of cold storage

@dm3ch dm3ch requested review from a team as code owners January 12, 2023 17:13
@dm3ch dm3ch requested review from Gowiem and dotCipher January 12, 2023 17:13
@goruha
Copy link
Member

goruha commented Feb 16, 2023

/test all

@goruha
Copy link
Member

goruha commented Feb 16, 2023

@dm3ch we can not run tests for this PR at the moment.
Can you pull the latest changes from the master branch with the fix for tests?

@goruha goruha self-assigned this Feb 16, 2023
@dm3ch
Copy link
Contributor Author

dm3ch commented Feb 16, 2023

@goruha Merged current master

@goruha
Copy link
Member

goruha commented Feb 17, 2023

/test all

@goruha
Copy link
Member

goruha commented Feb 17, 2023

@dm3ch now this PR duplicates PR #149
The PR contains issues that break our tests.

Can you leave in the PR only code related to cold storage support

Thanks.

@dm3ch dm3ch force-pushed the cold-storage-support branch from 68fc51b to f088595 Compare February 17, 2023 11:59
@dm3ch
Copy link
Contributor Author

dm3ch commented Feb 17, 2023

@goruha Yep, merged the wrong branch.

Now dropped unwanted changes from this PR.

@goruha
Copy link
Member

goruha commented Feb 17, 2023

/test all

@dm3ch
Copy link
Contributor Author

dm3ch commented Feb 17, 2023

@goruha I'm not sure how to better fix this test.

I even don't understand why the test tries to enable cold storage if I haven't modified any tests and made it disabled by default.

@goruha
Copy link
Member

goruha commented Feb 17, 2023

@dm3ch it does not enable cold storage.
I says that it do not support that cold storage configuration block at all

Error: creating Elasticsearch Domain (eg-test-es-test-10332): ValidationException: Your domain's Elasticsearch version does not support cold storage options. Upgrade to Elasticsearch 7.9 or later.

I think you have to make this block dynamic

@dm3ch
Copy link
Contributor Author

dm3ch commented Feb 17, 2023

Ok, wrapped to dynamic block

@dm3ch dm3ch force-pushed the cold-storage-support branch from 3cb86c6 to 470ba57 Compare February 17, 2023 13:28
@goruha
Copy link
Member

goruha commented Feb 17, 2023

/test all

@goruha
Copy link
Member

goruha commented Feb 18, 2023

@dm3ch LGTM

Thanks for your contribution.

@goruha goruha merged commit 4becd77 into cloudposse:master Feb 18, 2023
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.

3 participants