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

[Refactor] Fix reqwest bugs; Refactor e2e_test utilities and independents #1880

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

zipper-meng
Copy link
Member

@zipper-meng zipper-meng commented Dec 29, 2023

Required checklist

  • Sample config files updated (config,meta/config and default config)
  • If there are user-facing changes, the documentation needs to be updated prior to approving the PR( Link )
  • If there are any breaking changes to public APIs, please add the api change label.
  • Signed CLA (if not already signed)

Which issue does this PR close?

Related #.

Rationale for this change

Cargo.toml

  • HTTP client reqwest - Add feature rustls-tls and argument default-features = false to remove openssl dependency.
  • cnosdb.replication - Remove dependency reqwest,
  • Server framework warp - Upgrade to 0.3.6 .

Query tests

  • http_stream_select - Add order by time asc to pass integration test.

E2e tests

A large refactor of crate e2e_test.

A clear definition of CnosDB clusters

Add module cluster_def to improve the use of CnosDB cluster, now you can use cluster_def::one_data to get a singleton CnosDB definition, or cluster_def::three_meta_two_data_bundled to get a normal cluster definition. You can also use cluster_def::CnosdbClusterDefinition::with_ids(meta_node_ids, data_node_ids) to customize CnosDB cluster definition.

To start CnosDB cluster, you can

TODO

Are there any user-facing changes?

roseboy-liu
roseboy-liu previously approved these changes Dec 29, 2023
@roseboy-liu roseboy-liu merged commit 8e810c1 into cnosdb:main Jan 3, 2024
7 checks passed
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.

None yet

2 participants