Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion batch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func testBatchWithFlusher(t *testing.T) {

batchWithFlusher := NewBatchWithFlusher(db, DefaultOptions().FlushThreshold)

// we'll try to to commit 10MBs (1000 * 10KBs each entries) of data into the db
// we'll try to commit 10MBs (1000 * 10KBs each entries) of data into the db
for keyNonce := uint16(0); keyNonce < 1000; keyNonce++ {
// each value is 10 KBs of zero bytes
key := makeKey(keyNonce)
Expand Down
2 changes: 1 addition & 1 deletion cmd/iaviewer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Now, if you run `ls -l`, you should see two directories... `bns-a.db` and `bns-b
iaviewer versions ./bns-a.db ""
```

This should print out a list of 20 versions of the code. Note the the iavl tree will persist multiple
This should print out a list of 20 versions of the code. Note the iavl tree will persist multiple
historical versions, which is a great aid in forensic queries (thanks Tendermint team!). For the rest
of the cases, we will consider only the last two versions, 190257 (last one where they match) and 190258
(where they are different).
Expand Down
2 changes: 1 addition & 1 deletion nodedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ func (ndb *nodeDB) deleteVersion(version int64, cache *rootkeyCache) error {
}

if errors.Is(err, ErrVersionDoesNotExist) {
ndb.logger.Error("Error while pruning, moving on the the next version in the store", "version missing", version, "next version", version+1, "err", err)
ndb.logger.Error("Error while pruning, moving on the next version in the store", "version missing", version, "next version", version+1, "err", err)
}

if rootKey != nil {
Expand Down