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

Update from upstream #32

Merged
merged 25 commits into from
Sep 4, 2023
Merged

Update from upstream #32

merged 25 commits into from
Sep 4, 2023

Conversation

nihohit
Copy link

@nihohit nihohit commented Aug 31, 2023

No description provided.

jaymell and others added 25 commits July 14, 2023 01:25
Add basic benchmark reporting to CI
This enables keep alive on tcp sockets via keep-alive feature.
The choices were based on the request_policy tip from the COMMAND
output.
Trying to avoid bumping MSRV to 1.63 just for a
dev dependency.
This caused panics when the node was in the wrong state.
This will give us more data on test failure.
This adds ~10 minutes to previous test run time, in order to leave a
comfortable margin, while still significantly reducing the run time of
the task in case it gets stuck. Without defining this, the task runs
for 6 hours.
* Release redis 0.23.2 / redis-test 0.2.2

* Update rust version for CI, due to tokio update.

* Update rust-version in cargo.toml.

* Fix lints.
The extern crate statement used to be an important part of rust, several years ago.

These days it's a point of confusion for newcomers without adding any value, and should be omitted.
The test was broken by version 1.0.105 of serde_json, due to
serde-rs/json#1055 .
* Add NOTBUSY error code.

* async cluster: Group responses by response_policy.

This change implements the response_policy tip in the async cluster.
https://redis.io/docs/reference/command-tips/#response_policy

This means that the results from fan-out commands will be aggregated
differently, based on the sent command.
* Determine the type of a key

* modify the name of the function for determining the type of a key

* add unit test for cmd type

* unit test for key_type function

* edit unit test test key_type after cargo fmt --all -- --check

---------

Co-authored-by: MARONE <[email protected]>
This fixes a bug where 2 servers use the same port, because
`get_random_available_port` is called before the first server manages to
use its port. This should reduce test flakyness.
@nihohit nihohit requested a review from barshaul August 31, 2023 11:58
@nihohit nihohit merged commit 694fb7b into main Sep 4, 2023
10 checks passed
@nihohit nihohit deleted the update-from-upstream branch September 14, 2023 17:43
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.

8 participants