Skip to content

Commit

Permalink
go/storage/mkvs/urkel/db: Change the rootGcIndexUpdate s11n
Browse files Browse the repository at this point in the history
More `toarray` elimination, more disk consumption.  Much sad.
  • Loading branch information
Yawning committed Oct 7, 2019
1 parent 38b1fd9 commit ade6a1b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions go/storage/mkvs/urkel/db/badger/badger.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ var (

// rootGcIndexUpdate is an element of the rootGcUpdates list.
type rootGcUpdate struct {
_struct struct{} `codec:",toarray"` // nolint

EndRound uint64
StartRound uint64
Node hash.Hash
Expand Down
2 changes: 0 additions & 2 deletions go/storage/mkvs/urkel/db/leveldb/leveldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ const maxBatchSize = 100

// rootGcIndexUpdate is an element of the rootGcUpdates list.
type rootGcUpdate struct {
_struct struct{} `codec:",toarray"` // nolint

EndRound uint64
StartRound uint64
Node hash.Hash
Expand Down

0 comments on commit ade6a1b

Please sign in to comment.