Skip to content

Commit

Permalink
stop padding new append vecs to page size
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwashington committed Oct 9, 2023
1 parent 0526775 commit 68782de
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5733,11 +5733,7 @@ impl AccountsDb {
.create_store_count
.fetch_add(1, Ordering::Relaxed);
let path_index = thread_rng().gen_range(0..paths.len());
let store = Arc::new(self.new_storage_entry(
slot,
Path::new(&paths[path_index]),
Self::page_align(size),
));
let store = Arc::new(self.new_storage_entry(slot, Path::new(&paths[path_index]), size));

debug!(
"creating store: {} slot: {} len: {} size: {} from: {} path: {:?}",
Expand Down

0 comments on commit 68782de

Please sign in to comment.