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 #218 from benbjohnson/fix-win

Fix Windows mmap sizing.

ca5f5827102dde61deabe546049045fb4595fd54 authored over 10 years ago by Ben Johnson <[email protected]>
Fix Windows mmap sizing.

This commit fixes an issue on Windows where the database was doubling
when it was re-opened. Thi...

e903703e61efcfa8fcace7371c70912355e5576d authored over 10 years ago by Ben Johnson <[email protected]>
Add 'Intro to BoltDB' link.

d9a0f51bee413ccff75251740d7d78736a9c4a49 authored over 10 years ago by Ben Johnson <[email protected]>
Add freelist cache.

This commit adds a cache to the freelist which combines the available free pages and pending fre...

def455554b5607ec6ccd0af51d0dea5401003e93 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #214 from Shopify/fix_stats_sub

Copy the free pages stats from the receiver

e4ad031878e4503dc2bd931accc4fdcc6215efcc authored over 10 years ago by Ben Johnson <[email protected]>
Copy the free pages stats from the receiver

8c386e72f31126638236f4c642230b7ca4d84236 authored over 10 years ago by Martin Kobetic <[email protected]>
Minor fix.

d1a77a9c821e391c8058f22f970c2d4f44cbce50 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #213 from Shopify/stats_sub2

Drop the *s guard in Stats.Sub()

283c556aa83421c6954a6c0af0358b26c1c7cafa authored over 10 years ago by Ben Johnson <[email protected]>
review tweaks

bae0fbd29027eb56cb70067098041cf31483fca8 authored over 10 years ago by Martin Kobetic <[email protected]>
drop the *s guard

ba79a0a355f2511adbc2c7356a3362da180548c8 authored over 10 years ago by Martin Kobetic <[email protected]>
Merge pull request #212 from Shopify/stats_sub

Improve Stats.Sub()

78d08e0438f55eaee5f26e4599890926ac48205f authored over 10 years ago by Ben Johnson <[email protected]>
review tweaks

8dd18bd620ab676d8bba00813f5b85267bf7e00e authored over 10 years ago by Martin Kobetic <[email protected]>
add some guards for nil pointers

32e22b3bb6a5f03977e38513b44b33d3cc1d94e5 authored over 10 years ago by Martin Kobetic <[email protected]>
copy receiver stats in Stats.Sub()

bbee09da308fcc95634a14cde496092b5c676f46 authored over 10 years ago by Martin Kobetic <[email protected]>
Merge pull request #210 from benbjohnson/default-options

Add DefaultOptions variable.

c45c4a1ae64cb104765eb55b79d3a6480f8737f1 authored over 10 years ago by Ben Johnson <[email protected]>
Add DefaultOptions variable.

This commit adds an explicit DefaultOptions variable for additional documentation.
Open() can st...

642b10439663d89cdf33bd14e751a0fd8ef1d406 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #208 from benbjohnson/open-timeout

Add Open() options, flock timeout.

4f428feecc153d0cb8e4867ea15b3bf1ae6ff3f5 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #209 from benbjohnson/next-seq-uint64

Change Bucket.NextSequence() to return uint64

622c1f1525b1146c57a10915ef364d1de2e4c803 authored over 10 years ago by Ben Johnson <[email protected]>
Change Bucket.NextSequence() to return uint64.

This commit changes NextSequence() to return a uint64 instead of an int. This also
removes the E...

0f585358f41a0e6b9e433e36a35c03e9fd9d4c47 authored over 10 years ago by Ben Johnson <[email protected]>
Add Open() options, flock timeout.

This commit changes Open() to provide an additional Options argument. The options
argument curre...

00ee0da5289dd5aaf9263ee39c8082ff3a9557c7 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #206 from Shopify/pending_page_stats

Split the freelist page count stats to free and pending

0a59a754725b284a8ba75161a801a3dd535b4e27 authored over 10 years ago by Ben Johnson <[email protected]>
split the freelist page count stats to free and pending

571f20167268659befb8f8e5ea943c511d364cce authored over 10 years ago by Martin Kobetic <[email protected]>
Merge pull request #202 from benbjohnson/refactor-split

Fix split-merge regression.

42b4cae0fd7d919f0a6fef7e5a4eb2b677bfd544 authored over 10 years ago by Ben Johnson <[email protected]>
Fix merge-split regression.

This commit reverts merge-split and fixes the node.split() to do a multi-page split. This issue
...

b1dbd35da1d7abea5e52b7aacdb7bed2812dd9db authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #200 from benbjohnson/fix-i686

Fix i686 build error.

5043a9e839f88f85506617fd55d08e4b66f22acd authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #201 from Shopify/freelist_stats_cleanup

Fix up freelist stats naming and add FreeAlloc

56de9902a82bee5ba4743cef87125e9288de9fdd authored over 10 years ago by Ben Johnson <[email protected]>
fix up freelist stats naming and add FreeAlloc

8a386756dffec5c6f37e09ae6c96a82351fba36e authored over 10 years ago by Martin Kobetic <[email protected]>
Fix i686 build error.

515bf03ff9a94c3ac1d495201152797271db3960 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #199 from kardianos/patch-1

Update README.md

afd38460efb307af68272757e54a8528934b931d authored over 10 years ago by Ben Johnson <[email protected]>
Update README.md

c3ae6e7307f6056c97d3a6ec5b5391722170eda0 authored over 10 years ago by Daniel Theophanes <[email protected]>
Merge pull request #198 from yosssi/patch-1

Add "BoltStore" link on README.md

4e3b3d3b2d5739689accbfe1a37b0ed2b21eb418 authored over 10 years ago by Ben Johnson <[email protected]>
Add "BoltStore" link on README.md

I completed creating [BoltStore](https://github.com/yosssi/boltstore) and added its link on READ...

ce59819e84d575a86ed65f4c8e78be1493081367 authored over 10 years ago by Keiji Yoshida <[email protected]>
Merge pull request #197 from Shopify/freelist_stats

Add freelist stats to db stats

f8365b732eb3756973d2fd6e12cf9ad6f246a786 authored over 10 years ago by Ben Johnson <[email protected]>
drop mergeStats and move freelist stats update to Tx

4918ce83018aef9d80e3c9ed2035b22dd5cddac9 authored over 10 years ago by Martin Kobetic <[email protected]>
add freelist stats to db stats

c105316292b7aef09c1eb260fb5f5c8f9f07ec3f authored over 10 years ago by Martin Kobetic <[email protected]>
Document key/value lifecycle.

This commit adds a caveat to the godoc that explains how key and value
byte slices will only be...

41aa602f27eac4ac84cfb775f41cde964514fd10 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #193 from benbjohnson/check-freelist-overflow

Check for freelist overflow

0329b03f58799ab8e51e7567f836c80c24258a16 authored over 10 years ago by Ben Johnson <[email protected]>
Fix freelist rollback.

4db99647eb25e4ca0797b5c4924955ef1278edbb authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #194 from benbjohnson/fix-deadlock

Fix deadlock on remmap.

8137a18374575dd4bf67cc93604740d12dcc5c4a authored over 10 years ago by Ben Johnson <[email protected]>
Fix deadlock on remmap.

This commit fixes a deadlock situation that can occur when Bolt's database size crosses a thresh...

defdb743cdca840890fea24c3111a7bffe5cc0a3 authored over 10 years ago by Ben Johnson <[email protected]>
Check for freelist overflow.

f448639ce4a632980eef6394f75aca12b89b6d1c authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #191 from benbjohnson/win-ftw

Windows Support

01bc9be72f46f0f1978b1f1581440c399b3a7684 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #190 from Shopify/cursor_delete

Add Cursor.Delete()

a2535f64ec4afe8c5eb35f88333ca8095f72d2c2 authored over 10 years ago by Ben Johnson <[email protected]>
Remove errcheck.

8eaea4c150978054b01336c759357e20f7cfbf97 authored over 10 years ago by Ben Johnson <[email protected]>
Add Windows support.

This commit adds Windows support to Bolt. Windows memory maps return an address instead of a byt...

1c97a490dda8e8b8d3805fa6debccc34f32b540d authored over 10 years ago by Ben Johnson <[email protected]>
add Cursor.Delete()

a00a88baef376804b9980a4854250d08da2908e5 authored over 10 years ago by Martin Kobetic <[email protected]>
Add Windows support.

c2577db1c22e0bb64ea3df16e9424e6dce1d55ab authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #189 from benbjohnson/increase-max-nodes-per-page

Increase max nodes per page.

5e9ce18567adb8d655073be0783d255e2bf435c1 authored over 10 years ago by Ben Johnson <[email protected]>
Increase max nodes per page.

This commit changes the maxNodesPerPage constant so that it is essentially unlimited.
Previously...

fd7b0efeb514769e600756aa4190989fcdbdc09b authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #187 from benbjohnson/fix-seek

Fix in-between page seek

c9b983c8531c3c9db204f615be68fcbde7bdfcd9 authored over 10 years ago by Ben Johnson <[email protected]>
Refactor Cursor.Next() to use Cursor.next().

511ecba69baedae05a64007e7b86fa6bc6d3b209 authored over 10 years ago by Ben Johnson <[email protected]>
Add seek forward test.

63a9afd028ff0efa38f72a80a3d95c25b78bf7b8 authored over 10 years ago by Ben Johnson <[email protected]>
Fix last element seek.

This commit fixes a bug with seeks where seeking to a key between the end
of a page and the begi...

6ddb05669876058bdfe08c140e8ef8111564162d authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #185 from benbjohnson/fix-bulk-delete

Fix double free in merge-left rebalance.

9e8a6194edd603f2a4cf41d556408c9ee52d9565 authored over 10 years ago by Ben Johnson <[email protected]>
Fix double free in merge-left rebalance.

This commit fixes a bug where deletions that caused merge-left rebalances were updating
the pare...

2321036228b5d24b480e1ad1c20aae65c28e521b authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #183 from benbjohnson/copy-fallback

Add fallback for O_DIRECT in Tx.Copy().

9ffb29787a062e01dae4370a824453ff65b7bf58 authored over 10 years ago by Ben Johnson <[email protected]>
Add fallback for O_DIRECT in Tx.Copy().

This commit adds the ability for Bolt to fallback to using a regular file open if Tx.Copy()
erro...

63373660bc2ef10ad6de3d3101cd8a9910692407 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #181 from benbjohnson/split-merge

Allow split nodes to be merged with the next node.

510143d852e394d2fb5fb773bab41f1d9e35d602 authored over 10 years ago by Ben Johnson <[email protected]>
Fix merge-split spill issues.

54cad40a785deddda2d4b903f048fdfb43a94927 authored over 10 years ago by Ben Johnson <[email protected]>
Allow split nodes to be merged with the next node.

This commit changes the node.split() functionality to check if the next node has
available space...

a96185e8b69725985e48926b7b28747ddbbfe9b6 authored over 10 years ago by Ben Johnson <[email protected]>
Add ipxed to README.

10074ee8f417cb8f204f9164ce09911d8c287f23 authored over 10 years ago by Ben Johnson <[email protected]>
Add event-shuttle to README.

ba43ee8c64e0289b78b43bc125897135d024a1e1 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #180 from yosssi/fix-example-bucket-put

Fix `ExampleBucket_Put` to use `db.View` instead of `db.Update`.

b15b96355020b4c377e82413d3de60bceee7d411 authored over 10 years ago by Ben Johnson <[email protected]>
Fix `ExampleBucket_Put` to use `db.View` instead of `db.Update`.

a9189ddefb9d9568cc6f2642058cbb180f2fea5f authored over 10 years ago by yosssi <[email protected]>
Merge pull request #179 from benbjohnson/freelist-assertion

Add freelist assertion on every free().

2ee58060310c27256e264692ebd19ea78c411746 authored over 10 years ago by Ben Johnson <[email protected]>
Add freelist assertion on every free().

This commit performs a check on the freelist pages to ensure that a double free can never happen.

2eaf8f7ce0ced2b5660f41a169447a8520bcc943 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #177 from tv42/tx-copy-rollback

Do not attempt manual transaction rollback in Tx.Copy

4e31e9d8f94c222d065daa42035aec27959b5624 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #178 from benbjohnson/optimize-check

Optimize Tx.Check().

2652bec51ed38757d595f7b3219ba2bf0ec43291 authored over 10 years ago by Ben Johnson <[email protected]>
Optimize Tx.Check().

This commit removes several memory allocations occurring on every page and also caches the freel...

754966bea08146857dea0d9de05e95a4fc7947e8 authored over 10 years ago by Ben Johnson <[email protected]>
Do not attempt manual transaction rollback in Tx.Copy

The typical use these days is with a managed transaction, via db.View.

The first case (error wh...

394862d5415b3e0ef0a67d112a55bff9f1e0a753 authored over 10 years ago by Tommi Virtanen <[email protected]>
Merge pull request #176 from benbjohnson/streaming-check

Add streaming check.

b9b1bb5b292766d92b2867631942c28ac2e97af4 authored over 10 years ago by Ben Johnson <[email protected]>
Add streaming check.

This commit changes Tx.Check() to return a channel through which check errors are returned. This...

b7896919761d1f942a042603510b30921a8c2009 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #175 from benbjohnson/check-loop

Add circular dependency integrity check.

4508a00891bbc50bdb5cbfe14df42af64596e891 authored over 10 years ago by Ben Johnson <[email protected]>
Add circular dependency integrity check.

This commit adds a check to prevent circular dependencies in branch nodes. If a circular depende...

cefc3c5ebdf22b00a86b82b8461b8465f9304988 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #174 from benbjohnson/remove-db-check

Remove DB.Check(). Allow read-only Tx.Check().

93338e17eccebb077f96aabc7edc8f1c98c1b79d authored over 10 years ago by Ben Johnson <[email protected]>
Remove DB.Check(). Allow read-only Tx.Check().

This commit removes the DB.Check() function and instead makes the user decide
whether a transact...

92a9f2e200e83fd0b3ddef177f9a454b0273c17e authored over 10 years ago by Ben Johnson <[email protected]>
Merge branch 'master' of https://github.com/boltdb/bolt

746dbb35662b9509675e5fcaef16da0f6a50bb6b authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #172 from benbjohnson/allocation

Remove allocations from read-only buckets.

271129e40ca0cbbaad299d467488528680a22dbd authored over 10 years ago by Ben Johnson <[email protected]>
Avoid trashing page cache on Tx.Copy().

This commit change the database copy to use O_DIRECT so that the Linux page
cache is not trashed...

bfccbb2cb5f6eb25981b8693ba8acc5e885c7cce authored over 10 years ago by Ben Johnson <[email protected]>
Remove allocations from read-only buckets.

06b01dbb67dde581977db43d0b36c19251f83af4 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #169 from benbjohnson/allocation

Fix freelist allocation direction.

7432bc341f8bbfc73eefc3278f2698e712e516b8 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #171 from Shopify/tx_copy

Move Copy/CopyFile from DB to Tx and make sure it copies exactly Tx.Size() bytes

6fcc7fdb3d011a65a94d274f5e047e112a345243 authored over 10 years ago by Ben Johnson <[email protected]>
review comments

8cd1c60f7cc71464c4860821de0c26c40b68b980 authored over 10 years ago by Martin Kobetic <[email protected]>
add tx.Size() and ensure tx.Copy() copies exactly that many bytes

0eda6c9f1522306b653a26f0a57f99fc4f287318 authored over 10 years ago by Martin Kobetic <[email protected]>
move Copy and CopyFile from DB to Tx

519d65228ef2bd99336a251f02c278a94b2df4d4 authored over 10 years ago by Martin Kobetic <[email protected]>
README

644a94985571052d6a6c3622b19a3961f432a118 authored over 10 years ago by Ben Johnson <[email protected]>
Added new projects.

a0963d8f2259b9c7f291887979d9dac2441b4ca6 authored over 10 years ago by Ben Johnson <[email protected]>
Fix freelist allocate().

12b36fe70c3dee7f8ae9a1e2b68f76e1d9c4cd71 authored over 10 years ago by Ben Johnson <[email protected]>
Fix freelist allocation direction.

This commit fixes the freelist so that it frees from the beginning of the data file
instead of t...

782ead0dbf3095d0e843c2036bf40cc8ecd9b4d1 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #166 from benbjohnson/fill-percent

Add option to adjust fill percentage.

cc6302194b6134806669cbeafcaf799fa0ea040c authored over 10 years ago by Ben Johnson <[email protected]>
Change verbiage, fix node test.

6840e4f3dcf9cf82c6ed891e642b4c1cb1d29ee9 authored over 10 years ago by Ben Johnson <[email protected]>
Add option to adjust fill percentage.

This commit adds the ability to adjust the fill percentage for splitting nodes. This
works by se...

a1873dd6f65654d463455ae2d381c35c12f71f51 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #165 from benbjohnson/strict-mode

Add strict mode.

7b96ede8b673351e1fdb7db2c27257e00eb1be51 authored over 10 years ago by Ben Johnson <[email protected]>
Add strict mode.

1f5fb0208b04dc891c56060f4842003ebed22c16 authored over 10 years ago by Ben Johnson <[email protected]>
Merge pull request #162 from Shopify/nested_stats2

Recursive/aggregate bucket stats

a6d6d964b6a87873139aa8b621185a95b66b6542 authored over 10 years ago by Ben Johnson <[email protected]>
Minor stats fixes.

e728eb90da02e301aecbcabff96e691efcfe019c authored over 10 years ago by Ben Johnson <[email protected]>
address review comments

6eaeb31424c5cf7dae9dff104b33d166b9f4cdc3 authored over 10 years ago by Martin Kobetic <[email protected]>
Merge pull request #161 from benbjohnson/work

Add -work flag to 'bolt bench'.

417b0b7bf69569597e126fcf920176942dcf427a authored over 10 years ago by Ben Johnson <[email protected]>
Add -work flag to 'bolt bench'.

This commit adds a 'work' flag to the bolt bench utility so that databases
generated by the benc...

b5ae095a8728b63a2cc6f946096f242358fe73ee authored over 10 years ago by Ben Johnson <[email protected]>
undo page.go changes

51568b52df23cf3c000f6cfe998daeb2b739b6f4 authored over 10 years ago by Martin Kobetic <[email protected]>