forked from openstack/manila
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
251cc83
commit 77e7820
Showing
6 changed files
with
47 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...es/notes/netapp-consider-last-transfer-size-error-for-replica-state-7ef49186a1b8a5a0.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
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. |