diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-18 08:31:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 08:31:16 -0400 |
commit | ad33b23634d8bb9902094f8b93ea335179c487b4 (patch) | |
tree | d6eeec014e1c68bee9955736ee436b6c82484e83 /vendor/go.etcd.io/bbolt/README.md | |
parent | b5f7afd04a75c055c1626e67a067fef02af94fa9 (diff) | |
parent | 16dbc160c5f465ca1535bc13c07293f2b0dd89e5 (diff) | |
download | podman-ad33b23634d8bb9902094f8b93ea335179c487b4.tar.gz podman-ad33b23634d8bb9902094f8b93ea335179c487b4.tar.bz2 podman-ad33b23634d8bb9902094f8b93ea335179c487b4.zip |
Merge pull request #6661 from containers/dependabot/go_modules/go.etcd.io/bbolt-1.3.5
Bump go.etcd.io/bbolt from 1.3.4 to 1.3.5
Diffstat (limited to 'vendor/go.etcd.io/bbolt/README.md')
-rw-r--r-- | vendor/go.etcd.io/bbolt/README.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/vendor/go.etcd.io/bbolt/README.md b/vendor/go.etcd.io/bbolt/README.md index 2dff3761d..c9e64b1a6 100644 --- a/vendor/go.etcd.io/bbolt/README.md +++ b/vendor/go.etcd.io/bbolt/README.md @@ -152,11 +152,12 @@ are not thread safe. To work with data in multiple goroutines you must start a transaction for each one or use locking to ensure only one goroutine accesses a transaction at a time. Creating transaction from the `DB` is thread safe. -Read-only transactions and read-write transactions should not depend on one -another and generally shouldn't be opened simultaneously in the same goroutine. -This can cause a deadlock as the read-write transaction needs to periodically -re-map the data file but it cannot do so while a read-only transaction is open. - +Transactions should not depend on one another and generally shouldn't be opened +simultaneously in the same goroutine. This can cause a deadlock as the read-write +transaction needs to periodically re-map the data file but it cannot do so while +any read-only transaction is open. Even a nested read-only transaction can cause +a deadlock, as the child transaction can block the parent transaction from releasing +its resources. #### Read-write transactions |