REST API call "GET /api/snapmirror/relationships/" is slow compared to CLI
Applies to
- ONTAP 9
- REST API
- SnapMirror
- OnCommand System Manager (OSM)
Issue
- The REST API call
GET "/api/snapmirror/relationships/?list_destinations_only=true"
is extremely slow compared to the CLI equivalent. - The CLI equivalent completes in under a second but the REST API call was taking 50+ seconds to complete.
- Setting
list_destinations_only
tofalse
changed the response time to under a second.