Sebastian Messmer
|
7fc4115129
|
Adapt to new blockstore (Blockstore::tryCreate returns optional<unique_ref<Block>> instead of unique_ptr<Block>)
|
2015-07-20 19:10:46 +02:00 |
|
Sebastian Messmer
|
3d1341114b
|
Use unique_ref instead of unique_ptr
|
2015-06-26 15:59:18 +02:00 |
|
Sebastian Messmer
|
7fae2d1e59
|
Adapt to new cpp-utils
|
2015-06-21 17:43:45 +02:00 |
|
Sebastian Meßmer
|
31cd0eb9e9
|
Adapt to new dynamic_pointer_move
|
2015-06-18 19:34:24 +02:00 |
|
Sebastian Meßmer
|
5039205cd2
|
BlobStore handles unique_ref<Blob> instead of unique_ptr<Blob>
|
2015-06-18 12:45:37 +02:00 |
|
Sebastian Messmer
|
864169ff0d
|
TODOs
|
2015-05-08 01:57:44 +02:00 |
|
Sebastian Messmer
|
6a0623956d
|
Use Data, DataBlockFixture from cpputils
|
2015-04-25 02:55:34 +02:00 |
|
Sebastian Messmer
|
f3db9ef8b9
|
Fill new blocks with zeroes
|
2015-04-25 00:31:05 +02:00 |
|
Sebastian Meßmer
|
f2adbf01df
|
Adapt to new blockstore
|
2015-04-18 14:52:38 +02:00 |
|
Sebastian Messmer
|
9eec7a8c74
|
Resolve compatibility issue
|
2015-04-16 16:36:25 +02:00 |
|
Sebastian Messmer
|
8593963c45
|
Renamed CachingDataTreeStore to ParallelAccessDataTreeStore
|
2015-04-16 15:01:49 +02:00 |
|
Sebastian Messmer
|
84d1c55bc1
|
Adapt to new blockstore
|
2015-04-16 14:10:58 +02:00 |
|
Sebastian Messmer
|
eaa60d3a53
|
- Use one block flush less when growing by a traversal (the one that grows the old last leaf to max size)
- Fix numLEaves() calculation
|
2015-04-10 22:57:29 +02:00 |
|
Sebastian Messmer
|
bee68464dc
|
When traversing a blob out of range, automatically create the leaves up to the traversed point
|
2015-04-10 21:52:30 +02:00 |
|
Sebastian Messmer
|
e3f7b47440
|
Allow Blob::flush
|
2015-04-09 23:41:51 +02:00 |
|
Sebastian Messmer
|
628f4edec0
|
Don't flush if not necessary
|
2015-04-09 23:29:29 +02:00 |
|
Sebastian Messmer
|
4b04226162
|
Work with new blockstore::Key
|
2015-04-09 20:07:21 +02:00 |
|
Sebastian Messmer
|
8b7601f216
|
Fix travis build
|
2015-04-09 18:45:25 +02:00 |
|
Sebastian Messmer
|
3f43dcfe10
|
Fix locking
|
2015-04-09 16:30:36 +02:00 |
|
Sebastian Messmer
|
9a959cfab9
|
DataTree is threadsafe
|
2015-04-09 16:10:57 +02:00 |
|
Sebastian Messmer
|
84401b9abf
|
Use CachingDataTreeStore instead of DataTreeStore to avoid opening the same datatree twice in different threads
|
2015-04-09 15:40:27 +02:00 |
|
Sebastian Meßmer
|
9b4f8c2030
|
Adapt to the blockstore change (SynchronizedBlockStore was renamed to CachingBlockStore)
|
2015-04-02 03:00:06 -04:00 |
|
Sebastian Meßmer
|
deb1a2462a
|
BlobStore uses synchronized access to its BlockStore
|
2015-03-19 11:16:50 +01:00 |
|
Sebastian Messmer
|
a7a87a07dd
|
Add style warnings
|
2015-03-16 18:32:37 +01:00 |
|
Sebastian Messmer
|
dd80ab8d4d
|
Add Blob::tryRead()
|
2015-03-11 01:04:48 +01:00 |
|
Sebastian Messmer
|
11930a8363
|
Added an assertion to read()
|
2015-03-08 03:50:42 +01:00 |
|
Sebastian Messmer
|
2bfc872088
|
Fix Blob::read()/write() and write test cases for it
|
2015-03-06 20:40:23 +01:00 |
|
Sebastian Messmer
|
a9c44a40ed
|
Fix Blob::write() and add some test cases for it
|
2015-03-06 16:08:30 +01:00 |
|
Sebastian Messmer
|
75d1ef11fe
|
Fixed loading nonexisting blobs and wrote more test cases
|
2015-03-06 02:21:31 +01:00 |
|
Sebastian Messmer
|
e64ab10059
|
Fix DataNodeView: Only allow read access to data region
|
2015-03-05 22:22:22 +01:00 |
|
Sebastian Messmer
|
398b564156
|
BlobStoreOnBlocks can be configured with a blocksize
|
2015-03-05 22:21:59 +01:00 |
|
Sebastian Messmer
|
3a01f95467
|
Adapt to new blockstore which has Block::write() instead of writeable Block::data() pointer
|
2015-03-04 20:58:39 +01:00 |
|
Sebastian Messmer
|
b43464d669
|
Allow writing out of the bounds of a blob, resize blob in this case
|
2015-03-04 03:29:22 +01:00 |
|
Sebastian Messmer
|
5fb235a40c
|
Removed DataTree::addDataLeaf() / DataTree::removeLastDataLeaf() and DataTree::flush()
|
2015-03-04 03:17:59 +01:00 |
|
Sebastian Messmer
|
f89db143d9
|
TODOs
|
2015-03-04 02:55:26 +01:00 |
|
Sebastian Messmer
|
13a76bd42a
|
Fix two bugs in DataTree::resizeNumBytes()
|
2015-03-04 02:04:51 +01:00 |
|
Sebastian Messmer
|
4d50479777
|
Mark BlobOnBlocks::read/write as override
|
2015-02-27 01:28:53 +01:00 |
|
Sebastian Messmer
|
8dd0275c75
|
Add Blob::key()
|
2015-02-27 00:18:26 +01:00 |
|
Sebastian Messmer
|
0e17ea5b29
|
TODOs
|
2015-02-26 23:46:50 +01:00 |
|
Sebastian Messmer
|
c978a4581a
|
Simplified read/write implementation
|
2015-02-26 20:23:37 +01:00 |
|
Sebastian Messmer
|
a44b6318e2
|
- Refactor math functions for reuse (and write test cases for them)
- Implemented BlobOnBlocks::read() and write(). Not tested yet.
|
2015-02-26 20:19:12 +01:00 |
|
Sebastian Messmer
|
7de4948256
|
Added assert
|
2015-02-26 18:53:24 +01:00 |
|
Sebastian Messmer
|
4e8e4ea3d3
|
Implemented DataTree::resizeNumBytes(). No test cases yet.
|
2015-02-26 17:33:47 +01:00 |
|
Sebastian Messmer
|
a66bccb122
|
TODOs
|
2015-02-26 17:06:34 +01:00 |
|
Sebastian Messmer
|
87db6dfab8
|
Fix DataTree::numStoredBytes() and write test cases for it
|
2015-02-26 17:04:02 +01:00 |
|
Sebastian Messmer
|
61ec7dedb8
|
BlobOnBlocks::size() works correctly
|
2015-02-25 23:09:48 +01:00 |
|
Sebastian Messmer
|
b8cb2ad450
|
Added DataTree::numStoredBytes
|
2015-02-25 23:08:16 +01:00 |
|
Sebastian Messmer
|
0f40619a4a
|
BlobOnBlocks stores DataTrees, not DataNodes
|
2015-02-25 22:48:39 +01:00 |
|
Sebastian Messmer
|
c9ce0d55cf
|
Make block size configureable in DataNodeStore -> this greatly speeds up our test cases, because they can use smaller blocks, which means less children per inner node
|
2015-02-25 22:30:48 +01:00 |
|
Sebastian Messmer
|
97cf6a6e40
|
Written data tree leaf traversal and some test cases
|
2015-02-25 01:31:16 +01:00 |
|