aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * enhc: update example for nested bucketsJared Folkins2016-10-281-0/+49
| |
* | Merge pull request #609 from hasit/patch-1Ben Johnson2016-10-281-0/+1
|\ \ | |/ |/| Add 'bolter' to the list of projects that use Bolt
| * Add 'bolter' to the list of projects that use BoltHasit Mistry2016-10-181-0/+1
|/ | | [bolter](https://github.com/hasit/bolter) is a command-line app for viewing BoltDB file in your terminal using [tablewriter](https://github.com/olekukonko/tablewriter).
* Merge pull request #605 from seeekr/patch-1Ben Johnson2016-10-081-1/+1
|\ | | | | fix typo in README.md
| * fix typo in README.mdDenis Andrejew2016-10-071-1/+1
|/
* Merge pull request #604 from gopherpit/masterBen Johnson2016-10-051-0/+1
|\ | | | | Add gopherpit to projects that use Bolt
| * Add gopherpit to projects that use BoltJanoš Guljaš2016-10-051-0/+1
|/
* Merge pull request #601 from benbjohnson/stats-tx-nBen Johnson2016-10-031-1/+1
|\ | | | | Fix Stats.Sub() for Stats.TxN.
| * Fix Stats.Sub() for Stats.TxN.Ben Johnson2016-10-031-1/+1
|/ | | | | | The subtraction for `TxN` was previously transposed which caused the result to be a negative number. This change alters the order to return the correct (positive) result.
* Merge pull request #595 from namore/add_warning_foreach_keysBen Johnson2016-09-131-0/+4
|\ | | | | Update README.md
| * Update README.mdRoman Naumann2016-09-131-0/+4
|/ | | | | Add warning to README.md that keys and values in `ForEach()` are invalid outside of transaction.
* Merge pull request #594 from anacrolix/patch-1Ben Johnson2016-09-121-0/+1
|\ | | | | Update README.md
| * Update README.mdMatt Joiner2016-09-021-0/+1
| | | | | | Add anacrolix/torrent to users.
* | Merge pull request #591 from boltdb/readmeBen Johnson2016-09-081-5/+5
|\ \ | | | | | | README
| * | READMEBen Johnson2016-09-081-5/+5
|/ / | | | | Added note to README that the file format is fixed.
* | Merge pull request #561 from zhujun2006/masterBen Johnson2016-09-061-2/+2
|\ \ | | | | | | task#560 print leaf k/v with right value
| * | task#560 print leaf k/v with right valuestone13420062016-05-181-2/+2
| | |
* | | Merge pull request #578 from resin-os/align-fixBen Johnson2016-09-067-1/+45
|\ \ \ | | | | | | | | Correct broken unaligned load/store in armv5
| * | | bucket: correct broken unaligned load/store in armv5Lorenzo Stoakes2016-07-287-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | armv5 devices and older (i.e. <= arm9 generation) require addresses that are stored to and loaded from to to be 4-byte aligned. If this is not the case the lower 2 bits of the address are cleared and the load is performed in an unexpected order, including up to 3 bytes of data located prior to the address. Inlined buckets are stored after their key in a page and since there is no guarantee that the key will be of a length that is a multiple of 4, it is possible for unaligned load/stores to occur when they are cast back to bucket and page pointer types. The fix adds a new field to track whether the current architecture exhibits this issue, sets it on module load for ARM architectures, and then on bucket open, if this field is set and the address is unaligned, a byte-by-byte copy of the inlined bucket is performed. Ref: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka15414.html
* | | | Merge pull request #590 from benbjohnson/vincent-petithory-compact-dbBen Johnson2016-09-064-0/+443
|\ \ \ \ | | | | | | | | | | Compaction Command
| * | | | Minor bolt compact revisionsBen Johnson2016-09-054-113/+196
| | | | |
| * | | | Merge branch 'compact-db' of https://github.com/vincent-petithory/bolt into ↵Ben Johnson2016-09-012-0/+360
| |\ \ \ \ | | | | | | | | | | | | | | | | | | vincent-petithory-compact-db
| | * | | | compact: allow splitting transactions for large datasetsVincent Petithory2015-11-191-18/+45
| | | | | |
| | * | | | cli: add compact commandVincent Petithory2015-11-192-0/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compact rewrites a bolt db, recursively walking its keys in byte order.
* | | | | | Merge pull request #589 from nekto0n/masterBen Johnson2016-09-051-1/+1
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | Lower number of allocation in freelist.reindex()
| * | | | | Lower number of allocation in freelist.reindex()Nikita Vetoshkin2016-09-051-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here is a profile taken etcd. Before: 10924 10924 (flat, cum) 4.99% of Total . . 230: . . 231:// reindex rebuilds the free cache based on available and pending free lists. . . 232:func (f *freelist) reindex() { . . 233: f.cache = make(map[pgid]bool) . . 234: for _, id := range f.ids { 10924 10924 235: f.cache[id] = true . . 236: } . . 237: for _, pendingIDs := range f.pending { . . 238: for _, pendingID := range pendingIDs { . . 239: f.cache[pendingID] = true . . 240: } After: 1 1 (flat, cum) 0.0017% of Total . . 228: f.reindex() . . 229: } . . 230: . . 231:// reindex rebuilds the free cache based on available and pending free lists. . . 232:func (f *freelist) reindex() { 1 1 233: f.cache = make(map[pgid]bool, len(f.ids)) . . 234: for _, id := range f.ids { . . 235: f.cache[id] = true . . 236: } . . 237: for _, pendingIDs := range f.pending { . . 238: for _, pendingID := range pendingIDs {
* | | | | Merge pull request #577 from bouk/patch-1Ben Johnson2016-08-311-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix typo (Tx -> DB)
| * | | | | Fix typo (Tx -> DB)Bouke van der Bijl2016-07-221-1/+1
| | |_|/ / | |/| | |
* | | | | Merge pull request #584 from benbjohnson/go17Ben Johnson2016-08-183-6/+23
|\ \ \ \ \ | |_|/ / / |/| | | | Fix Go 1.7 pointer reference bug
| * | | | fix Go 1.7 pointer reference bugBen Johnson2016-08-183-6/+23
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes a bug where page end-of-header pointers were being converted to byte slices even when the pointer did not point to allocated memory. This occurs with pages that have a `page.count` of zero. Note: This was not an issue in Go 1.6 but the new Go 1.7 SSA backend handles `nil` checks differently. See https://github.com/golang/go/issues/16772
* | | | Merge pull request #579 from asdine/masterBen Johnson2016-07-301-1/+1
|\ \ \ \ | |/ / / |/| | | Update description of project using BoltDB
| * | | Update description of project using BoltDBAsdine El Hrychy2016-07-301-1/+1
|/ / /
* | | Merge pull request #573 from evnix/patch-1Ben Johnson2016-07-191-0/+1
|\ \ \ | | | | | | | | added a BoltDB related project
| * | | added a BoltDB related projectAvinash D'Silva2016-07-171-0/+1
|/ / /
* | | Merge pull request #567 from pankajkhairnar/pankajkhairnar-new-projectBen Johnson2016-07-071-0/+1
|\ \ \ | | | | | | | | Added new project name in the list of projects using BoldDB
| * | | Added new project which is using BoldDBPankaj khairnar2016-06-121-0/+1
| | | |
* | | | Merge pull request #570 from emersion/patch-1Ben Johnson2016-07-071-1/+1
|\ \ \ \ | | | | | | | | | | Fixes build error in README code
| * | | | Fixes build error in README codeemersion2016-06-171-1/+1
|/ / / /
* | | | Merge pull request #569 from ifraixedes/patch-1Ben Johnson2016-06-161-1/+0
|\ \ \ \ | |/ / / |/| | | Remove skydb of the README
| * | | Remove skydb of the READMEIvan Fraixedes2016-06-161-1/+0
|/ / / | | | | | | I think that SkyDB is over, I could find any link to the project.
* | | READMEBen Johnson2016-06-071-1/+1
| | |
* | | Merge pull request #565 from joe2far/patch-1Ben Johnson2016-06-071-1/+1
|\ \ \ | | | | | | | | Fixed typo in README
| * | | Fixed typo in READMEJoe Farrell2016-06-031-1/+1
| | | |
* | | | Merge pull request #563 from dankomiocevic/patch-1Ben Johnson2016-06-071-0/+1
|\ \ \ \ | |/ / / |/| | | Add MuLiFS to the list of projects using Bolt.
| * | | Add MuLiFS to the list of projects using Bolt.Danko Miocevic2016-05-261-0/+1
|/ / /
* | / v1.2.1Ben Johnson2016-05-160-0/+0
| |/ |/|
* | Merge pull request #556 from xyproto/masterBen Johnson2016-05-091-0/+2
|\ \ | | | | | | Add SimpleBolt and Algernon
| * | Add SimpleBolt and AlgernonAlexander F Rødseth2016-05-041-0/+2
|/ /
* | Merge branch 'cyphar-548-fix-errors-with-unsynced-metadata'Ben Johnson2016-04-243-49/+98
|\ \
| * | add additional meta page testsBen Johnson2016-04-243-49/+71
| | |