forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
state-dumper: Don't store state parts in the database (near#12486)
When the state dumper genrates state parts to upload to GCS, it stores them in the StateParts column before doing so. But it never reads these parts after storing them. Storing these parts is not a free operation, because on a forknet run with recent mainnet state, just the storage of the part took on the order of 50-100 millis. Over several thousand parts, that's a nontrivial slowdown for no good reason.
- Loading branch information
1 parent
be5aa7b
commit 9e4933b
Showing
1 changed file
with
4 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters