How unique should be replicaName parameter in createReplica

333
0
11-04-2019 04:59 AM
matuskajba
New Contributor II

I want to create replica with custom name. According to arcgis rest api documentation for replicaName parameter:

“Description: The name of the replica on the server. The replica name is unique per feature service.


This is not a required parameter. If not specified, a replica name will be assigned and returned in the createReplica response. If specified, but the replicaName already exists on the server, a unique name will be returned in the response using the given replicaName as a base (that is, MyReplica may be returned as MyReplica_0 if there is already a replica named MyReplica on the server).”

From this it is not clear, if that name must be unique per service, or per server. According to our testing it seems it must be unique per server, or even maybe per server and user. Uniqueness per feature service seems to be not enough.  The replicaName was „adjusted“ by ArcGIS server, even when there was no replica on selected service, however there was replica with the same name on server.

Tested on ArcGIS Server 10.6.1. 

So question is, if this is correct and replica name must be unique on server and not per feature service? If so, the documentation should be corrected.

Thank you

0 Kudos
0 Replies