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

Commit

Permalink
serial insertion of bins into accounts index (#18469)
Browse files Browse the repository at this point in the history
(cherry picked from commit f5ff4b2)
  • Loading branch information
jeffwashington authored and mergify-bot committed Jul 12, 2021
1 parent ed5c11b commit ed2af2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/src/accounts_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use crate::{
use bv::BitVec;
use log::*;
use ouroboros::self_referencing;
use rayon::prelude::*;
use solana_measure::measure::Measure;
use solana_sdk::{
clock::{BankId, Slot},
Expand Down Expand Up @@ -1398,7 +1397,7 @@ impl<T: 'static + Clone + IsCached + ZeroLamport + std::marker::Sync + std::mark
let insertion_time = AtomicU64::new(0);

let duplicate_keys = binned
.into_par_iter()
.into_iter()
.map(|(pubkey_bin, items)| {
let mut _reclaims = SlotList::new();
let mut w_account_maps = self.account_maps[pubkey_bin].write().unwrap();
Expand Down

0 comments on commit ed2af2e

Please sign in to comment.