projects
/
cumulus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
710d0e9
)
Segment expiration should affect metadata re-use too.
author
Michael Vrable
<vrable@cs.hmc.edu>
Fri, 25 Oct 2013 02:54:47 +0000
(19:54 -0700)
committer
Michael Vrable
<vrable@cs.hmc.edu>
Sun, 26 Jan 2014 23:48:08 +0000
(15:48 -0800)
metadata.cc
patch
|
blob
|
history
diff --git
a/metadata.cc
b/metadata.cc
index
15bd7a5
..
63fdadc
100644
(file)
--- a/
metadata.cc
+++ b/
metadata.cc
@@
-373,7
+373,7
@@
void MetadataWriter::add(dictionary info)
if (info == old_metadata && !flag_full_metadata) {
ObjectReference ref = ObjectReference::parse(old_metadata_loc);
- if (!ref.is_null()) {
+ if (!ref.is_null()
&& db->IsAvailable(ref)
) {
item.reused = true;
item.ref = ref;
}