| Commit message (Expand) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | 2015-11-05 | 1 | -19/+35 |
| * | Document key/value safety.•••This commit adds safety documentation to the data accessor functions in Bolt as well as the README. This was documented once in the package level godoc but it's important enough that it should be more clear. | Ben Johnson | 2015-03-24 | 1 | -0/+7 |
| * | 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. | Ben Johnson | 2015-01-30 | 1 | -2/+3 |
| * | Clarify cursor behavior after mutation. | Ben Johnson | 2014-11-27 | 1 | -0/+4 |
| * | add Cursor.Delete() | Martin Kobetic | 2014-06-11 | 1 | -0/+19 |
| * | Refactor Cursor.Next() to use Cursor.next(). | Ben Johnson | 2014-06-09 | 1 | -23/+1 |
| * | Fix last element seek.•••This commit fixes a bug with seeks where seeking to a key between the end of a page and the beginning of the next page causes it to return nil. This was fixed by calling Cursor.next() when the cursor ends up between pages. This also changes Cursor.Next() so that calling Next() at the end of a bucket leaves the cursor at the end instead of zeroing out the stack. Fixes #186. /cc @PreetamJinka | Ben Johnson | 2014-06-09 | 1 | -7/+42 |
| * | Fix freelist allocation direction.•••This commit fixes the freelist so that it frees from the beginning of the data file instead of the end. It also adds a fast path for pages which can be allocated from the first free pages and it includes read transaction stats. | Ben Johnson | 2014-05-19 | 1 | -1/+1 |
| * | Fix bucket free. | Ben Johnson | 2014-05-07 | 1 | -1/+1 |
| * | 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 |
| * | Refactor split/spill. | Ben Johnson | 2014-05-03 | 1 | -1/+1 |
| * | Add Cursor.Bucket() function.•••This commit adds an accessor to the Cursor type to retrieve the Bucket that it was created from. | Ben Johnson | 2014-04-16 | 1 | -0/+5 |
| * | Add nested buckets.•••This commit adds the ability to create buckets inside of other buckets. It also replaces the buckets page with a root bucket. Fixes #56. | Ben Johnson | 2014-04-11 | 1 | -25/+55 |
| * | Rename internal local Tx variables.•••This commit changes the local Tx variables from "t" to "tx". This is partly for consistency with external documentation but also because it just annoys me for some reason. | Ben Johnson | 2014-04-04 | 1 | -2/+2 |
| * | Add ErrTxClosed error.•••Commit/Rollback and mutable calls on Tx and Bucket now return ErrTxClosed if the transaction has already been committed or rolled back. Non-mutable calls have added an assertion to check if the transaction is closed which will cause a panic. I don't want to introduce an error return for accessor methods that are being used improperly so I think the panic is appropriate. | Ben Johnson | 2014-03-23 | 1 | -0/+8 |
| * | Fix Cursor.Last() on empty buckets.•••@tv42 reported that creating a cursor on an empty bucket and then calling Cursor.Last() causes an index out of range error and panics. This commit adds a check for the page's item count being greater than zero. Fixes #63. | Ben Johnson | 2014-03-13 | 1 | -1/+1 |
| * | Consolidate Tx and RWTx. | Ben Johnson | 2014-03-08 | 1 | -1/+1 |
| * | Rename Transaction to Tx.•••I changed the Transaction/RWTransaction types to Tx/RWTx, respectively. This makes the naming more consistent with other packages such as database/sql. The txnid is changed to txid as well. | Ben Johnson | 2014-03-08 | 1 | -10/+10 |
| * | Allow reads of unflushed nodes.•••This commit allows cursors to read updated values from within the RWTransaction. | Ben Johnson | 2014-03-01 | 1 | -51/+134 |
| * | Minor refactor. | Ben Johnson | 2014-02-28 | 1 | -6/+2 |
| * | Revert "Refactor Transaction/Bucket API."•••This reverts commit 1ad2b99f281d587b767b36f886401e81d17915a9. | Ben Johnson | 2014-02-22 | 1 | -1/+1 |
| * | Refactor Transaction/Bucket API. | Ben Johnson | 2014-02-21 | 1 | -1/+1 |
| * | Bidirectional cursors. | Ben Johnson | 2014-02-20 | 1 | -1/+53 |
| * | Cursor.Get is now Cursor.Seek, and returns the first possible key.•••This makes range and prefix queries possible. Closes: #44 | Tommi Virtanen | 2014-02-20 | 1 | -12/+8 |
| * | Fix Cursor godoc for First(), Next(), and Get(). | Ben Johnson | 2014-02-20 | 1 | -3/+3 |
| * | Improve test coverage. | Ben Johnson | 2014-02-15 | 1 | -3/+1 |
| * | API Documentation. | Ben Johnson | 2014-02-13 | 1 | -10/+16 |
| * | Cursor iteration. | Ben Johnson | 2014-02-11 | 1 | -3/+50 |
| * | Add freelist. | Ben Johnson | 2014-02-10 | 1 | -9/+1 |
| * | Rebalance after deletion. | Ben Johnson | 2014-02-08 | 1 | -5/+5 |
| * | Refactor node lookup. | Ben Johnson | 2014-02-07 | 1 | -18/+31 |
| * | Fix quick tests. | Ben Johnson | 2014-02-05 | 1 | -1/+0 |
| * | Add RWTransaction.Put(). | Ben Johnson | 2014-02-01 | 1 | -24/+43 |
| * | gofmt | Ben Johnson | 2014-01-30 | 1 | -3/+3 |
| * | Fix leaf/branch deserialization. | Ben Johnson | 2014-01-30 | 1 | -6/+39 |
| * | Refactor meta.copy() and page.init(). | Ben Johnson | 2014-01-29 | 1 | -1/+0 |
| * | lpage | Ben Johnson | 2014-01-27 | 1 | -2/+7 |
| * | Intermediate. | Ben Johnson | 2014-01-27 | 1 | -8/+29 |
| * | Initialize transaction/rwtransaction. | Ben Johnson | 2014-01-26 | 1 | -30/+10 |
| * | TODO | Ben Johnson | 2014-01-24 | 1 | -2646/+28 |
| * | TODO | Ben Johnson | 2014-01-24 | 1 | -11/+0 |
| * | Intermediate commit. | Ben Johnson | 2014-01-21 | 1 | -36/+12 |
| * | Refactoring to RWCursor, RWTxn, and branch/leaf nodes and pages. | Ben Johnson | 2014-01-17 | 1 | -1113/+264 |
| * | Add system buckets. | Ben Johnson | 2014-01-14 | 1 | -42/+9 |
| * | Begin Transaction.Cursor(). | Ben Johnson | 2014-01-13 | 1 | -120/+101 |
| * | Initial db.open. | Ben Johnson | 2014-01-11 | 1 | -2787/+2790 |
| * | DB.Open(), pages, and meta. | Ben Johnson | 2014-01-10 | 1 | -0/+7 |
| * | Move all C code into repo. | Ben Johnson | 2014-01-09 | 1 | -0/+3557 |
| * | Basic types. | Ben Johnson | 2014-01-08 | 1 | -0/+44 |
