Skip to content

Commit

Permalink
#3975 missing drop allows consensus writelock to persist across acqui…
Browse files Browse the repository at this point in the history
…sition of membership readlock (#4115)
  • Loading branch information
pls148 authored Feb 11, 2025
1 parent 3dffd4c commit cfcfca6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/task-impls/src/da.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions> DaTaskState<TYP
if let Err(e) = consensus_writer.update_saved_payloads(view_number, payload) {
tracing::trace!("{e:?}");
}
drop(consensus_writer);

// Optimistically calculate and update VID if we know that the primary network is down.
if self.network.is_primary_down() {
let consensus =
Expand Down

0 comments on commit cfcfca6

Please sign in to comment.