Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | aggregate bucket stats recursively and add stats to cmd | Martin Kobetic | 2014-05-09 | 5 | -16/+107 | |
| | | ||||||
| * | first part | Martin Kobetic | 2014-05-09 | 4 | -7/+102 | |
| | | ||||||
* | | Merge pull request #161 from benbjohnson/work | Ben Johnson | 2014-05-12 | 2 | -1/+9 | |
|\ \ | |/ |/| | Add -work flag to 'bolt bench'. | |||||
| * | Add -work flag to 'bolt bench'. | Ben Johnson | 2014-05-12 | 2 | -1/+9 | |
|/ | | | | | This commit adds a 'work' flag to the bolt bench utility so that databases generated by the bench CLI can be saved for analysis. | |||||
* | Merge pull request #160 from benbjohnson/fix-deletion | Ben Johnson | 2014-05-09 | 3 | -19/+38 | |
|\ | | | | | Fix deletion & dereferencing. | |||||
| * | Merge branch 'master' of https://github.com/boltdb/bolt into fix-deletion | Ben Johnson | 2014-05-09 | 7 | -5/+79 | |
| |\ | |/ |/| | | | | | Conflicts: node.go | |||||
* | | Fix node unit tests. | Ben Johnson | 2014-05-09 | 1 | -5/+5 | |
| | | ||||||
* | | Merge pull request #159 from Shopify/pgid_overflow_checks | Ben Johnson | 2014-05-09 | 3 | -0/+9 | |
|\ \ | | | | | | | add asserts for detecting pgid high watermark overflow | |||||
| * | | remove stray file | Martin Kobetic | 2014-05-09 | 1 | -54/+0 | |
| | | | ||||||
| * | | add asserts for detecting pgid high watermark overflow | Martin Kobetic | 2014-05-09 | 4 | -0/+63 | |
|/ / | ||||||
* | | Merge pull request #158 from benbjohnson/bolt-info | Ben Johnson | 2014-05-08 | 3 | -0/+66 | |
|\ \ | | | | | | | Add 'bolt info'. | |||||
| * | | Add 'bolt info'. | Ben Johnson | 2014-05-08 | 3 | -0/+66 | |
|/ / | ||||||
| * | Fix deletion reclamation. | Ben Johnson | 2014-05-09 | 3 | -19/+39 | |
|/ | ||||||
* | Merge pull request #154 from benbjohnson/inline-buckets | Ben Johnson | 2014-05-07 | 7 | -54/+273 | |
|\ | | | | | (wip) Add inline bucket support. | |||||
| * | Minor fixes. | Ben Johnson | 2014-05-07 | 1 | -1/+1 | |
| | | ||||||
| * | Improve bucket code documentation. | Ben Johnson | 2014-05-07 | 1 | -11/+14 | |
| | | ||||||
| * | Fix bucket free. | Ben Johnson | 2014-05-07 | 5 | -6/+82 | |
| | | ||||||
| * | Add inline bucket support. | Ben Johnson | 2014-05-05 | 7 | -49/+189 | |
|/ | | | | | | | | | | | | | | | This commit adds support for writing small buckets directly inline to their value in their parent's leaf node. Previously, subbuckets would simply have a bucket header stored in their parent bucket which pointed to the root page. This required that every bucket use at least a single page. This has a high overhead for buckets with only one or two small items. Inline buckets checks subbuckets to see if they only have a small amount of data (about 1kb) and no subbuckets. If these conditions are met then the bucket's root node is written to a fake page which is simply a pointer to the end of the bucket's header. Fixes #124. | |||||
* | Merge pull request #153 from benbjohnson/consolidate | Ben Johnson | 2014-05-05 | 10 | -139/+120 | |
|\ | | | | | Consolidate code for clarity. | |||||
| * | Consolidate code for clarity. | Ben Johnson | 2014-05-05 | 10 | -139/+120 | |
|/ | | | | | | This commit consolidates some of the smaller files into some of the larger files. The smaller files cluttered the file tree and made it harder to see the logical groupings of structs. | |||||
* | Merge pull request #152 from benbjohnson/remove-bolt-set | Ben Johnson | 2014-05-05 | 3 | -87/+0 | |
|\ | | | | | Remove 'bolt set'. | |||||
| * | Remove 'bolt set'. | Ben Johnson | 2014-05-05 | 3 | -87/+0 | |
|/ | | | | | This commit removes the 'set' command in the Bolt CLI. It proved to not be very useful so there's no point in keeping the extra code around. | |||||
* | Merge pull request #151 from benbjohnson/remove-c | Ben Johnson | 2014-05-05 | 3 | -732/+0 | |
|\ | | | | | Remove the c package | |||||
| * | Remove the c package. | Ben Johnson | 2014-05-05 | 3 | -732/+0 | |
|/ | | | | | The CGO binding from an external package did not work as well as hoped. The C code has been moved to the project which uses it. | |||||
* | Merge pull request #150 from tv42/typo-seek | Ben Johnson | 2014-05-04 | 1 | -1/+2 | |
|\ | | | | | Fix Cursor.Seek to say caller should test key==nil not value==nil, explain what value==nil really means these days | |||||
| * | Document cursors seeing nested buckets | Tommi Virtanen | 2014-05-04 | 1 | -0/+1 | |
| | | ||||||
| * | Cursor.Seek validity is indicated by key being nil | Tommi Virtanen | 2014-05-04 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #148 from benbjohnson/split-spill | Ben Johnson | 2014-05-03 | 6 | -132/+240 | |
|\ | | | | | Refactor split/spill | |||||
| * | Refactor split/spill. | Ben Johnson | 2014-05-03 | 6 | -132/+240 | |
|/ | ||||||
* | Merge pull request #147 from benbjohnson/stats | Ben Johnson | 2014-05-01 | 2 | -23/+61 | |
|\ | | | | | Add streaming stats to bolt bench. | |||||
| * | Add streaming stats to bolt bench. | Ben Johnson | 2014-04-30 | 2 | -23/+61 | |
|/ | | | | | | This commit adds -stats-interval to the 'bolt bench' utility. By setting this argument to an interval greater than 0s, the benchmark tool will output stats as streaming JSON. This data can, in turn, be graphed to understand performance over time. | |||||
* | Merge pull request #146 from benbjohnson/bench-batch | Ben Johnson | 2014-04-30 | 2 | -12/+41 | |
|\ | | | | | Add --batch-size to 'bolt bench' | |||||
| * | Merge branch 'bench-batch' into moar_bench | Ben Johnson | 2014-04-30 | 7 | -15/+60 | |
| |\ | | | | | | | | | | | | | Conflicts: cmd/bolt/bench.go | |||||
| | * | Add --batch-size to 'bolt bench'. | Ben Johnson | 2014-04-29 | 2 | -11/+33 | |
| |/ |/| | | | | | | | | | | | | | This commit adds a --batch-size CLI argument to the 'bolt bench' tool. This argument will insert into Bolt in smaller batches which is a more typical use case. /cc @snormore | |||||
* | | Merge pull request #145 from benbjohnson/tx-cursor | Ben Johnson | 2014-04-29 | 2 | -0/+33 | |
|\ \ | | | | | | | Add Tx.Cursor(). | |||||
| * | | Add Tx.Cursor(). | Ben Johnson | 2014-04-29 | 2 | -0/+33 | |
| | | | | | | | | | | | | | | | | | | | | | This commit adds the Cursor() function to Tx. This allows iteration on the root bucket in a similar way to iteration on other buckets. Fixes #141. | |||||
* | | | Merge pull request #144 from benbjohnson/copy-key | Ben Johnson | 2014-04-29 | 1 | -0/+9 | |
|\ \ \ | |/ / |/| | | Copy key on Put() and CreateBucket(). | |||||
| * | | Copy key on Put() and CreateBucket(). | Ben Johnson | 2014-04-29 | 1 | -0/+9 | |
|/ / | | | | | | | | | | | | | This commit makes a copy of the key byte slice before inserting into the database. This fixes the issue where users may reuse byte buffers which can corrupt the database. Fixes #143. | |||||
* | | Merge pull request #142 from extemporalgenome/Printf-byteslice | Ben Johnson | 2014-04-25 | 3 | -8/+8 | |
|\ \ | | | | | | | Printf's %s and %q already do the right thing with []byte | |||||
| * | | Printf's %s and %q do the right thing with []byte; removed string conversion. | Kevin Gillette | 2014-04-25 | 3 | -8/+8 | |
|/ / | ||||||
| * | Remove bolt bench -stat. | Ben Johnson | 2014-04-30 | 2 | -26/+1 | |
| | | ||||||
| * | add -stats and -batch-size support to bench cmd | Martin Kobetic | 2014-04-24 | 2 | -12/+63 | |
|/ | ||||||
* | Merge pull request #139 from Shopify/moar_c_cursor | Ben Johnson | 2014-04-23 | 2 | -44/+171 | |
|\ | | | | | More C cursor improvements | |||||
| * | fix empty byte vs nil test problems | Martin Kobetic | 2014-04-23 | 2 | -17/+10 | |
| | | ||||||
| * | add test for empty bucket handling | Martin Kobetic | 2014-04-23 | 2 | -8/+36 | |
| | | ||||||
| * | another test case and minor cleanup | Martin Kobetic | 2014-04-23 | 2 | -10/+17 | |
| | | ||||||
| * | fix deep search | Martin Kobetic | 2014-04-23 | 2 | -5/+30 | |
| | | ||||||
| * | add deep tree tests, some cleanup | Martin Kobetic | 2014-04-22 | 2 | -32/+106 | |
|/ | ||||||
* | Merge pull request #137 from benbjohnson/bucket-stats | Ben Johnson | 2014-04-22 | 2 | -50/+55 | |
|\ | | | | | Change to BucketStats and Bucket.Stats(). | |||||
| * | Change to BucketStats and Bucket.Stats(). | Ben Johnson | 2014-04-22 | 2 | -50/+55 | |
|/ | | | | | | | | This commit pluralizes the BucketStat type to be BucketStats. This makes it more consistent with the other Stats() calls. This commit also changes the return type to a struct instead of a pointer. Finally, this commit adds documentation to the fields of BucketStats. |