Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/go-gitea/bolt
An embedded key/value database for Go.
https://github.com/go-gitea/bolt
Add get/build targets to Makefile
fef1aad638b5ef512845abd8b910d620027091a6 authored almost 11 years ago by Ben Johnson <[email protected]>0781aa9637356175a4249f1e62a14daa21c9666a authored almost 11 years ago by Steven Normore <[email protected]>
Fix typo in README
e51eb4e243d5d72ede4151c2531e832d91341e2a authored almost 11 years ago by Ben Johnson <[email protected]>4d442e03d5c41f6c6abaf4577dc8de51901c7187 authored almost 11 years ago by Steven Normore <[email protected]>
feb84e39be469e2db15c1bd87f31cac08872501d authored almost 11 years ago by Ben Johnson <[email protected]>
Rename internal local Tx variables.
3f7dbffa2e75f859efbc391d0e6a2a2955a84fcb authored almost 11 years ago by Ben Johnson <[email protected]>
This commit changes the local Tx variables from "t" to "tx". This is partly
for consistency with...
Add Tx.OnCommit() handler.
af1551e8ddcf1c11c5fe9f0a68a36692cce61937 authored almost 11 years ago by Ben Johnson <[email protected]>
This commit adds the ability to execute a function after a transaction has
successfully committed.
Add 'Scuttlebutt' to list of projects that use Bolt.
d667ae0fe1f8e2dc01a1503755db66fb6c20ef70 authored almost 11 years ago by Ben Johnson <[email protected]>Add meta page checksums.
71fa5d861050c97835f5b31536c4ebbea4073336 authored almost 11 years ago by Ben Johnson <[email protected]>
This commit adds checksums to the meta pages on every write. When the
database loads, it verifie...
Add performance counters.
20a1479c4c7ff050fe6ecdec9f13a9b3eb29c760 authored almost 11 years ago by Ben Johnson <[email protected]>
This commit adds performance counters for each transaction which are rolled
up to the database l...
Add advisory file locking.
c5823a20bd6173f050eee7e5ff9c4280293729c9 authored almost 11 years ago by Ben Johnson <[email protected]>This commit adds advisory locking via flock() to the database file. This ensures that two separa...
1eacfa948968c483d3232e4ca8e0a32df39f81e9 authored almost 11 years ago by Ben Johnson <[email protected]>Consolidate file and metafile descriptors.
1c3ebaebae8429f2f74beeb3e6ae3403d5474f68 authored almost 11 years ago by Ben Johnson <[email protected]>
Previously, a two file descriptors were used for the database: file & metafile. The "file" file
...
Remove the 'Internals' section since it is half-assed right now.
76acd60ff33648fcf8e761d36198c32caed8227a authored almost 11 years ago by Ben Johnson <[email protected]>8c5646982cbeb82a99afe4a65cd19e6a4f95156d authored almost 11 years ago by Ben Johnson <[email protected]>
The count and overflow columns are meaningless for freed pages since
there could be random overf...
Add DVID to projects using Bolt
4364c2f7f63628a9d767834e7b44ce58506f7c91 authored almost 11 years ago by Ben Johnson <[email protected]>DVID added Bolt as an optional storage engine.
6dd15bbf70313f2ac41b288528e5d900cdc7ee86 authored almost 11 years ago by Bill Katz <[email protected]>Remove DB.Open() and only allow bolt.Open().
4870e5fe8c2aacdec4d1caddd9da0b75fdbd7678 authored almost 11 years ago by Ben Johnson <[email protected]>
Per @tv42's suggestion, this commit removes the ability to reopen an
instance of DB. All open ca...
Write freelist after each commit.
b5c1715a36de567a5950a911a9ef2a90876610db authored almost 11 years ago by Ben Johnson <[email protected]>
Well, this is embarassing. Somehow the freelist was never getting written after each commit.
Thi...
Add DB.Check().
fcce87626ceeb4e9477b915f89aa0e9e3add5860 authored almost 11 years ago by Ben Johnson <[email protected]>7f2de9f17a8c6113176ecb5a3eb6ecc0772a9ec1 authored almost 11 years ago by Ben Johnson <[email protected]>
Refactor bolt commands into individual files.
7dafeaa896ac5626e97d17a2d9262518a2bc64c0 authored almost 11 years ago by Ben Johnson <[email protected]>fea388b03d67a26a6bb13e9b9363b15e72b7f2c5 authored almost 11 years ago by Ben Johnson <[email protected]>
Fix DB.Copy() meta lock and partial write checks.
b10aa18c8872572072890a59eda62c4387084271 authored almost 11 years ago by Ben Johnson <[email protected]>f45f1ed8d4abb610333db8f86ce0e3a1b0808c1a authored almost 11 years ago by Ben Johnson <[email protected]>
Fix quickcheck test for duplicate keys.
2327fd97d71e1db1b7794757912bd6f384741ef0 authored almost 11 years ago by Ben Johnson <[email protected]>03ba0d1d4dfed59dc95395155c80ea14c8c82d3a authored almost 11 years ago by Ben Johnson <[email protected]>
Fix bucket reclamation
381d08dffdc123a32e4f8161dfc45dc2798e579c authored almost 11 years ago by Ben Johnson <[email protected]>The bucket page is allocated separately from the rest of the pages but the old bucket pages were...
d8e4cffa12444da138a4fd0f67dfd665844c9912 authored almost 11 years ago by Ben Johnson <[email protected]>Add a list of "Other Projects Using Bolt".
32da80f95335e0e522d296454a22d3a69591aecc authored almost 11 years ago by Ben Johnson <[email protected]>Make DB/Tx API more consistent.
2bc868c4663468c38aa5d5523138b8837993db8a authored almost 11 years ago by Ben Johnson <[email protected]>
I consolidated the DB.Tx() and DB.RWTx() calls into a single
DB.Begin(writable bool) call. This ...
Error refactoring
0866abf73389b826d61c6096c5f46cd19d947f94 authored almost 11 years ago by Ben Johnson <[email protected]>Fixed up a few error issues and refactored out the Error type.
59fde2f6648c532a6c70263b98c6cc3142004630 authored almost 11 years ago by Ben Johnson <[email protected]>Re-add tests for write failures
7ea635c8fc6c9fc947905688b72a83be86416597 authored almost 11 years ago by Ben Johnson <[email protected]>
Commit d2173f5f0ecbf4ed93c768e975435b04df3186ec removed the complete
os & syscall mocking layer ...
3c1ecb925ef3748ba25111599a5d3a439224204b authored almost 11 years ago by Ben Johnson <[email protected]>
cb896f65251046f955183e96145bfdd37f3fa89a authored almost 11 years ago by Tommi Virtanen <[email protected]>
Write errors are often delayed and reported only by the close.
The extra close in defer on succ...
e0a6f5b2af6a09ab42dc46748be9291a16895bc7 authored almost 11 years ago by Tommi Virtanen <[email protected]>bfb02aec20b482dbbdf6c61121698bed4f85e229 authored almost 11 years ago by Tommi Virtanen <[email protected]>
Add ErrTxClosed error.
42bc0f210ad58b4cb9b67232f080c2ebb48b6a6d authored almost 11 years ago by Ben Johnson <[email protected]>
Commit/Rollback and mutable calls on Tx and Bucket now return ErrTxClosed
if the transaction has...
Mark Do()/With() transaction as managed.
8303617b72cc0caf4cf7b70a8470c32a389186be authored almost 11 years ago by Ben Johnson <[email protected]>
Transaction created from Do() and With() are now considered "managed".
Managed transactions cann...
fdatasync
1282a4aff765af4f9975faa18b6255ea18e2598f authored almost 11 years ago by Ben Johnson <[email protected]>a10ce47f54a5c57292d11faec14e398f11b7ae4f authored almost 11 years ago by Ben Johnson <[email protected]>
fd8a13e837f23972abb72bb6b462e53ff7c717ae authored almost 11 years ago by Ben Johnson <[email protected]>
Fix 32bit build
f0e582d9105f53bcab395215840f9291489691d2 authored almost 11 years ago by Ben Johnson <[email protected]>540d94614d1047d280e898a416a59e21b78359f2 authored almost 11 years ago by binz <[email protected]>
This avoids a case where writes can be reordered so meta page is
written before a page it refers...
CLI
6d6303a0a2f4252f8fb9d8b610f1d49f76112b12 authored almost 11 years ago by Ben Johnson <[email protected]>4f4e15e6dddab77573fb6a53eee3e0766ab52e39 authored almost 11 years ago by Ben Johnson <[email protected]>
845a4d47ce37cfe51e285e78430aa363dbbf1a59 authored almost 11 years ago by Ben Johnson <[email protected]>
64a52452d32d2552c71bc4d4424b8a578a2103ed authored almost 11 years ago by Ben Johnson <[email protected]>
0e4d77d424b2f18c76da7643de88b462b86310f2 authored almost 11 years ago by Ben Johnson <[email protected]>
8fa6531b1cff8288d453dafa656753fb08192aeb authored almost 11 years ago by Ben Johnson <[email protected]>
e8d3ae6287ff3e8efa8d3583bb805a3b8dd8e84f authored almost 11 years ago by Ben Johnson <[email protected]>
Fix db.munmap() to return an error.
e86296ede75c8e4dfe8bc26482ec2718ad3ea3e2 authored almost 11 years ago by Ben Johnson <[email protected]>
Changes munmap to return an error and the DB now implements io.Closer.
I also removed all the OS...
Remove ease-of-use functions from the DB type.
2eea5766aee5a0087d8ee98759b1804af4bc87c7 authored almost 11 years ago by Ben Johnson <[email protected]>
Functions such as DB.Put(), DB.Get(), and DB.Delete() were originally
added to be easy to use, h...
Fix Tx.Buckets() sort order.
1c7b59a4c221bde00f84a1873fca7ad0a27b0131 authored almost 11 years ago by Ben Johnson <[email protected]>26afa92faff08c9ffbbbedabe4c1d16a72e81c54 authored almost 11 years ago by Ben Johnson <[email protected]>
Skip long-running tests with go test -short
60fd6f6604e598bf9ef2252f518a70ae6dcc4dda authored almost 11 years ago by Ben Johnson <[email protected]>ed909b43ea7bb591ffd07e94f51bee14a6f72ac7 authored almost 11 years ago by Tommi Virtanen <[email protected]>
@tv42 reported an issue with bucket names returning incorrectly. Not sure if
this fixes the issu...
Fix Cursor.Last() on empty buckets.
fdd7f2162e42cb534963c0ca6f8b3c9b71ed693b authored almost 11 years ago by Ben Johnson <[email protected]>
@tv42 reported that creating a cursor on an empty bucket and then calling
Cursor.Last() causes a...
b9b69d867a3bad3c04170504e1e0e19fa4bfda70 authored almost 11 years ago by Ben Johnson <[email protected]>
Consolidate Tx and RWTx
4e252b8a7f3df03ff8a079de1e3d7c64f0fcde6d authored almost 11 years ago by Ben Johnson <[email protected]>Rename Transaction to Tx.
a32d0c5c5f7913f09e2489ba3545a9e2d4865698 authored almost 11 years ago by Ben Johnson <[email protected]>c551e45a4722f58dc4c19f9d1b80b0b8db3ad039 authored almost 11 years ago by Ben Johnson <[email protected]>
I changed the Transaction/RWTransaction types to Tx/RWTx, respectively. This makes the naming
mo...
64fcacedfa3e59e9dbb0cc0d2b3de71cae3290df authored almost 11 years ago by Ben Johnson <[email protected]>
3a1b152562a98de231f73e35c4df03994268328e authored almost 11 years ago by Ben Johnson <[email protected]>
Allow reads of unflushed nodes.
7214e089c0f78fce8fb1e00f09f7d2b54c88bdbe authored almost 11 years ago by Ben Johnson <[email protected]>
This commit allows cursors to read updated values from within the
RWTransaction.
1eb9e0902824fff3e7a943d421e83c7d30f43176 authored almost 11 years ago by Ben Johnson <[email protected]>
956453b69fd8ba9a356edcf81597d90d769311b2 authored almost 11 years ago by Ben Johnson <[email protected]>
Fix the mmap resize to use the correct size.
9abba5dfa20c5fa9501edfcd4486a5cfecedefe2 authored almost 11 years ago by Ben Johnson <[email protected]>
Fixes #54. Previously the DB was calculating a minimum mmap size but
using the wrong variable af...
After RWTransaction.DeleteBucket() is called, all pages related to the
bucket are moved to the f...
Add bolt.Open()
0209ad2ed4d215462f5b91958da495be89eff2c0 authored almost 11 years ago by Ben Johnson <[email protected]>
Per the suggestion of @tv42 and @cespare, this commit adds a package level
function to create an...
Add an reference to the RWTransaction onto Transaction so that calls to
Transaction.Bucket() and...
Refactor Bucket
488785df0968d45efe50564aa8d7c26610553221 authored almost 11 years ago by Ben Johnson <[email protected]>a544249dd8fb2ff76215a2563c2b8f3ab2ccffdb authored almost 11 years ago by Ben Johnson <[email protected]>
This reverts commit 1ad2b99f281d587b767b36f886401e81d17915a9.
3b2fd8f2d3e376fa7a3f3b2ba665fcd4a5b5bb15 authored almost 11 years ago by Ben Johnson <[email protected]>Refactor Transaction/Bucket API
7f2fe0e1ed43f121c90cbc8ef7fb9304d15cb868 authored almost 11 years ago by Ben Johnson <[email protected]>1ad2b99f281d587b767b36f886401e81d17915a9 authored almost 11 years ago by Ben Johnson <[email protected]>
Database Stats
8f2f261931fcd54e6d987bf6ce5eb85a777136c2 authored almost 11 years ago by Ben Johnson <[email protected]>9827df70e040f6ee5fa9b615d5796d0af5c55cbc authored almost 11 years ago by Ben Johnson <[email protected]>