Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
removes backport merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
behzadnouri committed Jun 23, 2021
1 parent 5f12952 commit 1e92b5e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions gossip/src/cluster_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2198,23 +2198,7 @@ impl ClusterInfo {
timeouts: &HashMap<Pubkey, u64>,
) -> (usize, usize, usize) {
let len = crds_values.len();
<<<<<<< HEAD
trace!("PullResponse me: {} from: {} len={}", self.id, from, len);
let shred_version = {
let gossip = self.gossip.read().unwrap();
gossip.crds.get_shred_version(from).unwrap_or_default()
};
Self::filter_by_shred_version(
from,
&mut crds_values,
shred_version,
self.my_shred_version(),
);
let filtered_len = crds_values.len();

=======
trace!("PullResponse me: {} from: {} len={}", self.id(), from, len);
>>>>>>> 69a5f0e6c (filters crds values obtained through gossip by their shred version (#18072))
let mut pull_stats = ProcessPullStats::default();
let (filtered_pulls, filtered_pulls_expired_timeout, failed_inserts) = self
.time_gossip_read_lock("filter_pull_resp", &self.stats.filter_pull_response)
Expand Down

0 comments on commit 1e92b5e

Please sign in to comment.