ONTAP Rest API Discussions

ONTAP RESTAPI Export Policy patch

Raghupolu
1,172 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
964 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
965 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