| Commit message (Expand) | Author | Files | Lines |
| 2015-12-31 | [docs] Add table of contents•••- Generated and tweaked a TOC using [doctoc](https://github.com/thlorenz/doctoc)
- (removed generated headers and fixed broken ampersand conversion)
| Matt Silverlock | 1 | -1/+29 |
| 2015-12-21 | Introduce InitialMmapSize to prevent deadlock•••InitialMmapSize is the initial mmap size of the database in bytes.
Read transaction won't block write transaction if InitialMmapSize
is large enough to handle mmap size.
Copied from https://github.com/boltdb/bolt/pull/432.
| Gyu-Ho Lee | 2 | -1/+60 |
| 2015-12-17 | Update min mmap size in godoc | Rodolfo Carvalho | 1 | -1/+1 |
| 2015-12-14 | Update README URLs based on HTTP redirects | ReadmeCritic | 1 | -5/+5 |
| 2015-12-10 | Make bolt.Open return the documented errors•••- ErrInvalid is returned when a data file is not a Bolt-formatted
database.
- ErrVersionMismatch is returned when the data file was created with a
different version of Bolt.
- ErrChecksum is returned when either meta page checksum does not match.
Also:
- Do not wrap errors from os.Stat, so that a caller could handle os.Stat
errors just like it can handle errors from os.Open that bolt.Open
might return.
- Name tests consistently, following the pattern "TestOpen_*".
- Remove deferred calls to `os.Remove(path)`.
The calls are not only unnecessary, but also in all cases `os.Remove`
returns an error that is ignored. All those calls are meant to remove
a file that was already removed by `tmpfile()`.
- Combine "bad path" tests and use filepath.Join to build the path.
| Rodolfo Carvalho | 2 | -28/+98 |
| 2015-12-05 | README•••Replace reference to the coalescer with a reference to `DB.Batch()`.
Fixes #465. | Ben Johnson | 1 | -3/+2 |
| 2015-12-05 | Fix `bolt stats` output | Rodolfo Carvalho | 2 | -1/+44 |
| 2015-12-05 | Put backticks around function name in description | Rodolfo Carvalho | 1 | -4/+4 |
| 2015-11-22 | Fix typo in comment | Mark Rushakoff | 1 | -1/+1 |
| 2015-11-22 | Explain iterating over sub-buckets in README | Mark Rushakoff | 1 | -4/+9 |
| 2015-11-08 | Add MmapFlags option for MAP_POPULATE (unix)•••This adds MmapFlags to DB.Options in case we need syscall.MAP_POPULATE
flag in Linux 2.6.23+ to do the sequential read-ahead, as discussed in [1].
---
[1]: https://github.com/coreos/etcd/issues/3786
| Gyu-Ho Lee | 3 | -3/+11 |
| 2015-11-06 | update WriteTo() docs•••This commit updates and revises some of the documentation around
Tx.WriteTo() and how O_DIRECT is no longer the default.
| Ben Johnson | 3 | -15/+13 |
| 2015-11-06 | add WriteToFlag to Tx•••For in memory workload, it does not make sense to use
o_direct to copy the file. Adding a option to clear out
o_direct and for other future cases.
| Xiang Li | 4 | -12/+13 |
| 2015-11-05 | skip empty pages during cursor seek•••This commit fixes an issue where keys are skipped by cursors after
deletions occur in a bucket. This occurred because the cursor seeks
to the leaf page but does not check if it is empty.
Fixes #429, #450
| Luke Champine | 2 | -19/+78 |
| 2015-11-03 | updated README.md to fix typo | Charlie Cochrane | 1 | -2/+2 |
| 2015-10-28 | lower MaxValue to 2GB•••This commit changes the maximum value size to 2GB so that tests can
run on 32-bit machines. There's really no reason to write a 2GB+
value to Bolt. It's not terribly efficient for large values.
| Ben Johnson | 1 | -1/+1 |
| 2015-10-28 | typo and highlight | Hung Nguyen Viet | 1 | -3/+3 |
| 2015-10-24 | README: add 'Reading the Source' section•••This commit adds a section to help people understand the
source better while reading it.
| Ben Johnson | 1 | -0/+50 |
| 2015-10-21 | bucket: document buckets are valid only during the transaction•••Issue #313
| Patrick Mezard | 2 | -0/+6 |
| 2015-10-20 | README: mention the memory map consumes a lot of address space•••I have been bitten by this when running a simple application on a
Raspberry Pi 2. It had 3 stores: two 512M stores and one 128M. The
application refused to start the moment the first index grew from 512M
to 1G.
Bolt is really nice but it is easy to overlook this limitation,
especially with the note about supporting stores much larger than
*physical* memory.
| Patrick Mezard | 1 | -1/+3 |
| 2015-10-19 | bucket: document Put() value must remain valid for the transaction•••Issue #324
| Patrick Mezard | 1 | -0/+1 |
| 2015-10-18 | Add example of NextSequence() usage to readme | Rogier Lommers | 1 | -0/+44 |
| 2015-10-17 | In TestBucket_Delete_FreelistOverflow, use Cursor.Delete to remove records.•••When removing all the keys from the bucket, use Cursor.Delete directly, which
avoids a seek through the bucket to find the element to delete. This knocks
1/5 of the time off my laptop when running this test while not reducing the
amount of overflow pages cleared out of the free list.
| Matthew Dawson | 1 | -1/+1 |
| 2015-10-13 | typos | John ShaggyTwoDope Jenkins | 2 | -3/+3 |