Ben Johnson
3a1b152562
Ignore multiple transaction commit/rollback/close.
2014-03-01 12:53:05 -07:00
Ben Johnson
a1f43f4d60
Allow reads of unflushed nodes.
...
This commit allows cursors to read updated values from within the
RWTransaction.
2014-03-01 09:13:59 -07:00
Ben Johnson
9abced434f
Add bucket reclamation.
...
After RWTransaction.DeleteBucket() is called, all pages related to the
bucket are moved to the freelist for that transaction.
2014-02-27 11:55:44 -07:00
Ben Johnson
41fb285e37
Remove RWTransaction.Bucket().
...
Add an reference to the RWTransaction onto Transaction so that calls to
Transaction.Bucket() and Transaction.Buckets() return writable buckets
when attached to a writabe transaction.
2014-02-25 08:31:04 -07:00
Ben Johnson
a544249dd8
Refactor Bucket.
2014-02-23 08:32:53 -07:00
Ben Johnson
3b2fd8f2d3
Revert "Refactor Transaction/Bucket API."
...
This reverts commit 1ad2b99f281d587b767b36f886401e81d17915a9.
2014-02-22 22:54:54 -07:00
Ben Johnson
1ad2b99f28
Refactor Transaction/Bucket API.
2014-02-21 22:57:50 -07:00
Tommi Virtanen
8438c6ebc3
Cursor.Get is now Cursor.Seek, and returns the first possible key.
...
This makes range and prefix queries possible.
Closes : #44
2014-02-20 11:33:28 -08:00
Ben Johnson
a857b45bac
Check for sequence overflow.
2014-02-20 09:24:02 -07:00
Ben Johnson
63e8e474d7
Add CreateBucketIfNotExists().
2014-02-16 12:36:37 -07:00
Ben Johnson
149afc8c9b
Rename errors.
2014-02-16 12:18:44 -07:00
Ben Johnson
7fb06feea4
Add parallel usage test and race detector.
2014-02-15 21:50:34 -07:00
Ben Johnson
e68bc0b453
Add bucket sequence.
2014-02-15 10:23:00 -07:00
Ben Johnson
8ad59edd02
API Documentation.
2014-02-13 10:58:27 -07:00
Ben Johnson
7bb878ff69
Mmap remap.
2014-02-12 11:49:57 -07:00
Ben Johnson
509e93dff4
Add freelist.
2014-02-10 14:04:01 -07:00
Ben Johnson
3da04c52b9
Rebalance after deletion.
2014-02-08 23:13:54 -07:00
Ben Johnson
84939c21f6
Refactor node lookup.
2014-02-07 15:03:29 -07:00
Ben Johnson
1318213f1d
Clean up.
2014-02-06 16:21:36 -07:00
Ben Johnson
a0c8de592d
Fix multi-put transaction.
2014-02-06 16:06:13 -07:00
Ben Johnson
0ed3dc3071
Rename sys ☞ buckets.
2014-02-05 22:15:47 -07:00
Ben Johnson
8b3b81ef47
Fix quick tests.
2014-02-05 07:56:13 -07:00
Ben Johnson
0cae98efc5
Add RWTransaction.Delete().
2014-02-03 14:33:51 -07:00
Ben Johnson
1a17a2cf1e
Add RWTransaction.Put().
2014-02-01 12:30:37 -05:00
Ben Johnson
a901cf6a25
Clean up API.
2014-01-31 12:22:58 -05:00
Ben Johnson
26f6fefead
Add RWTransaction.write().
2014-01-30 22:20:50 -05:00
Ben Johnson
8d5757e9dd
gofmt
2014-01-30 17:04:56 -05:00
Ben Johnson
149d48fb9e
Fix leaf/branch deserialization.
2014-01-30 00:11:46 -05:00
Ben Johnson
4fb62e8980
Refactor leaf.write() / leaf.split().
2014-01-28 22:02:54 -05:00
Ben Johnson
c94f1fcb11
Rename tpage to leaf.
2014-01-28 20:41:07 -05:00
Ben Johnson
a942c1d168
Add tpage.put() test.
2014-01-28 15:16:22 -05:00
Ben Johnson
ac498d9044
Rename lpage/lpnode to mpage/mnode.
2014-01-27 22:29:14 -05:00
Ben Johnson
ef590ecdfb
lpage
2014-01-27 22:22:37 -05:00
Ben Johnson
192649f453
Intermediate.
2014-01-27 10:11:54 -05:00
Ben Johnson
1baa6d576a
Initialize transaction/rwtransaction.
2014-01-26 15:29:06 -07:00
Ben Johnson
2c6b8e0ebf
Remove RWCursor.
2014-01-26 13:22:00 -07:00
Ben Johnson
73ab1d420d
TODO
2014-01-24 16:32:18 -07:00
Ben Johnson
20b26eac78
TODO
2014-01-24 12:51:56 -07:00
Ben Johnson
bce3e667df
Intermediate commit.
2014-01-21 15:00:48 -07:00
Ben Johnson
153372abd4
Refactoring to RWCursor, RWTxn, and branch/leaf nodes and pages.
2014-01-17 15:23:39 -07:00