Commit Graph

219 Commits

Author SHA1 Message Date
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
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
c0e5b5db8c Added more test cases for resizing blobs 2015-03-04 02:56:17 +01:00
Sebastian Messmer
f89db143d9 TODOs 2015-03-04 02:55:26 +01:00
Sebastian Messmer
3b06dec1f2 DataBlockFixture creates data that is independent from its size 2015-03-04 02:34:54 +01:00
Sebastian Messmer
0e91d06a6f Add test cases for DataTree::resizeNumBytes() 2015-03-04 02:05:03 +01:00
Sebastian Messmer
13a76bd42a Fix two bugs in DataTree::resizeNumBytes() 2015-03-04 02:04:51 +01:00
Sebastian Messmer
68182e523f Added test cases for DataNode::key() and DataTree::key() 2015-02-27 14:32:28 +01:00
Sebastian Messmer
4d50479777 Mark BlobOnBlocks::read/write as override 2015-02-27 01:28:53 +01:00
Sebastian Messmer
0818f5ec86 Add read()/write() to Blob interface 2015-02-27 00:21:17 +01:00