Patrick LeBlanc
5f43f55ea5
Changed a bunch of file perms. Source files don't need exec perms.
2019-07-23 13:20:08 -05:00
Patrick LeBlanc
64dd0b720e
Fixed a cache accounting error from a previous bug fix.
2019-06-28 14:23:18 -05:00
Patrick LeBlanc
715d041a85
Fixed several bugs exposed by setting the cache size to an
...
unreasonably small value. Had to make a compromise to avoid a deadlock
though. read/write/append/truncate will now be able to exceed the cache size
limit temporarily. The cache will be reconciled at the end of the respective
operation.
Ex, given a cache of 100MB, and a read() of 500MB, all 500MB
of data being read will stay in the cache until it is read, then
400MB of it will be evicted. Same on the write side.
2019-06-28 13:20:31 -05:00
Patrick LeBlanc
9a1dc8a4c5
Removed some redundant assertions around deleting files,
...
commented the one in replicator::remove() to get ready for milestone-2,
and to make the unit test work.
2019-05-28 09:57:26 -05:00
Patrick LeBlanc
b8d4891a18
Added some commented debugging printouts & some assertions around
...
deletion to make sure we're deleting things.
2019-05-20 10:52:47 -05:00
Ben Thompson
1ccc876fec
Fix for older boost versions that makes read json not crash and burn.
2019-04-22 10:13:00 -05:00
Patrick LeBlanc
5443f8662c
Checkpointing some paranoid assertions & some fixes I noticed.
2019-04-12 15:08:01 -05:00
Patrick LeBlanc
1879499ad3
Fixed a few random things.
2019-04-05 14:10:59 -05:00
Ben Thompson
729953c273
Merge branch 'develop' of github.com:pleblanc1976/storage-manager into develop
2019-04-04 17:03:09 -05:00
Ben Thompson
4ec8e12266
Added more complete IOC::write logic fixed metadata bug started IOC::append.
2019-04-04 16:53:11 -05:00
Patrick LeBlanc
d5dfe5ee67
Fixed all compiler warnings. For debugging builds, also made
...
the compiler treat warnings as errors.
2019-04-04 16:52:47 -05:00
Patrick LeBlanc
b4ebf7c3c0
First cut of IOC::truncate(). Got some of the unit test
...
written. Fixed some bugs. Commented out the old truncate test
for now; depends on IOC::write() to extend a file.
2019-04-01 16:23:35 -05:00
Ben Thompson
c1a33111f6
Update Metadata and Replicator to use configure file paths. Update unit_tests to work and cleanup as expected.
2019-03-26 17:24:03 -05:00
Patrick LeBlanc
07b4bdd19c
Got the synchronizer stuff to build.
2019-03-21 12:42:10 -05:00
Ben Thompson
0b4cbad829
Add MetadataFile / Replicator class and initial IOC-write logic.
2019-03-20 11:44:43 -05:00