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

Added OpenSearch support #9

Merged
merged 11 commits into from
Oct 16, 2024
Merged

Conversation

iluhinsky
Copy link
Contributor

No description provided.

@iluhinsky iluhinsky changed the title Added OpenSearch support [WIP] Added OpenSearch support Oct 8, 2024
@iluhinsky iluhinsky force-pushed the feature/opensearch branch 5 times, most recently from adee57b to 461e7a5 Compare October 10, 2024 18:51
@iluhinsky iluhinsky changed the title [WIP] Added OpenSearch support Added OpenSearch support Oct 11, 2024
@iluhinsky iluhinsky force-pushed the feature/opensearch branch 2 times, most recently from 9bd01a3 to 290a767 Compare October 11, 2024 15:09
1. Moved ElasticSearch-specific adapter code to dedicated file
2. Added OpenSearch adapter with support insert, search and count
1. Created interface for ElasticSearch-based adapters for index management
2. Moved ElasticSearch index management code to ElasticSearch adapter
1. Added index management to OpenSearch adapter:
  a. ISM policies creation, search and deletion
  b. Components templates creation and deletion
  c. Index templates createion and deletion
  d. Data Stream deletion
1. Actualized acronis-db-bench examples of tests launch according to new CLI params
2. Added acronis-db-bench examples of launching tests towards to ElasticSearch and OpenSearch
Copy link
Contributor

@perfguru87 perfguru87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can probably fix it in separate PR

```bash
go install acronis-db-bench
acronis-db-bench --driver <database_driver> --dsn "<data_source_name>" ...
acronis-db-bench --connection-string "<connection_string>" ...
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we remove --dsn and --driver?

@viatoriche viatoriche merged commit 4fc8990 into acronis:main Oct 16, 2024
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