projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a bug in computing the size of a segment that led to utilization > 1.0.
[cumulus.git]
/
localdb.h
diff --git
a/localdb.h
b/localdb.h
index
69fb330
..
a89923f
100644
(file)
--- a/
localdb.h
+++ b/
localdb.h
@@
-33,7
+33,7
@@
public:
void UseObject(const ObjectReference& ref);
void SetSegmentChecksum(const std::string &segment, const std::string &path,
void UseObject(const ObjectReference& ref);
void SetSegmentChecksum(const std::string &segment, const std::string &path,
- const std::string &checksum);
+ const std::string &checksum
, int size
);
bool GetSegmentChecksum(const std::string &segment,
std::string *seg_path, std::string *seg_checksum);
private:
bool GetSegmentChecksum(const std::string &segment,
std::string *seg_path, std::string *seg_checksum);
private: