summaryrefslogtreecommitdiff
path: root/morphcacheserver
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2015-04-03 13:25:12 +0100
committerRichard Ipsum <richardipsum@fastmail.co.uk>2015-04-11 12:54:35 +0000
commitaaa39e09bd5a48a575f0f92e323ec5266ca96edc (patch)
tree0b207c52cd1f81c16cd8a3651dcb90da8d07d694 /morphcacheserver
parent2ad079e853fae8b699274b5cecf1b31d6bbd514a (diff)
downloadmorph-baserock-definitions-v2.tar.gz
Fix: check that path to chunk morph existsbaserock-definitions-v2
This fixes a bug that allows stratum definitions to carry paths to non-existent chunk morphs. This fix changes the interpretation of definitions so necessarily introduces a new definitions version (version 2) Assuming a morph field defined in a stratum: "morph: strata/cats/xattr.morph" and assuming "strata/cats/xattr.morph" does not exist, this patch will not alter current behaviour for definitions versions 0 and 1, besides producing a warning message like this: "Warning! `strata/cats/xattr.morph' referenced in `strata/swift.morph' does not exist" for definitions version 2 and greater the following error will be raised: "ERROR: Couldn't find morphology: strata/cats/xattr.morph referenced in strata/swift.morph" Change-Id: I4def5e92741cce25168f1038136503022ab27ffd
Diffstat (limited to 'morphcacheserver')
0 files changed, 0 insertions, 0 deletions