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

Merge pull request #121 from snormore/makefile_env

Add get/build targets to Makefile

fef1aad638b5ef512845abd8b910d620027091a6 authored almost 11 years ago by Ben Johnson <[email protected]>
add get/build targets to Makefile

0781aa9637356175a4249f1e62a14daa21c9666a authored almost 11 years ago by Steven Normore <[email protected]>
Merge pull request #120 from snormore/readme_typo

Fix typo in README

e51eb4e243d5d72ede4151c2531e832d91341e2a authored almost 11 years ago by Ben Johnson <[email protected]>
fix typo in README

4d442e03d5c41f6c6abaf4577dc8de51901c7187 authored almost 11 years ago by Steven Normore <[email protected]>
Update cursor benchmark.

feb84e39be469e2db15c1bd87f31cac08872501d authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #119 from benbjohnson/tx-rename

Rename internal local Tx variables.

3f7dbffa2e75f859efbc391d0e6a2a2955a84fcb authored almost 11 years ago by Ben Johnson <[email protected]>
Rename internal local Tx variables.

This commit changes the local Tx variables from "t" to "tx". This is partly
for consistency with...

12204df0b5aaad6aeb0f498b702b0fa375fc4f95 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #118 from benbjohnson/commit-hook

Add Tx.OnCommit() handler.

af1551e8ddcf1c11c5fe9f0a68a36692cce61937 authored almost 11 years ago by Ben Johnson <[email protected]>
Add Tx.OnCommit() handler.

This commit adds the ability to execute a function after a transaction has
successfully committed.

394e42e3ebd70b10488aa791894db28e9410077c authored almost 11 years ago by Ben Johnson <[email protected]>
README

Add 'Scuttlebutt' to list of projects that use Bolt.

d667ae0fe1f8e2dc01a1503755db66fb6c20ef70 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #113 from benbjohnson/meta-checksum

Add meta page checksums.

71fa5d861050c97835f5b31536c4ebbea4073336 authored almost 11 years ago by Ben Johnson <[email protected]>
Add meta page checksums.

This commit adds checksums to the meta pages on every write. When the
database loads, it verifie...

ca83d171256885ea33508a51e855c7666fc3a140 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #112 from benbjohnson/perf-stats

Add performance counters.

20a1479c4c7ff050fe6ecdec9f13a9b3eb29c760 authored almost 11 years ago by Ben Johnson <[email protected]>
Add performance counters.

This commit adds performance counters for each transaction which are rolled
up to the database l...

686b6a334173c40ae91d3cdd7d7d759bf8851df6 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #111 from benbjohnson/flock

Add advisory file locking.

c5823a20bd6173f050eee7e5ff9c4280293729c9 authored almost 11 years ago by Ben Johnson <[email protected]>
Add advisory file locking.

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]>
Merge pull request #109 from benbjohnson/consolidate-file-descriptors

Consolidate file and metafile descriptors.

1c3ebaebae8429f2f74beeb3e6ae3403d5474f68 authored almost 11 years ago by Ben Johnson <[email protected]>
Consolidate file and metafile descriptors.

Previously, a two file descriptors were used for the database: file & metafile. The "file" file
...

4ef19124d1b3492101ccb90637f719d031ffc402 authored almost 11 years ago by Ben Johnson <[email protected]>
README

Remove the 'Internals' section since it is half-assed right now.

76acd60ff33648fcf8e761d36198c32caed8227a authored almost 11 years ago by Ben Johnson <[email protected]>
Merge branch 'master' of https://github.com/boltdb/bolt

8c5646982cbeb82a99afe4a65cd19e6a4f95156d authored almost 11 years ago by Ben Johnson <[email protected]>
Remove count and overflow columns for free pages on 'bolt pages'.

The count and overflow columns are meaningless for freed pages since
there could be random overf...

43eda94ec110d0bcba39381fb16cb04a978996ed authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #107 from DocSavage/master

Add DVID to projects using Bolt

4364c2f7f63628a9d767834e7b44ce58506f7c91 authored almost 11 years ago by Ben Johnson <[email protected]>
Add DVID to projects using Bolt

DVID added Bolt as an optional storage engine.

6dd15bbf70313f2ac41b288528e5d900cdc7ee86 authored almost 11 years ago by Bill Katz <[email protected]>
Merge pull request #104 from benbjohnson/remove-db-open

Remove DB.Open() and only allow bolt.Open().

4870e5fe8c2aacdec4d1caddd9da0b75fdbd7678 authored almost 11 years ago by Ben Johnson <[email protected]>
Remove DB.Open() and only allow bolt.Open().

Per @tv42's suggestion, this commit removes the ability to reopen an
instance of DB. All open ca...

8dafb2312b25a02bb79ef6216a5f25ad68d4e159 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #102 from benbjohnson/fix-freelist

Write freelist after each commit.

b5c1715a36de567a5950a911a9ef2a90876610db authored almost 11 years ago by Ben Johnson <[email protected]>
Write freelist after each commit.

Well, this is embarassing. Somehow the freelist was never getting written after each commit.
Thi...

440b89418f5907099cf06764ad7f2b83cf12fbcf authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #98 from benbjohnson/fsck

Add DB.Check().

fcce87626ceeb4e9477b915f89aa0e9e3add5860 authored almost 11 years ago by Ben Johnson <[email protected]>
Add DB.Check().

7f2de9f17a8c6113176ecb5a3eb6ecc0772a9ec1 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #97 from benbjohnson/cli

Refactor bolt commands into individual files.

7dafeaa896ac5626e97d17a2d9262518a2bc64c0 authored almost 11 years ago by Ben Johnson <[email protected]>
Refactor bolt commands into individual files.

fea388b03d67a26a6bb13e9b9363b15e72b7f2c5 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #92 from benbjohnson/safe-copy

Fix DB.Copy() meta lock and partial write checks.

b10aa18c8872572072890a59eda62c4387084271 authored almost 11 years ago by Ben Johnson <[email protected]>
Fix DB.Copy() meta lock and partial write checks.

f45f1ed8d4abb610333db8f86ce0e3a1b0808c1a authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #91 from benbjohnson/quickcheck

Fix quickcheck test for duplicate keys.

2327fd97d71e1db1b7794757912bd6f384741ef0 authored almost 11 years ago by Ben Johnson <[email protected]>
Fix quickcheck test for duplicate keys.

03ba0d1d4dfed59dc95395155c80ea14c8c82d3a authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #90 from benbjohnson/fix-bucket-reclamation

Fix bucket reclamation

381d08dffdc123a32e4f8161dfc45dc2798e579c authored almost 11 years ago by Ben Johnson <[email protected]>
Fix bucket reclamation.

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]>
README

Add a list of "Other Projects Using Bolt".

32da80f95335e0e522d296454a22d3a69591aecc authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #88 from benbjohnson/tx-rename

Make DB/Tx API more consistent.

2bc868c4663468c38aa5d5523138b8837993db8a authored almost 11 years ago by Ben Johnson <[email protected]>
Make DB/Tx API more consistent.

I consolidated the DB.Tx() and DB.RWTx() calls into a single
DB.Begin(writable bool) call. This ...

f8ad21bad37735eb7e47330383f204d7a49c0ff9 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #87 from benbjohnson/errors

Error refactoring

0866abf73389b826d61c6096c5f46cd19d947f94 authored almost 11 years ago by Ben Johnson <[email protected]>
Error refactoring.

Fixed up a few error issues and refactored out the Error type.

59fde2f6648c532a6c70263b98c6cc3142004630 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #86 from benbjohnson/mock

Re-add tests for write failures

7ea635c8fc6c9fc947905688b72a83be86416597 authored almost 11 years ago by Ben Johnson <[email protected]>
Re-add tests for write failures

Commit d2173f5f0ecbf4ed93c768e975435b04df3186ec removed the complete
os & syscall mocking layer ...

e9b2cab0fa6fd0536cf472967cd82f418218c81c authored almost 11 years ago by Tommi Virtanen <[email protected]>
Resolve remaining errcheck warnings.

3c1ecb925ef3748ba25111599a5d3a439224204b authored almost 11 years ago by Ben Johnson <[email protected]>
Check spill error in Commit

cb896f65251046f955183e96145bfdd37f3fa89a authored almost 11 years ago by Tommi Virtanen <[email protected]>
Check errors from file close in DB.CopyFile

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]>
Check meta page write error in Commit

bfb02aec20b482dbbdf6c61121698bed4f85e229 authored almost 11 years ago by Tommi Virtanen <[email protected]>
Merge pull request #81 from benbjohnson/tx-closed

Add ErrTxClosed error.

42bc0f210ad58b4cb9b67232f080c2ebb48b6a6d authored almost 11 years ago by Ben Johnson <[email protected]>
Add ErrTxClosed error.

Commit/Rollback and mutable calls on Tx and Bucket now return ErrTxClosed
if the transaction has...

482f00fdfc52f0b4592014b37dc9e1749a7cfd6d authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #78 from benbjohnson/tx-managed

Mark Do()/With() transaction as managed.

8303617b72cc0caf4cf7b70a8470c32a389186be authored almost 11 years ago by Ben Johnson <[email protected]>
Mark Do()/With() transaction as managed.

Transaction created from Do() and With() are now considered "managed".
Managed transactions cann...

76f6ead6b0c5bbdc6eaaf487a896e63e6ecf7bc6 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #76 from benbjohnson/fsync

fdatasync

1282a4aff765af4f9975faa18b6255ea18e2598f authored almost 11 years ago by Ben Johnson <[email protected]>
Consolidate syscall files.

a10ce47f54a5c57292d11faec14e398f11b7ae4f authored almost 11 years ago by Ben Johnson <[email protected]>
Merge branch 'fdatasync' of https://github.com/tv42/bolt into fsync

fd8a13e837f23972abb72bb6b462e53ff7c717ae authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #75 from Slacken/32bit_build_fails_bucket_go_67

Fix 32bit build

f0e582d9105f53bcab395215840f9291489691d2 authored almost 11 years ago by Ben Johnson <[email protected]>
fix 32bit build fails: bucket.go#67

540d94614d1047d280e898a416a59e21b78359f2 authored almost 11 years ago by binz <[email protected]>
Call fdatasync/fsync after writing out non-meta pages

This avoids a case where writes can be reordered so meta page is
written before a page it refers...

5ce378b046e500eadd1fb53e1b1488488488ce1f authored almost 11 years ago by Tommi Virtanen <[email protected]>
Merge pull request #74 from benbjohnson/cli

CLI

6d6303a0a2f4252f8fb9d8b610f1d49f76112b12 authored almost 11 years ago by Ben Johnson <[email protected]>
Fix print.

4f4e15e6dddab77573fb6a53eee3e0766ab52e39 authored almost 11 years ago by Ben Johnson <[email protected]>
Add 'bolt buckets'.

845a4d47ce37cfe51e285e78430aa363dbbf1a59 authored almost 11 years ago by Ben Johnson <[email protected]>
Add 'bolt set'.

64a52452d32d2552c71bc4d4424b8a578a2103ed authored almost 11 years ago by Ben Johnson <[email protected]>
Add 'bolt pages'.

0e4d77d424b2f18c76da7643de88b462b86310f2 authored almost 11 years ago by Ben Johnson <[email protected]>
Add 'bolt keys'.

8fa6531b1cff8288d453dafa656753fb08192aeb authored almost 11 years ago by Ben Johnson <[email protected]>
Add 'bolt get'.

e8d3ae6287ff3e8efa8d3583bb805a3b8dd8e84f authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #71 from benbjohnson/munmap-fix

Fix db.munmap() to return an error.

e86296ede75c8e4dfe8bc26482ec2718ad3ea3e2 authored almost 11 years ago by Ben Johnson <[email protected]>
Fix db.munmap() to return an error.

Changes munmap to return an error and the DB now implements io.Closer.
I also removed all the OS...

d2173f5f0ecbf4ed93c768e975435b04df3186ec authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #68 from benbjohnson/remove-db-functions

Remove ease-of-use functions from the DB type.

2eea5766aee5a0087d8ee98759b1804af4bc87c7 authored almost 11 years ago by Ben Johnson <[email protected]>
Remove ease-of-use functions from the DB type.

Functions such as DB.Put(), DB.Get(), and DB.Delete() were originally
added to be easy to use, h...

3cc959fb1a51296c3bb391c80280e37a02f0b6a5 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #65 from benbjohnson/fix-tx-buckets-sort-order

Fix Tx.Buckets() sort order.

1c7b59a4c221bde00f84a1873fca7ad0a27b0131 authored almost 11 years ago by Ben Johnson <[email protected]>
Fix Bucket.ForEach() comment.

26afa92faff08c9ffbbbedabe4c1d16a72e81c54 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #66 from tv42/testing-short

Skip long-running tests with go test -short

60fd6f6604e598bf9ef2252f518a70ae6dcc4dda authored almost 11 years ago by Ben Johnson <[email protected]>
Skip long-running tests with go test -short

ed909b43ea7bb591ffd07e94f51bee14a6f72ac7 authored almost 11 years ago by Tommi Virtanen <[email protected]>
Fix Tx.Buckets() sort order.

@tv42 reported an issue with bucket names returning incorrectly. Not sure if
this fixes the issu...

62cf02e21a9cd3a791a43758dfab12448672f762 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #64 from benbjohnson/fix-empty-cursor-last

Fix Cursor.Last() on empty buckets.

fdd7f2162e42cb534963c0ca6f8b3c9b71ed693b authored almost 11 years ago by Ben Johnson <[email protected]>
Fix Cursor.Last() on empty buckets.

@tv42 reported that creating a cursor on an empty bucket and then calling
Cursor.Last() causes a...

4132080333b1cb0e96b7b8732e763f96d69074ee authored almost 11 years ago by Ben Johnson <[email protected]>
README

b9b69d867a3bad3c04170504e1e0e19fa4bfda70 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #61 from benbjohnson/merge-tx

Consolidate Tx and RWTx

4e252b8a7f3df03ff8a079de1e3d7c64f0fcde6d authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #60 from benbjohnson/tx

Rename Transaction to Tx.

a32d0c5c5f7913f09e2489ba3545a9e2d4865698 authored almost 11 years ago by Ben Johnson <[email protected]>
Consolidate Tx and RWTx.

c551e45a4722f58dc4c19f9d1b80b0b8db3ad039 authored almost 11 years ago by Ben Johnson <[email protected]>
Rename Transaction to Tx.

I changed the Transaction/RWTransaction types to Tx/RWTx, respectively. This makes the naming
mo...

57376f090503d7ef5bc38f138e58e64bdea284a3 authored almost 11 years ago by Ben Johnson <[email protected]>
Add benchmarks.

64fcacedfa3e59e9dbb0cc0d2b3de71cae3290df authored almost 11 years ago by Ben Johnson <[email protected]>
Ignore multiple transaction commit/rollback/close.

3a1b152562a98de231f73e35c4df03994268328e authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #57 from benbjohnson/node-aware-cursors

Allow reads of unflushed nodes.

7214e089c0f78fce8fb1e00f09f7d2b54c88bdbe authored almost 11 years ago by Ben Johnson <[email protected]>
Allow reads of unflushed nodes.

This commit allows cursors to read updated values from within the
RWTransaction.

a1f43f4d60bf434baebf13b4810e5db4916baec5 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge branch 'master' of https://github.com/boltdb/bolt

1eb9e0902824fff3e7a943d421e83c7d30f43176 authored almost 11 years ago by Ben Johnson <[email protected]>
Minor refactor.

956453b69fd8ba9a356edcf81597d90d769311b2 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #55 from benbjohnson/fix-mmap-resize

Fix the mmap resize to use the correct size.

9abba5dfa20c5fa9501edfcd4486a5cfecedefe2 authored almost 11 years ago by Ben Johnson <[email protected]>
Fix the mmap resize to use the correct size.

Fixes #54. Previously the DB was calculating a minimum mmap size but
using the wrong variable af...

0477c1e0cec8f8f1fa0b71f2c04bc988f43fd01a authored almost 11 years ago by Ben Johnson <[email protected]>
Add bucket reclamation.

After RWTransaction.DeleteBucket() is called, all pages related to the
bucket are moved to the f...

9abced434f459c20fd6629efa2be0b91e56de179 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #53 from benbjohnson/open-api

Add bolt.Open()

0209ad2ed4d215462f5b91958da495be89eff2c0 authored almost 11 years ago by Ben Johnson <[email protected]>
Add bolt.Open().

Per the suggestion of @tv42 and @cespare, this commit adds a package level
function to create an...

a47c50295a24c50872afc183927e34eec5c3dbdf authored almost 11 years ago by Ben Johnson <[email protected]>
Remove RWTransaction.Bucket().

Add an reference to the RWTransaction onto Transaction so that calls to
Transaction.Bucket() and...

41fb285e37bc0767f5cc5b2b91c58aef60695922 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #51 from benbjohnson/bucket-refactor

Refactor Bucket

488785df0968d45efe50564aa8d7c26610553221 authored almost 11 years ago by Ben Johnson <[email protected]>
Refactor Bucket.

a544249dd8fb2ff76215a2563c2b8f3ab2ccffdb authored almost 11 years ago by Ben Johnson <[email protected]>
Revert "Refactor Transaction/Bucket API."

This reverts commit 1ad2b99f281d587b767b36f886401e81d17915a9.

3b2fd8f2d3e376fa7a3f3b2ba665fcd4a5b5bb15 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #50 from benbjohnson/api

Refactor Transaction/Bucket API

7f2fe0e1ed43f121c90cbc8ef7fb9304d15cb868 authored almost 11 years ago by Ben Johnson <[email protected]>
Refactor Transaction/Bucket API.

1ad2b99f281d587b767b36f886401e81d17915a9 authored almost 11 years ago by Ben Johnson <[email protected]>
Merge pull request #49 from benbjohnson/stat

Database Stats

8f2f261931fcd54e6d987bf6ce5eb85a777136c2 authored almost 11 years ago by Ben Johnson <[email protected]>
Add DB.Stat().

9827df70e040f6ee5fa9b615d5796d0af5c55cbc authored almost 11 years ago by Ben Johnson <[email protected]>