-
Notifications
You must be signed in to change notification settings - Fork 57
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
Range based gets #2224
Range based gets #2224
Conversation
90aa07d
to
ca949c0
Compare
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.
sn_client crate is obsoleted
most of the work in the sn_client shall be shifted
into the autonomi
crate.
ca949c0
to
a8e4ea0
Compare
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
timeout-minutes: 1 | ||
# get the counts, then the specific line, and then the digit count only | ||
# then check we have an expected level of restarts | ||
# TODO: make this use an env var, or relate to testnet size |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
416a2fc
to
985a373
Compare
.github/workflows/merge.yml
Outdated
timeout-minutes: 1 | ||
# get the counts, then the specific line, and then the digit count only | ||
# then check we have an expected level of restarts | ||
# TODO: make this use an env var, or relate to testnet size |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note
0414408
to
2105881
Compare
… range replication
merge the results after we see split record. Use Quorum::Majority at least (instead of Quorum::One)
this indirectly affects how many close nodes returned and could stymie the GetRange effectiveness
ie, even if query times out if we have peers, we update seems like we timeout more due to high K_VALUE
previously we just dropped any attempt at comms there
7daed93
to
0a500d0
Compare
69cb217
to
972610c
Compare
…sedGets"" This reverts commit 09c36c8.
…sedGets"" This reverts commit 09c36c8.
…/RangeBasedGets""" This reverts commit 49115fd.
Revert "Revert "Revert "Merge pull request #2224 from joshuef/RangeBasedGets"""
This pull request includes several changes to the
.github/workflows/merge.yml
file and thesn_client
module to improve functionality and error handling. The most important changes include updating job steps in the GitHub Actions workflow, adding new methods and parameters in thesn_client
API, and refining error handling in thesn_client
module.GitHub Actions Workflow Improvements:
.github/workflows/merge.yml
.safe_test_logs_data_location_routing_table
in.github/workflows/merge.yml
..github/workflows/merge.yml
[1] [2].sn_client
API Enhancements:KBucketDistance
to the imports and introduced theget_range
method insn_client/src/api.rs
[1] [2].get_signed_register_from_network
method to includeis_verifying
parameter and adjusted related methods to use this parameter for quorum and retry strategy [1] [2] [3].Error Handling Improvements:
FaucetDisbursement
andNoCashNoteFound
insn_client/src/error.rs
[1] [2].CouldNotVerifyTransfer
error variant and replaced its usage with more specific errors [1] [2].Miscellaneous:
sn_client/src/faucet.rs
.sn_client/src/test_utils.rs
.