-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove mutex in prefixdb (#239)
* fix: remove mutex in prefixdb * fmt * fmt * Delete .gitpod.yml * remove mutex entirely instead of commenting out * fmt * remove .gitpod.yml * update changelog * prefixdb test * all test passed in prefixdb_test.go * simple taskKey in prefixdb_test.go * Update prefixdb.go Co-authored-by: M. J. Fromberger <[email protected]> * fmt db test so pr passes linter * refactor func Run * check nil err before create PrefixDB in TestWithGolevelDB * add other db tests * Update prefixdb_test.go Co-authored-by: M. J. Fromberger <[email protected]> * update prefixdb_test.go * minor defer * fixup with build tags * Create .gitpod.yml * fix linting * itr.isInvalid would be unconditionally set anyhow, which is why the itr.isInvalid were considered to be ineffective assignments by the linter. * Update cleveldb_test.go Co-authored-by: M. J. Fromberger <[email protected]> * Update prefixdb_test.go Co-authored-by: M. J. Fromberger <[email protected]> * Update prefixdb_test.go Co-authored-by: M. J. Fromberger <[email protected]> * Firing this into CI, let's see. * add filepath lib to tests * fix filepath in goleveldb * gofumpt formatting Co-authored-by: jess <[email protected]> Co-authored-by: vuong <[email protected]> Co-authored-by: khanh <[email protected]> Co-authored-by: M. J. Fromberger <[email protected]> Co-authored-by: romelukaku <[email protected]>
- Loading branch information
1 parent
d1b9b74
commit 00fb04a
Showing
21 changed files
with
192 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This configuration file was automatically generated by Gitpod. | ||
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file) | ||
# and commit this file to your remote git repository to share the goodness with others. | ||
|
||
image: tendermintdev/docker-tm-db-testing | ||
|
||
# this means that there's a one-click known good environment available to developers. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
- remove mutex from prefixdb | ||
|
||
## 0.6.7 | ||
|
||
**2022-2-21** | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//go:build boltdb | ||
// +build boltdb | ||
|
||
package db | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//go:build boltdb | ||
// +build boltdb | ||
|
||
package db | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//go:build cleveldb | ||
// +build cleveldb | ||
|
||
package db | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//go:build cleveldb | ||
// +build cleveldb | ||
|
||
package db | ||
|
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
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
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
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
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
Oops, something went wrong.