Skip to content

Fix locks in RocksDB repositories#517

Merged
fassadlr merged 4 commits intostratisproject:masterfrom
fassadlr:fixrocks
Apr 23, 2021
Merged

Fix locks in RocksDB repositories#517
fassadlr merged 4 commits intostratisproject:masterfrom
fassadlr:fixrocks

Conversation

@fassadlr
Copy link
Contributor

The rocks DB implementation of the repos was done by opening and closing the db connection as and when access were required which seems to slow down the sync massively. It is now in line with how the level db repos wortk by opening the connection on start up.

@fassadlr fassadlr requested review from quantumagi and zeptin April 15, 2021 09:34
@fassadlr
Copy link
Contributor Author

I have tested a full sync of Strax Mainnet

@fassadlr fassadlr merged commit 886121d into stratisproject:master Apr 23, 2021
@fassadlr
Copy link
Contributor Author

I have done:

  1. Full syncs on Strax Test / Cirrus Test
  2. Staking on Strax Test
  3. Mined in Cirrus Test

@fassadlr fassadlr deleted the fixrocks branch April 23, 2021 06:51
zeptin pushed a commit to zeptin/StratisFullNode that referenced this pull request Jun 15, 2021
* Fix locks in RocksDB repos

* Update RocksDbKeyValueRepository.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant