*** Not sure why this wasn't seen earlier
Signed-off-by: David Zafman <dzafman@redhat.com>
# Since all of the snapshots on the primary is consistent there are no errors here
if [ $which = "replica" ];
then
- scruberrors="20"
+ scruberrors="21"
jq "$jqfilter" << EOF | python -c "$sortkeys" > $dir/checkcsjson
{
"epoch": 23,
EOF
else
- scruberrors="30"
+ scruberrors="33"
jq "$jqfilter" << EOF | python -c "$sortkeys" > $dir/checkcsjson
{
"epoch": 23,
"locator": "",
"snap": "head",
"snapset": {
+ "head_exists": 1,
"snap_context": {
"seq": 1,
"snaps": [
"locator": "",
"snap": "head",
"snapset": {
+ "head_exists": 1,
"snap_context": {
"seq": 1,
"snaps": [
1
]
},
+ {
+ "errors": [
+ "head_mismatch"
+ ],
+ "locator": "",
+ "name": "obj12",
+ "nspace": "",
+ "snap": "head",
+ "snapset": {
+ "clones": [
+ {
+ "overlap": "[]",
+ "size": 1032,
+ "snap": 1,
+ "snaps": [
+ 1
+ ]
+ }
+ ],
+ "head_exists": 0,
+ "snap_context": {
+ "seq": 1,
+ "snaps": [
+ 1
+ ]
+ }
+ }
+ },
{
"name": "obj14",
"nspace": "",
"locator": "",
"snap": "head",
"snapset": {
+ "head_exists": 1,
"snap_context": {
"seq": 1,
"snaps": [
"locator": "",
"snap": "head",
"snapset": {
+ "head_exists": 1,
"snap_context": {
"seq": 6,
"snaps": [
"locator": "",
"snap": "head",
"snapset": {
+ "head_exists": 1,
"snap_context": {
"seq": 1,
"snaps": [
"locator": "",
"snap": "head",
"snapset": {
+ "head_exists": 0,
"snap_context": {
"seq": 0,
"snaps": []
"clones": []
},
"errors": [
+ "head_mismatch",
"extra_clones"
],
"extra clones": [
"locator": "",
"snap": "head",
"snapset": {
+ "head_exists": 1,
"snap_context": {
"seq": 0,
"snaps": [
"locator": "",
"snap": "head",
"snapset": {
+ "head_exists": 1,
"snap_context": {
"seq": 1,
"snaps": [