629 Commits

Author SHA1 Message Date
Ben Johnson
aa66506030 v1.0 v1.0 2014-11-27 17:29:59 -07:00
Ben Johnson
74489c7516 Clarify cursor behavior after mutation. 2014-11-27 17:18:05 -07:00
Ben Johnson
b4417f3ae3 Merge pull request #265 from benbjohnson/arm
Add ARM support.
2014-11-27 16:57:33 -07:00
Ben Johnson
0845303c2a Add ARM support. 2014-11-27 16:52:27 -07:00
Ben Johnson
e65c9027c3 Merge pull request #264 from ebberg/patch-1
fix link in readme
2014-11-25 14:35:46 -07:00
Eric Berg
16247c3a42 fix link in readme 2014-11-25 15:10:19 -05:00
Ben Johnson
d285804df1 Merge pull request #259 from davecgh/jrick_msync
Fix bolt on OpenBSD
2014-09-22 11:53:19 -06:00
Ben Johnson
1ed004d77f Merge pull request #258 from davecgh/davec_build
Rework build to support more liberal unix variants.
2014-09-22 11:48:13 -06:00
Josh Rickmar
a2cbaa05f9 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.
2014-09-18 18:14:50 -05:00
Dave Collins
8cdba50ea1 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.
2014-09-18 14:04:59 -05:00
Ben Johnson
3ba61af120 Merge pull request #254 from benbjohnson/caveat-rss
Add caveat for memory usage.
2014-09-16 00:08:47 -06:00
Ben Johnson
7022ade6e6 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.
2014-09-15 11:09:55 -06:00
Ben Johnson
a6934a4f5b Merge pull request #252 from extemporalgenome/patch-1
Fixed typo in README.md
2014-09-11 21:17:28 -06:00
Kevin Gillette
c0a48fb4be Fixed typo in README.md 2014-09-11 20:50:44 -06:00
Ben Johnson
02639b84ed Merge pull request #250 from guilhem/tentacool
Tentacool is using bolt too ;)
2014-09-01 11:40:02 -06:00
Guilhem Lettron
d902166ae5 Tentacool is using bolt too ;) 2014-09-01 11:39:07 +02:00
Ben Johnson
0812d4ba39 Merge pull request #249 from deoxxa/patch-1
add bleve to project list
2014-08-30 18:18:36 -06:00
Conrad Pankoff
d5bf4d234f add bleve to project list 2014-08-31 00:57:54 +10:00
Ben Johnson
5f72f55b58 Merge pull request #248 from miku/cayley
Add cayley to projects using bolt list.
2014-08-28 09:17:03 -06:00
Martin Czygan
e786ef2a5d Add cayley to projects using bolt list. 2014-08-28 16:34:18 +02:00
Ben Johnson
13d3612add Merge pull request #245 from benbjohnson/caveat
Add single-bucket/single-tx caveat.
2014-08-24 18:06:50 -06:00
Ben Johnson
e3345690a3 Add single-bucket/single-tx caveat.
This commit adds a caveat to the README to notify users that bulk loading
random writes into a single new bucket can be problematic. This issue was
reported by @freepk.

Fixes #244.
2014-08-24 18:02:50 -06:00
Ben Johnson
43a1303c15 Merge pull request #243 from benbjohnson/deref-split-root
Fix split root dereference.
2014-08-21 22:52:58 -06:00
Ben Johnson
f088575049 Fix split root dereference.
This commit fixes a bug that occurs when a root node is split just after a re-mmap occurs.
Previously, this would cause a panic because the new root node would still reference
keys from the old mmap.
2014-08-21 22:49:58 -06:00
Ben Johnson
28e80eedb5 Merge pull request #242 from clutchski/patch-1
fix spelling mistake in README
2014-08-20 15:17:14 -06:00
Matt Perpick
f74816f99b fix spelling mistake in README 2014-08-20 14:18:11 -04:00
Ben Johnson
e40a4f06da Merge pull request #241 from AndreasBriese/master
added ipLocator to projects using Bolt
2014-08-18 10:39:25 -06:00
Andreas Briese
2dc3be256d added ipLocator to projects using Bolt 2014-08-18 18:06:45 +02:00
Ben Johnson
2e572902b7 Merge pull request #239 from benbjohnson/example
Add cursor examples.
2014-08-16 16:06:28 -06:00
Ben Johnson
1dc60ba7a1 Add cursor examples. 2014-08-16 15:20:31 -06:00
Ben Johnson
117d8715ac Merge pull request #236 from siddontang/master
Add LedisDB to project list
2014-08-03 19:47:43 -06:00
siddontang
83ed27a598 Add LedisDB to project list 2014-08-04 09:23:34 +08:00
Ben Johnson
8fb50d5ee5 Merge pull request #235 from benbjohnson/caveats
Caveats & Limitations
2014-07-28 09:01:21 -06:00
Ben Johnson
c216d6477c README 2014-07-28 08:59:45 -06:00
Ben Johnson
152c71a51b README 2014-07-27 14:32:58 -06:00
Ben Johnson
defbfd35af Merge pull request #234 from benbjohnson/testing
Testing cleanup
2014-07-26 19:47:10 -06:00
Ben Johnson
bbf2da4c90 Fix go vet. 2014-07-26 19:41:05 -06:00
Ben Johnson
44e6192d2b Remove testify. 2014-07-26 17:17:03 -06:00
Ben Johnson
ba6badc57f Move tests to a test package. 2014-07-26 15:11:47 -06:00
Ben Johnson
ca2339d7cb Remove wrapping test closures. 2014-07-26 14:44:04 -06:00
Ben Johnson
06222e06de Remove withTempPath() helper. 2014-07-25 23:14:17 -06:00
Ben Johnson
f7a40c7fb5 Merge pull request #230 from benbjohnson/doc
Documentation!
2014-07-25 22:12:17 -06:00
Ben Johnson
ddb6b2f0ed README 2014-07-25 11:20:39 -06:00
Ben Johnson
d021755f07 Merge pull request #229 from benbjohnson/bucket-fill-percent
Change fill percent to be per-bucket.
2014-07-24 11:25:57 -06:00
Ben Johnson
cb17016062 Add FillPercent documentation. 2014-07-24 11:25:25 -06:00
Ben Johnson
c3400efefd Change fill percent to be per-bucket.
This commit moves the DB.FillPercent field to Bucket.FillPercent. This
allows the fill percentage to be specified per-bucket, per-tx. This
value is not persisted and should be set whenever using it.
2014-07-24 10:36:09 -06:00
Ben Johnson
5fb781318f Merge pull request #228 from benbjohnson/fix-large-append
Fix root split on very large append.
2014-07-23 15:44:17 -06:00
Ben Johnson
aa66291b9b Fix root split on very large append.
This commit fixes a bug where a root split on a very large insert would
cause an overflow of the root node. The problem was that the new root
was not split when it was created so a new root with more than 64K child
nodes would overflow the page.count (uint16).
2014-07-23 15:08:59 -06:00
Ben Johnson
40adaef94e Merge pull request #227 from benbjohnson/fix-double-spill
Fix double spill
2014-07-23 14:35:52 -06:00
Ben Johnson
fd3c1d44b0 Fix double spill.
This fixes an issue where split nodes can be double spilled. This is typically
not noticable but it can have large effects when bulk inserting as double
spilled nodes will get added to the freelist which will grow quickly.
2014-07-23 09:04:36 -06:00