radicle-heartwood-lfs/radicle-node/src
Alexis Sellier c3a5aced07
node: Handle case of crossing fetch requests
It is possible for a pair of nodes to concurrently ask each other
to fetch some repo. These "crossing" requests are problematic,
because the nodes end up waiting for each other to reply, and
the reply never comes.

With this change, the node pair agrees on proceeding with one of
the fetches, while canceling the other.
2023-03-07 16:22:22 +01:00
..
address node: Use millisecond precision for timestamps 2023-02-14 20:31:40 +01:00
runtime node: implement tracking and routing 2023-03-07 15:38:41 +01:00
service node: Handle case of crossing fetch requests 2023-03-07 16:22:22 +01:00
test node: implement tracking and routing 2023-03-07 15:38:41 +01:00
tests node: improve seeds information 2023-02-27 17:48:11 +01:00
wire node: Update `localtime` crate 2023-03-07 10:47:12 +01:00
address.rs Remove unused type 2022-10-18 12:37:01 +02:00
bounded.rs node: Complete the "relay" seed test 2023-02-14 20:31:40 +01:00
clock.rs node: Use millisecond precision for timestamps 2023-02-14 20:31:40 +01:00
control.rs node: wire up connect command 2023-03-07 15:38:41 +01:00
deserializer.rs Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00
lib.rs crypto: Cleanup `hash` module 2023-02-17 10:51:27 +01:00
logger.rs Rust 1.67 2023-02-04 19:30:29 +01:00
main.rs node: Minor logging improvements 2023-03-06 15:39:07 +01:00
runtime.rs node: Add `--tracking-policy` flag 2023-02-27 13:46:40 +01:00
service.rs node: Handle case of crossing fetch requests 2023-03-07 16:22:22 +01:00
signals.rs node: Handle `SIGINT` and `SIGTERM` properly 2023-02-14 13:28:16 +01:00
sql.rs Use database transactions where appropriate 2022-11-08 09:39:23 +01:00
test.rs node: Create shared test environment 2023-02-07 10:46:12 +01:00
tests.rs node: Remove redundant handshake 2023-02-16 15:10:31 +01:00
wire.rs crypto: Cleanup `hash` module 2023-02-17 10:51:27 +01:00
worker.rs cob: Don't require a local fork to exist 2023-03-01 15:40:30 +01:00