-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4045 from oasisprotocol/ptrus/stable/21.2.x/backp…
…ort-multi [BACKPORT/21.2.x] Multiple dependency updates and fixes
- Loading branch information
Showing
28 changed files
with
300 additions
and
63 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
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,4 @@ | ||
go/oasis-net-runner: allow setting runtime provisioner | ||
|
||
On systems that do not support bwrap, the runtime provisioner can be | ||
set to `unconfined`. |
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,4 @@ | ||
go/oasis-net-runner: allow running without a keymanager | ||
|
||
This feature makes it easier to run debug runtimes that are not (yet) | ||
associated with a keymanager. |
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 @@ | ||
runtime-loader: allow bulding for non-SGX use on platforms that aren't Linux |
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,8 @@ | ||
badger/migration: keep only last version when migrating non-managed DB | ||
|
||
Even though oasis-core always configures non-managed badger databases to keep | ||
a single version of keys, some databases in the wild contain multiple versions | ||
of the same key. | ||
|
||
Skip migrating more than the latest version when migrating non-managed | ||
badger databases. |
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,5 @@ | ||
badger/migration: `badger.migrate.num_go_routines` flag | ||
|
||
The flag enables controlling the number of go routines badger uses when | ||
doing the v2 -> v3 migration. Use the flag to lower memory pressure during | ||
the migration, by lowering the amount of workers to e.g. 1. |
Empty file.
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,12 @@ | ||
Build `oasis-node` with `jemalloc` tag (used by BadgerDB) | ||
|
||
In BadgerDB V3 using `jemalloc` seems to be recommended and better supported | ||
option ([1], [2]). Based on testing using `jemalloc` reduces BadgerDB memory | ||
usage. | ||
|
||
To build `oasis-node` without `jemalloc` requirement, set the | ||
`OASIS_BADGER_NO_JEMALLOC="1"` environment variable before invoking the | ||
makefile. | ||
|
||
[1]: https://dgraph.io/blog/post/manual-memory-management-golang-jemalloc/ | ||
[2]: https://discuss.dgraph.io/t/memory-issue-during-stream-operation/13033 |
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,5 @@ | ||
badger/migration: `badger.migrate.num_go_routines` flag | ||
|
||
The flag enables controlling the number of go routines badger uses when | ||
doing the v2 -> v3 migration. Use the flag to lower memory pressure during | ||
the migration, by lowering the amount of workers to e.g. 1. |
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 @@ | ||
go/oasis-net-runner: Fix keymanager use determination |
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
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.