-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[dag] broadcast nodes within window till all validators ack #11751
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
⏱️ 5h 45m total CI duration on this PR
🚨 3 jobs on the last run were significantly faster/slower than expected
|
2449040
to
89ba377
Compare
10f4f30
to
a472f03
Compare
89ba377
to
d16b70c
Compare
a472f03
to
ee925d8
Compare
d16b70c
to
b26c1f4
Compare
ee925d8
to
1b0b98e
Compare
@@ -93,7 +97,7 @@ impl DagDriver { | |||
payload_client, | |||
reliable_broadcast, | |||
time_service, | |||
rb_abort_handle: Mutex::new(None), | |||
rb_handles: Mutex::new(BoundedVecDeque::new(window_size_config as usize)), |
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.
Do we have to use the same window size here?
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.
We could increase, but let's keep this for now.
consensus/src/dag/dag_driver.rs
Outdated
fn drop(&mut self) { | ||
if let Some((handle, _)) = self.rb_abort_handle.lock().as_ref() { | ||
handle.abort() | ||
struct BoundedVecDeque<T> { |
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.
nit: probably move it to a util, and use it for the sliding window inside MetadataBackendAdapter too. also small unit tests would be good
b26c1f4
to
373112d
Compare
ba071cb
to
1deb748
Compare
373112d
to
3f6f138
Compare
1deb748
to
012db41
Compare
36ce28f
to
e8c3ad1
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
Description
Test Plan