manila/releasenotes/notes/netapp-consider-last-transfer-size-error-for-replica-state-7ef49186a1b8a5a0.yaml
Kiran Pawar 6e8ed59a91 [NetApp] Consider last transfer size and error for replica state
In order to determine replica state from snapmirror, in addition to
existing check of last-transfer-end-timestamp', also add new checks
of `last-transfer-size` and `last-transfer-error`. New config option
`netapp_snapmirror_last_transfer_size_limit` added with default value
of 1MB. The last-transfer-size above this value or presence of any
last-transfer-error is considered as replica is out_of_sync.

Closes-bug: #1989175
Change-Id: I6d038244493583cc943063b50d731b8c1ef5ed28
2022-09-14 09:30:27 +00:00

11 lines
488 B
YAML

---
features:
- |
NetApp driver now considers ``last-transfer-size`` and
``last-transfer-error`` fields of the snapmirror in addition to existing
``last-transfer-end-timestamp`` to decide whether replica is in_sync or
out_of_sync. Added new config option
`netapp_snapmirror_last_transfer_size_limit` (default 1MB). If value of
`last-transfer-size` field is greater than config value or if
`last-transfer-error` field is present, then replica is out_of_sync.