NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

ONTAP Rest API Discussions

ONTAP RESTAPI Export Policy patch

Raghupolu
1,959 Views

We see a race condition when leveraging ONTAP rest API to update Export policies with new clients. When there are multiple simultaneous calls to API to update the same export policy at the sametime we see only one wins(which finished last) and rest all fails.Just wanted to check is there any way to handle this race condition and anyone has any fix/solution towards it.Appreciate your inouts.Thanks

1 ACCEPTED SOLUTION

degraaf
1,751 Views

When multiple clients are changing the same object, it will always be the case that later calls will override values provided by prior calls. This is by design and is not a problem. However, if you mean something else by saying the rest of the calls fail, please explain. If you are getting back an error, please add that here. Thanks.

View solution in original post

1 REPLY 1

degraaf
1,752 Views

When multiple clients are changing the same object, it will always be the case that later calls will override values provided by prior calls. This is by design and is not a problem. However, if you mean something else by saying the rest of the calls fail, please explain. If you are getting back an error, please add that here. Thanks.

Public