Rwlock storage opt (#9006)

* Remove unecessary account paths rwlock

* Remove path rwlock in accounts_db and optimize storage critical section
This commit is contained in:
sakridge
2020-03-22 10:04:03 -07:00
committed by GitHub
parent ff2c183ac1
commit 4dd0367136
4 changed files with 19 additions and 33 deletions

View File

@ -611,7 +611,7 @@ where
bank::StatusCacheRc::default(),
);
bank.rc
.accounts_from_stream(stream.by_ref(), account_paths, &append_vecs_path)?;
.accounts_from_stream(stream.by_ref(), &append_vecs_path)?;
Ok(bank)
},
)?;