Commit Graph

279 Commits

Author SHA1 Message Date
Sebastian Messmer
6a0623956d Use Data, DataBlockFixture from cpputils 2015-04-25 02:55:34 +02:00
Sebastian Messmer
59865030de Upgrade dependencies 2015-04-25 00:41:34 +02:00
Sebastian Messmer
f3db9ef8b9 Fill new blocks with zeroes 2015-04-25 00:31:05 +02:00
Sebastian Messmer
3d9e98d892 Fix compiler errors in tests 2015-04-25 00:08:29 +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
bb98e9b31d Fix test cases for new flushing policy 2015-04-10 00:10:49 +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
25a3ab8a22 Workaround for biicode boost 2015-04-09 18:27:29 +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 Messmer
e4e452ddd2 Adapt to biicode 2.8 2015-04-08 17:44:15 +02:00
Sebastian Messmer
0d3123ebe8 Workaround for broken travis biicode deployment 2015-04-08 17:20:03 +02:00
Sebastian Messmer
448fa291a5 Travis CI needs sudo 2015-04-08 17:01:25 +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
92bec0afb2 Disable warnings 2015-03-17 12:31:33 +01:00
Sebastian Messmer
a7a87a07dd Add style warnings 2015-03-16 18:32:37 +01:00
Sebastian Messmer
d81dcaf23a Fix travis 2015-03-13 17:50:49 +01:00
Sebastian Messmer
78e5812011 Simplify test config for new biicode version 2015-03-13 17:31:36 +01:00
Sebastian Messmer
68a2fc5212 Merge branch 'master' of github.com:smessmer/blobstore 2015-03-12 16:42:10 +01:00
Sebastian Meßmer
e08f01f2c5 Update LICENCE to LGPL 2015-03-12 16:22:44 +01:00
Sebastian Messmer
deba4810a8 Replaced absolute paths to messmer/blobstore with local relative paths 2015-03-12 15:18:10 +01:00
Sebastian Messmer
655845ae8f Use new setup_biicode_project for travis 2015-03-12 14:59:38 +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
6d9baefb36 Use parallel build on travis 2015-03-07 01:50:28 +01:00
Sebastian Messmer
40cbf93957 Deleted unneccessary test cases and added test cases for BlobReadWriteTest 2015-03-06 21:18:22 +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
c293dc0571 Added test cases 2015-03-06 16:54:49 +01:00
Sebastian Messmer
d8b7a99ea8 Fix compiler warning 2015-03-06 16:43:16 +01:00
Sebastian Messmer
df9a44eace Added some more test cases to BlobStore 2015-03-06 16:39:40 +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
4658de552f TODOs 2015-03-06 02:34:18 +01:00
Sebastian Messmer
19b9551a00 Added test cases loading nonexisting blobs 2015-03-06 02:32:43 +01:00
Sebastian Messmer
75d1ef11fe Fixed loading nonexisting blobs and wrote more test cases 2015-03-06 02:21:31 +01:00
Sebastian Messmer
f834f8892d Added test cases for resizing blobs 2015-03-05 22:34:51 +01:00
Sebastian Messmer
8b7a76c38a Added first test for BlobStoreOnBlocks 2015-03-05 22:23:30 +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
31417f8e05 Add test cases for writing into leaves 2015-03-04 21:56:48 +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