bellhyve/zelta

zelta match doesn't pick up edge cases and causes errors

Closed this issue · 2 comments

These STATUS and DESCRIPTIONS need to be fixed and then correctly handled in zelta-replicate.awk.

Examples:

SRC: [none]
TGT: ds [no snap]
Output: STATUS=NOSNAP, SUMAMRY="no source snapshots"

SRC: a b@
TGT: [none]
Replication: Fails without snap first because there's no parent. We should detect that.

SRC: @a @c
TGT: @a @b
Output: STATUS=BEHIND, SUMMARY=syncable
Replication: awk error since it's not actually syncable, we should report we need a rollback or find @b%@c.

Looks like the errors only trigger in zelta policy. They are handled reasonably well in zelta replicate.

Fixed, dropped status in favor of human readable INFO