-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: volume clone info for ZAPI #2140
Conversation
@@ -73,13 +73,11 @@ endpoints: | |||
- ^clone.parent_snapshot.name => clone_parent_snapshot | |||
- ^clone.parent_svm.name => clone_parent_svm | |||
- ^clone.parent_volume.name => clone_parent_volume | |||
- ^clone.split_initiated => clone_split_initiated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed as it is not available in ZAPI
@@ -73,13 +73,11 @@ endpoints: | |||
- ^clone.parent_snapshot.name => clone_parent_snapshot | |||
- ^clone.parent_svm.name => clone_parent_svm | |||
- ^clone.parent_volume.name => clone_parent_volume | |||
- ^clone.split_initiated => clone_split_initiated | |||
- clone.split_complete_percent => clone_split_complete_percent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed as it is not available in Rest
v.updateAggrMap(disks, aggrDiskMap) | ||
} | ||
|
||
volumeCloneMap, err := v.getVolumeCloneInfo() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to call this zapi at each poll or as other zapi call happens at plugin frequency to update map but still update volume labels at each poll from cache map ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any reson to cache this call. This Zapi doesn't seem expensive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, two minor logging comments
No description provided.