aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix large mmap resize.Ben Johnson2015-02-162-2/+63
|/ | | | | This commit fixes an issue where large databases were being resized to larger sizes on every open.
* READMEBen Johnson2015-02-161-3/+3
| | | Removed reference to LMDB's append mode being unsafe.
* Merge pull request #297 from benbjohnson/seqBen Johnson2015-02-024-7/+38
|\ | | | | Persist sequence-only changes
| * Persist sequence-only changes.Ben Johnson2015-02-024-7/+38
|/ | | | | | | | | | This commit fixes a bug where only calling NextSequence() on a Bucket does not cause the Bucket to be peristed. The simple fix is to simply materialize the root node so that the bucket is flushed out during commit. Thanks to Matthew Dawson (@MJDSys) for reporting. https://github.com/boltdb/bolt/issues/296
* Merge pull request #294 from benbjohnson/assertBen Johnson2015-02-025-18/+47
|\ | | | | Expand assertion statements
| * Expand assertion statements.Ben Johnson2015-01-305-18/+47
|/ | | | | | This commit expands calls to _assert() that use variadic arguments. These calls require conversion to interface{} so there was a large number of calls to Go's internal convT2E() function. In some profiling this was taking over 20% of total runtime. I don't remember seeing this before Go 1.4 so perhaps something has changed.
* Merge pull request #292 from benbjohnson/fix-sizeBen Johnson2015-01-282-18/+79
|\ | | | | Fix mmap resize calculation.
| * Fix max mmap check for 32-bit arch.Ben Johnson2015-01-281-8/+14
| |
| * Fix mmap step & max size check.Ben Johnson2015-01-281-9/+13
| | | | | | | | | | | | | | This commit adds fixes suggested by @tv42 for the mmap step fix in 834b38e: * Check max size before calculating the new the mmap size. * Fix mmap step loop to go to 1GB instead of 512MB.
| * Add additional error checks in test suite.Ben Johnson2015-01-281-6/+13
| |
| * Fix mmap resize calculation.Ben Johnson2015-01-282-9/+53
|/ | | | | | | | | This commit fixes an issue where the database would grow whenever it was opened. This was caused by a recent change that performed a truncation when the database grew. Now there are fixed growth sizes for the database (1MB, 2MB, 4MB, 8MB, etc) up to 1GB and then the database will grow by 1GB when it resizes. See also: 6bb25854a183f3d3bfa50096f910d3a3984e9834
* Merge pull request #290 from pmcgrath/deadcodeBen Johnson2015-01-221-1/+0
|\ | | | | Removed redundant duplicate line of code
| * Removed redundant duplicate line of codepmcgrath2015-01-221-1/+0
|/
* Merge pull request #287 from justphil/masterBen Johnson2015-01-181-1/+1
|\ | | | | fix 'range scans' example
| * fix 'range scans' examplePhilipp Tarasiewicz2015-01-181-1/+1
| | | | | | Due to the fact that you want to iterate over all keys that are before or equal to `max` starting from `min` the bytes.Compare() check should look like the commit suggests.
* | Merge pull request #286 from benbjohnson/trunc-n-syncBen Johnson2015-01-181-0/+11
|\ \ | |/ |/| Add truncate() and sync() on resize.
| * Add truncate() and sync() on resize.Ben Johnson2015-01-181-0/+11
|/ | | | | | | | This commit fixes an issue with ext3/ext4 filesystems where metadata file size is not synced when resizing a file. It also resizes the entire resize instead of updating the size during individual page writes. Thanks to @tv42 for the fix.
* Merge pull request #283 from mbertschler/masterBen Johnson2015-01-151-1/+0
|\ | | | | Fix syntax error in README stats example
| * Fix syntax error in README stats examplembertschler2015-01-151-1/+0
|/
* Merge pull request #282 from benbjohnson/max-mmap-checkBen Johnson2015-01-121-10/+15
|\ | | | | Add check for max mmap size.
| * Add check for max mmap size.Ben Johnson2015-01-121-10/+15
|/ | | | | | | | The max mmap size was previous unchecked which resulted in a panic once the maximum size was reached. This commit adds a check for the max size when re-mapping and returns an error if the new map will exceed the size. Thanks to Tamás Gulácsi for testing out the change on i386.
* Merge pull request #281 from tgulacsi/masterBen Johnson2015-01-122-2/+2
|\ | | | | Raise maxMapSize from 256MB to 2GB on 386, arm.
| * Raise maxMapSize from 256MB to 2GB on 386, arm.Tamás Gulácsi2015-01-122-2/+2
|/ | | | Fixes #260 and #277.
* Merge pull request #279 from benbjohnson/remove-import-exportBen Johnson2015-01-085-322/+0
|\ | | | | Remove 'import' and 'export' CLI commands.
| * Remove 'import' and 'export' CLI commands.Ben Johnson2015-01-085-322/+0
|/ | | | | | | | | | | The import and export commands are a relic of early Bolt when the file format was not stable. If the file format changed then users could export their old data and import it into a new database with a new format. The Bolt DB file format is stable and will not change so this command is no longer needed. Thanks to Alejandro Gaviria for pointing this out.
* READMEBen Johnson2014-12-111-0/+34
| | | Add a section to the README for "Managing transactions manually".
* Merge pull request #267 from topiaruss/patch-1Ben Johnson2014-12-041-2/+2
|\ | | | | grammar & typo
| * grammar & typoRuss Ferriday2014-12-041-2/+2
|/
* READMEBen Johnson2014-11-281-1/+1
|
* READMEBen Johnson2014-11-281-1/+44
| | | | | | | | Added a "Comparison" section to compare Bolt against other DB options: 1. Relational databases 2. LevelDB 3. LMDB
* v1.0Ben Johnson2014-11-271-17/+8
|
* Clarify cursor behavior after mutation.Ben Johnson2014-11-271-0/+4
|
* Merge pull request #265 from benbjohnson/armBen Johnson2014-11-271-0/+4
|\ | | | | Add ARM support.
| * Add ARM support.Ben Johnson2014-11-271-0/+4
|/
* Merge pull request #264 from ebberg/patch-1Ben Johnson2014-11-251-1/+1
|\ | | | | fix link in readme
| * fix link in readmeEric Berg2014-11-251-1/+1
|/
* Merge pull request #259 from davecgh/jrick_msyncBen Johnson2014-09-226-17/+51
|\ | | | | Fix bolt on OpenBSD
| * Fix bolt on OpenBSD.Josh Rickmar2014-09-186-17/+51
| | | | | | | | | | | | | | | | | | | | | | OpenBSD does not include a UBC kernel and writes must be synchronized with the msync(2) syscall. In addition, the NoSync field of the DB struct should be ignored on OpenBSD, since unlike other platforms, missing msyncs will result in data corruption. Depends on PR #258. Fixes #257.
* | Merge pull request #258 from davecgh/davec_buildBen Johnson2014-09-222-1/+3
|\| | | | | Rework build to support more liberal unix variants.
| * Rework build to support more liberal unix variants.Dave Collins2014-09-182-1/+3
|/ | | | | | | | | | | Rather than having the build setup such that it will only work on the specifically defined operating systems, this commit modifies it to use more liberal !windows,!plan9 build tag for the unix specific bits. This means bolt will compile on more Operating Systems such as OpenBSD, FreeBSD, and NetBSD. See boltdb/bolt#257 for discussion.
* Merge pull request #254 from benbjohnson/caveat-rssBen Johnson2014-09-161-0/+7
|\ | | | | Add caveat for memory usage.
| * Add caveat for memory usage.Ben Johnson2014-09-151-0/+7
|/ | | | | This commit adds a caveat for high memory usage shown by processes with large Bolt databases. This is expected behavior and is handled by the OS page cache.
* Merge pull request #252 from extemporalgenome/patch-1Ben Johnson2014-09-111-1/+1
|\ | | | | Fixed typo in README.md
| * Fixed typo in README.mdKevin Gillette2014-09-111-1/+1
|/
* Merge pull request #250 from guilhem/tentacoolBen Johnson2014-09-011-0/+1
|\ | | | | Tentacool is using bolt too ;)
| * Tentacool is using bolt too ;)Guilhem Lettron2014-09-011-0/+1
|/
* Merge pull request #249 from deoxxa/patch-1Ben Johnson2014-08-301-0/+1
|\ | | | | add bleve to project list
| * add bleve to project listConrad Pankoff2014-08-311-0/+1
|/
* Merge pull request #248 from miku/cayleyBen Johnson2014-08-281-0/+1
|\ | | | | Add cayley to projects using bolt list.
| * Add cayley to projects using bolt list.Martin Czygan2014-08-281-0/+1
|/