| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
| |
This commit fixes an issue where large databases were being resized to
larger sizes on every open.
|
|
|
| |
Removed reference to LMDB's append mode being unsafe.
|
|\
| |
| | |
Persist sequence-only changes
|
|/
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
Expand assertion statements
|
|/
|
|
|
|
| |
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.
|
|\
| |
| | |
Fix mmap resize calculation.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
Removed redundant duplicate line of code
|
|/ |
|
|\
| |
| | |
fix 'range scans' example
|
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
Add truncate() and sync() on resize.
|
|/
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Fix syntax error in README stats example
|
|/ |
|
|\
| |
| | |
Add check for max mmap size.
|
|/
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Raise maxMapSize from 256MB to 2GB on 386, arm.
|
|/
|
|
| |
Fixes #260 and #277.
|
|\
| |
| | |
Remove 'import' and 'export' CLI commands.
|
|/
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
| |
Add a section to the README for "Managing transactions manually".
|
|\
| |
| | |
grammar & typo
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
Added a "Comparison" section to compare Bolt against other DB options:
1. Relational databases
2. LevelDB
3. LMDB
|
| |
|
| |
|
|\
| |
| | |
Add ARM support.
|
|/ |
|
|\
| |
| | |
fix link in readme
|
|/ |
|
|\
| |
| | |
Fix bolt on OpenBSD
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\|
| |
| | |
Rework build to support more liberal unix variants.
|
|/
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Add caveat for memory usage.
|
|/
|
|
|
| |
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.
|
|\
| |
| | |
Fixed typo in README.md
|
|/ |
|
|\
| |
| | |
Tentacool is using bolt too ;)
|
|/ |
|
|\
| |
| | |
add bleve to project list
|
|/ |
|
|\
| |
| | |
Add cayley to projects using bolt list.
|
|/ |
|