Skip to content

Commit

Permalink
sort share set members
Browse files Browse the repository at this point in the history
  • Loading branch information
emostov committed Apr 22, 2024
1 parent cc62f7d commit 119ce01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qos_core/src/protocol/services/reshard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ impl ReshardInput {
/// Make sure reshard input is deterministic
pub fn deterministic(&mut self) {
self.quorum_keys.sort();
self.new_share_set.members.sort();
self.old_share_set.members.sort();
}

fn validate(&mut self) -> Result<(), ProtocolError> {
Expand Down

0 comments on commit 119ce01

Please sign in to comment.