Commit Graph

180 Commits (09ff73b9a728580290b782419771e747c275c8e4)

Author SHA1 Message Date
Cancai Cai a9ef55e777 chore/docs: installing document description should use bbolt
Signed-off-by: cancaicai <2356672992@qq.com>
2024-11-07 00:32:07 +08:00
Erik Kalkoken 0cecda66e0
Add info on how to iterate over existing buckets (#828)
* Add info on how to list existing top-level buckets

Signed-off-by: ErikKalkoken <erik.kalkoken@gmail.com>
2024-08-29 13:47:38 +01:00
Anthony Nandaa b8f9c332f4 docs: add few more projects using bbolt
bbolt is extensively used in the container world.
I have just added the prominent projects here but
I'm sure we have a few more.

Signed-off-by: Anthony Nandaa <profnandaa@gmail.com>
2024-05-23 19:13:01 +03:00
Benjamin Wang 5159803c62 Update readme to clearly clarify the behaviour of Next and Prev
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-05-02 16:26:36 +01:00
ChengenH b005c0c435 chore: use errors.New to replace fmt.Errorf with no parameters will much better
Signed-off-by: ChengenH <hce19970702@gmail.com>
2024-04-21 21:35:18 +08:00
Benjamin Wang 432a97935b Add a known issue on the writing a value with a length of 0 always result in reading back an empty []byte{} value
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2024-04-17 17:23:38 +01:00
Park Zhou 2e41a6711c README.md: fix typo
Signed-off-by: Park Zhou <ideapark@139.com>
2024-03-10 23:01:09 +08:00
mojighahar af1fd0d5a6 add portainer to bolt users
Signed-off-by: Mojtaba Ghahari <mojighahar@gmail.com>
2024-01-13 14:49:25 +03:30
Wei Fu ae4ae4a0f9 README.md: introduce known issue section
The users might run into data corrupted issues caused by underlay filesystem.
It's out of scope for bboltdb maintainers to fix filesystem issue. But
the section to track known issues can help users and contributors to analyse
root cause when they run into data corrupted issues.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-01-12 19:38:51 +08:00
Benjamin Wang 173f1cfa74 update doc to clarify the behavior when removing key/value pair during iteration
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2023-12-06 09:37:44 +00:00
Ishan Tyagi 7cab6be2ae Documentation: standardised examples in README.md to use file mode:0600
Signed-off-by: Ishan Tyagi <ishantyagi25@gmail.com>
2023-07-26 00:27:38 +05:30
Benjamin Wang 504e7be72c
Merge pull request #510 from mjl-/master
add github.com/mjl-/bstore to list of projects using bbolt
2023-05-24 15:57:10 +08:00
Mechiel Lukkien 3501667d55
Update import paths used to pkg.go.dev and go report card
They pointed to github.com/etcd-io/bbolt, which only returns the bbolt version
from before the module path change. Some time ago, I caught myself using the
older github.com import path, and I suspect it was because of these links.

This changes the link from godoc.org to pkg.go.dev, and uses the badge from
https://pkg.go.dev/badge/.

Signed-off-by: Mechiel Lukkien <mechiel@ueber.net>
2023-05-23 09:40:02 +02:00
Mechiel Lukkien dbbfc0ec54
add github.com/mjl-/bstore to list of projects using bbolt
Signed-off-by: Mechiel Lukkien <mechiel@ueber.net>
2023-05-23 09:36:39 +02:00
Cenk Alti 6ec43f8da3
Add bucket retrieve example to README
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-05-16 16:04:31 -04:00
Benjamin Wang f63484f54d remove codecov and build badges
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-04-23 11:04:52 +08:00
Sarthak af055376f6
Add example for Bucket.Delete() in README.md
The example is similar to the examples for `Bucket.Put()` and `Bucket.Get()` functions, so it does not breaks the layout. Signed-off-by: Sarthak2143 <sarthaktomar2143@gmail.com> .

Co-authored-by: Benjamin Wang <wachao@vmware.com>
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-03-13 23:14:42 -04:00
Benjamin Wang c2edb1308f Update guide/command to get or install bbolt
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-12-29 17:29:28 +08:00
Piotr Tabor a3749e4c36
Merge pull request #287 from dramirez-qb/patch-1
Update README.md fixed typo
2022-12-21 21:39:15 +01:00
chunming.dong f84fe98fde
fix lmdb link (#300) 2022-01-28 18:32:44 -08:00
Daniel Ramirez 8cec42f1ce
Update README.md 2021-08-02 10:44:15 +03:00
Julien Ammous 8e7d6335c9
remove dead links (#242)
* remove dead link

the url points towards a catch all domain

* removed dead link
2021-04-23 17:34:06 -07:00
zc310 10ac1b3d40
Add BoltDB Viewer to projects section in README (#255)
Co-authored-by: zc310.tech <support@zc310.tech>
2021-04-23 17:33:28 -07:00
jrapoport a737c40a29
Add Chestnut to os projects in README.md
added Chestnut to the list of open source projects that use bbolt.
https://github.com/jrapoport/chestnut
2021-01-13 00:06:58 -08:00
Cenk Altı f6be823028
Add Rain torrent library to projects section in README (#232) 2020-08-07 13:57:53 -07:00
James Ravn 6dc724cf03
Clarify transaction section (#59)
Even nested read-only transactions can cause deadlocks. This is due to golang's RWMutex behaviour.
It doesn't allow readers to acquire a lock if a write lock is pending. It's possible for a child read-only
transaction to block trying to acquire `mmaplock.RLock`, while a writer is trying to acquire
`mmaplock.Lock`. As a result, the parent transaction never releases its read lock on `mmaplock`, and the
application deadlocks.

This wasn't clear to me from the provided docs, which just mentions read/write and read transactions being nested.
2020-04-06 14:46:16 -07:00
Nicolas Lepage da442c51f1 Add github.com/philippgille/gokv in the list of Projects Using Bolt (#200) 2020-01-21 09:05:14 -08:00
AbserAri 6e135e5d7e DB.CreateBucket() -> Tx.CreateBucket() (#178)
there is not a method for DB called CreateBucket()
2019-10-01 09:49:32 -07:00
Derek Collison 7c53bc0328 Added NATS and NATS Streaming (#164) 2019-06-28 01:08:48 +08:00
Ross Spencer 22d122a8b9 Add kval-access-language to README.md (#133) 2018-12-07 17:02:42 -08:00
vcaesar bd1da6196b The list of project use bolt sorted by initials 2018-09-11 13:30:28 -04:00
Michael 25c1c6d9cd Add reef-pi to project list (#119) 2018-09-09 15:15:06 -07:00
Gyuho Lee 27f3df8997 README: bbolt uses semantic versioning
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 11:43:12 -07:00
Gyuho Lee b2a561c156 README: add "Importing bbolt"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 08:20:04 -07:00
Gyuho Lee 76a4670663 *: update import paths "go.etcd.io/bbolt"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 08:15:54 -07:00
Gyuho Lee 82839da515 README: use "travis-ci.com"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-27 20:02:45 -07:00
Gyuho Lee 92164941b0 README: add travis badge
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-27 20:01:35 -07:00
Gyuho Lee 4fd8b14539 README: update repo URLs
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-27 19:24:16 -07:00
spacewander b4c13d4814 Add 'boltcli' to the list of projects that use Bolt 2017-10-29 16:55:51 +08:00
Sue Spence 235a4273ef Removed 'moribund' since some people think it's a bit derogatory towards the original developer. 2017-09-25 13:58:09 +01:00
Anthony Romano a148de800f Merge pull request #33 from heyitsanthony/cov
add coverage reports
2017-08-30 15:53:31 -07:00
Anthony Romano e6a9c1db87 add coverage reports
Fixes #11
2017-08-30 14:22:44 -07:00
Anthony Romano 92ba45fa6d README: explain purpose of bbolt fork
Fixes #31
2017-08-23 18:55:47 -07:00
Gyu-Ho Lee 9d07787d9f README: add goreportcard badge
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-11 13:41:18 -07:00
Gyu-Ho Lee 4d8f7f7f8d README: update links to 'coreos/bbolt'
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-11 12:58:44 -07:00
Ben Johnson f57d45558d Merge pull request #628 from bep/patch-1
Fix prefix scan example
2016-12-27 14:06:03 -07:00
Ben Johnson 30095231de README
Add limitation about multiple processes opening databases concurrently.
2016-12-21 08:52:12 -07:00
Bjørn Erik Pedersen 714f31f39e Fix prefix scan example
The example is correct in isolation, but if people just copy the loop, it will go into infinite loop when given an empty byte slice.
2016-12-06 21:38:41 +01:00
Tim Shannon a8a17933aa Added BoltHold and Ironsmith to the projects list 2016-11-20 21:14:40 -06:00
John C. Vernaleo 01cb4852fd Make wording a little less redundant. 2016-11-09 16:43:38 -05:00