Scripting replication and synchronization workflow with ArcGIS Server and Geodata Services

707
1
06-26-2019 09:57 AM
AdamG
by
New Contributor II

Our organization is currently using one instance of ArcGIS Server, where we have published a Geodata service that references an SDE connection file.  Via a python script we are able to create a check-out replica using the same SDE connection file, edit the features, and check the edits/changes back in to the SDE.Production version.  Once the changes have been checked in and synchronized to SDE.Production via another python script, I am able to use ArcMap/Catalog to see that the changes are immediately posted to the SDE.Production version.  However, if we attempt to re-create the checkout replica, it does not contain any of these edits that are showing in SDE.Production.  It is as if the current state of SDE.Production was never updated and we are replicating it's prior state.

 

Is there a specific way to synchronize the replicas so that changes are reflecting immediately?  Could there be a delay in the edits becoming available for replication?  Could this be due to pooling or recycling parameters?  Any help would be greatly appreciated.  There is next to zero documentation on how to use the ArcGIS Server resources for check out replication. 

 

Thanks!

0 Kudos
1 Reply
AdamG
by
New Contributor II

I believe we resolved the issue.  After realizing that we had published two geodata services that referenced the same enterprise geodatabase version connection file, we removed one of the services from the ArcGIS Server site.  Now when creating and editing a checkout replica, all of the edits are immediately synchronized to the SDE.Production version and available in the next round of replication.  There is no synchronization delay that appeared to be occurring in the background.  

Hopefully this helps anyone else that is having issues with ArcGIS Server and checkout replicas!

0 Kudos