diff options
author | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-03-01 14:38:11 +0800 |
---|---|---|
committer | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-03-01 14:38:11 +0800 |
commit | 7da45d65be36d36b880cc55c5036e96c24b53f00 (patch) | |
tree | d4f944eb4f8f8de50a9a7584ffa408dc3a3185b2 /src/ceph/doc/rados/command | |
parent | 691462d09d0987b47e112d6ee8740375df3c51b2 (diff) |
remove ceph code
This patch removes initial ceph code, due to license issue.
Change-Id: I092d44f601cdf34aed92300fe13214925563081c
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'src/ceph/doc/rados/command')
-rw-r--r-- | src/ceph/doc/rados/command/list-inconsistent-obj.json | 195 | ||||
-rw-r--r-- | src/ceph/doc/rados/command/list-inconsistent-snap.json | 87 |
2 files changed, 0 insertions, 282 deletions
diff --git a/src/ceph/doc/rados/command/list-inconsistent-obj.json b/src/ceph/doc/rados/command/list-inconsistent-obj.json deleted file mode 100644 index 76ca43e..0000000 --- a/src/ceph/doc/rados/command/list-inconsistent-obj.json +++ /dev/null @@ -1,195 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "epoch": { - "description": "Scrub epoch", - "type": "integer" - }, - "inconsistents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "object": { - "description": "Identify a Ceph object", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "nspace": { - "type": "string" - }, - "locator": { - "type": "string" - }, - "version": { - "type": "integer", - "minimum": 0 - }, - "snap": { - "oneOf": [ - { - "type": "string", - "enum": [ "head", "snapdir" ] - }, - { - "type": "integer", - "minimum": 0 - } - ] - } - }, - "required": [ - "name", - "nspace", - "locator", - "version", - "snap" - ] - }, - "selected_object_info": { - "type": "string" - }, - "union_shard_errors": { - "description": "Union of all shard errors", - "type": "array", - "items": { - "enum": [ - "missing", - "stat_error", - "read_error", - "data_digest_mismatch_oi", - "omap_digest_mismatch_oi", - "size_mismatch_oi", - "ec_hash_error", - "ec_size_error", - "oi_attr_missing", - "oi_attr_corrupted", - "obj_size_oi_mismatch", - "ss_attr_missing", - "ss_attr_corrupted" - ] - }, - "minItems": 0, - "uniqueItems": true - }, - "errors": { - "description": "Errors related to the analysis of this object", - "type": "array", - "items": { - "enum": [ - "object_info_inconsistency", - "data_digest_mismatch", - "omap_digest_mismatch", - "size_mismatch", - "attr_value_mismatch", - "attr_name_mismatch" - ] - }, - "minItems": 0, - "uniqueItems": true - }, - "shards": { - "description": "All found or expected shards", - "type": "array", - "items": { - "description": "Information about a particular shard of object", - "type": "object", - "properties": { - "object_info": { - "type": "string" - }, - "shard": { - "type": "integer" - }, - "osd": { - "type": "integer" - }, - "primary": { - "type": "boolean" - }, - "size": { - "type": "integer" - }, - "omap_digest": { - "description": "Hex representation (e.g. 0x1abd1234)", - "type": "string" - }, - "data_digest": { - "description": "Hex representation (e.g. 0x1abd1234)", - "type": "string" - }, - "errors": { - "description": "Errors with this shard", - "type": "array", - "items": { - "enum": [ - "missing", - "stat_error", - "read_error", - "data_digest_mismatch_oi", - "omap_digest_mismatch_oi", - "size_mismatch_oi", - "ec_hash_error", - "ec_size_error", - "oi_attr_missing", - "oi_attr_corrupted", - "obj_size_oi_mismatch", - "ss_attr_missing", - "ss_attr_corrupted" - ] - }, - "minItems": 0, - "uniqueItems": true - }, - "attrs": { - "description": "If any shard's attr error is set then all attrs are here", - "type": "array", - "items": { - "description": "Information about a particular shard of object", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - }, - "Base64": { - "type": "boolean" - } - }, - "required": [ - "name", - "value", - "Base64" - ], - "additionalProperties": false, - "minItems": 1 - } - } - }, - "required": [ - "osd", - "primary", - "errors" - ] - } - } - }, - "required": [ - "object", - "union_shard_errors", - "errors", - "shards" - ] - } - } - }, - "required": [ - "epoch", - "inconsistents" - ] -} diff --git a/src/ceph/doc/rados/command/list-inconsistent-snap.json b/src/ceph/doc/rados/command/list-inconsistent-snap.json deleted file mode 100644 index 0da6b0f..0000000 --- a/src/ceph/doc/rados/command/list-inconsistent-snap.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "properties": { - "epoch": { - "description": "Scrub epoch", - "type": "integer" - }, - "inconsistents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "nspace": { - "type": "string" - }, - "locator": { - "type": "string" - }, - "snap": { - "oneOf": [ - { - "type": "string", - "enum": [ - "head", - "snapdir" - ] - }, - { - "type": "integer", - "minimum": 0 - } - ] - }, - "errors": { - "description": "Errors for this object's snap", - "type": "array", - "items": { - "enum": [ - "ss_attr_missing", - "ss_attr_corrupted", - "oi_attr_missing", - "oi_attr_corrupted", - "snapset_mismatch", - "head_mismatch", - "headless", - "size_mismatch", - "extra_clones", - "clone_missing" - ] - }, - "minItems": 1, - "uniqueItems": true - }, - "missing": { - "description": "List of missing clones if clone_missing error set", - "type": "array", - "items": { - "type": "integer" - } - }, - "extra_clones": { - "description": "List of extra clones if extra_clones error set", - "type": "array", - "items": { - "type": "integer" - } - } - }, - "required": [ - "name", - "nspace", - "locator", - "snap", - "errors" - ] - } - } - }, - "required": [ - "epoch", - "inconsistents" - ] -} |