aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Adding "lru" to list of projects using Bolt.Abhinav Ajgaonkar2016-03-211-0/+1
| | | | |
* | | | | Merge pull request #539 from benbjohnson/rebalance-fixBen Johnson2016-03-211-37/+0
|\ \ \ \ \ | | | | | | | | | | | | Fix rebalance bug
| * | | | | fix rebalance bugBen Johnson2016-03-211-37/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes a rare issue where a page can become accessible when it has already been freed. This occurs when the first two child pages of a parent both have deletions and the first page has 1 remaining children and the second page has 2 remaining children. During rebalancing the first page pulls an element from the second page and then the second page pulls the same element back from the first. The child page was not being freed properly. I resolved this issue by removing this part of the rebalancing. I made this choice for two reasons: 1. Moving a single item between pages has negligible benefit. The page will eventually be cleaned up when it reaches zero elements. 2. This is an infrequently executed branch of code which increases the likelihood of bugs occurring and it makes it more difficult to test properly. Fixes #348
* | | | | Merge pull request #538 from benbjohnson/strict-mode-fixBen Johnson2016-03-211-2/+12
|\ \ \ \ \ | |/ / / / |/| | | | Fix strict mode
| * | | | fix strict modeBen Johnson2016-03-211-2/+12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | This commits fixes a timing bug where `DB.StrictMode` can panic before the goroutine reading the database can finish. If an error is found in strict mode then it now finishes reading the entire database before panicking.
* | | | Merge pull request #528 from boltdb/windowsBen Johnson2016-03-104-16/+37
|\ \ \ \ | | | | | | | | | | Move to separate lock file on windows
| * | | | move to separate lock file on windowsBen Johnson2016-03-014-16/+37
| | | | |
* | | | | Merge pull request #515 from benbjohnson/meta-write-toBen Johnson2016-03-102-6/+28
|\ \ \ \ \ | | | | | | | | | | | | Use tx.meta during Tx.WriteTo()
| * | | | | use tx.meta during Tx.WriteTo()Ben Johnson2016-03-102-6/+28
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes `Tx.WriteTo()` to use the transaction's in-memory meta page instead of copying from the disk. This is needed because the transaction uses the size from its meta page but writes the current meta page on disk which may have allocated additional pages since the transaction started. Fixes #513
| | * / / Update README.mdAsdine El Hrychy2016-03-051-0/+1
| |/ / / |/| | |
* | | | Merge pull request #531 from michelmno/masterBen Johnson2016-03-041-0/+9
|\ \ \ \ | | | | | | | | | | new bolt_ppc64.go similar to bolt_ppc64le.go
| * | | | new bolt_ppc64.go similar to bolt_ppc64le.goMichel Normand2016-03-041-0/+9
|/ / / / | | | | | | | | | | | | version 4 of the patch
* | | | Merge pull request #527 from peteheist/masterBen Johnson2016-03-021-0/+9
|\ \ \ \ | | | | | | | | | | Add bolt_ppc.go to compile on 32-bit PPC platforms.
| * | | | Add bolt_ppc.go to compile on 32-bit PPC platforms.Pete Heist2016-02-291-0/+9
|/ / / /
* | | | Merge pull request #525 from MJDSys/appveyorBen Johnson2016-02-281-0/+18
|\ \ \ \ | | | | | | | | | | Add appveyor.yml.
| * | | | Add appveyor.yml.Matthew Dawson2016-02-271-0/+18
| |/ / / | | | | | | | | | | | | Add an initial appveryor.yml to test on AppVeyor's Windows CI.
* | | | Merge pull request #524 from abhigupta912/mbucketsBen Johnson2016-02-281-0/+1
|\ \ \ \ | |/ / / |/| | | Add mbuckets to list of projects using Bolt
| * | | Add mbuckets to list of projects using BoltAbhishek Gupta2016-02-271-0/+1
|/ / /
* | | Merge pull request #520 from bobintornado/project-listBen Johnson2016-02-241-0/+1
|\ \ \ | | | | | | | | Update README.md
| * | | Update README.mdBob Cao2016-02-241-0/+1
|/ / /
* | | Merge pull request #508 from hermanschaaf/patch-1Ben Johnson2016-02-061-0/+1
|\ \ \ | |/ / |/| | Add Go Report Card to list of projects using Bolt
| * | Add Go Report Card to list of projects using BoltHerman Schaaf2016-02-061-0/+1
|/ /
* | Merge pull request #492 from boltdb/revert-491-arm64Ben Johnson2016-01-191-0/+2
|\ \ | | | | | | Revert "Remove erroneous build constraint from arm64"
| * | Revert "Remove erroneous build constraint from arm64"Ben Johnson2016-01-191-0/+2
|/ /
* | Merge pull request #491 from crawford/arm64Ben Johnson2016-01-191-2/+0
|\ \ | | | | | | Remove erroneous build constraint from arm64
| * | Remove erroneous build constraint from arm64Alex Crawford2016-01-191-2/+0
|/ / | | | | | | This was preventing ARM64 targets from building.
* | Merge pull request #487 from darklynx/add_projectBen Johnson2016-01-141-0/+1
|\ \ | | | | | | added Request Baskets to projects list
| * | added Request Baskets to projects listVladimir L2016-01-141-0/+1
|/ /
* | Merge pull request #486 from tcyrus/tcyrus-patch-1Ben Johnson2016-01-141-5/+7
|\ \ | | | | | | Update README.md
| * | Update README.mdTimothy Cyrus2016-01-121-5/+7
|/ /
* | Merge pull request #484 from etelej/masterBen Johnson2016-01-111-1/+6
|\ \ | | | | | | Add bucket check to db.View in readme.md
| * | Add bucket check to db.View in readme.mdPeter Etelej2016-01-121-1/+6
| | | | | | | | | | | | | | | | | | Add 'Assume bucket exists and has keys' comments on db.View calls accessing bucket keys in examples of db.View in readme.md code examples. Fixes #484
* | | Merge pull request #478 from TrevorSStone/masterBen Johnson2016-01-111-0/+76
|\ \ \ | | | | | | | | Add documentation to Readme for mobile support (iOS/Android)
| * | | add table of contents entry from mobileTrevor Stone2016-01-031-0/+1
| | | |
| * | | Fix Readme typo and line lengthTrevor Stone2016-01-031-2/+4
| | | |
| * | | Add mobile instructions to the ReadmeTrevor Stone2016-01-031-0/+73
| | | |
* | | | Merge pull request #481 from gyuho/boltdb_typoBen Johnson2016-01-112-3/+3
|\ \ \ \ | | | | | | | | | | *: fixes minor typos
| * | | | *: fixes minor typosGyu-Ho Lee2016-01-072-3/+3
| | |/ / | |/| |
* | | | Merge pull request #482 from gyuho/bolt_db_test_fixBen Johnson2016-01-113-61/+61
|\ \ \ \ | | | | | | | | | | *: fix test print format
| * | | | *: fix test print formatGyu-Ho Lee2016-01-083-61/+61
| |/ / /
* | | | Merge branch 'xiang90-grow'Ben Johnson2016-01-115-24/+56
|\ \ \ \ | |/ / / |/| | |
| * | | add AllocSize, minor grow() refactorBen Johnson2016-01-112-10/+20
| | | | | | | | | | | | | | | | | | | | This commit moves `overAllocation` to a configurable `DB.AllocSize` field and performs minor cosmetic clean up.
| * | | Merge branch 'grow' of https://github.com/xiang90/bolt into xiang90-growBen Johnson2016-01-115-24/+46
|/| | |
| * | | do not grow dbsize agressivelyXiang Li2015-11-065-25/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only grow the database size when the high watermark increases. We also grows the database size a little bit aggressively to save a few ftruncates. I have tested this on various environments. The performance impact is ignorable with 16MB over allocation. Without over allocation, the performance might decrease 100% when each Tx.Commit needs a new page on a very slow disk (seek time dominates the total write).
* | | | Merge pull request #479 from azazeal/masterBen Johnson2016-01-071-1/+1
|\ \ \ \ | |_|/ / |/| | | Wrong threadCount passed to TestSimulate_1op_1p
| * | | Merge pull request #1 from azazeal/fix-simulation_test-threadCountPanagiotis Siatras2016-01-071-1/+1
|/| | | | | | | | | | | FIX: Incorrect threadCount in simulation_test.go
| * | | FIX: Incorrect threadCount in simulation_test.goPanagiotis Siatras2016-01-071-1/+1
|/ / / | | | | | | TestSimulate_1op_1p should pass 1 as the threadCount instead of 100
* | | Merge pull request #477 from benbjohnson/testingBen Johnson2016-01-0214-2057/+3337
|\ \ \ | | | | | | | | Test suite refactoring
| * | | test suite refactoringBen Johnson2016-01-0214-2057/+3337
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This commit refactors the test suite to make it cleaner and to use the standard testing library better. The `assert()`, `equals()`, and `ok()` functions have been removed and some test names have been changed for clarity. No functionality has been changed.
* | | Merge pull request #474 from elithrar/patch-1Ben Johnson2015-12-311-1/+29
|\ \ \ | | | | | | | | [docs] Add table of contents