I am looking for some guidance or confirmation on an error I have been encountering when attempting to sync a workspace that participates in a distributed collaboration between our Orgs. Portal and AGOL sites.
Basically, we are attempting to share Portal feature services (where the data is hosted in our MSSQL Server) to AGOL as hosted feature services; the AGOL hosted feature service would be a "copy" of the Portal feature service.
Some additional background:
- The feature service / data we are attempting to share is originates from a Parcel Fabric enabled database.
- Our MSSQL server has two instance, a production (editing) and publication instance. Every night our production instance is replicated/copied and overwrites our publication instance.
- The feature services I am trying to share to the collaboration are built using data from the publication instance.
When we try to sync the workspace immediately after the feature service is published and shared (same day), the sync completes successfully. When we try to sync the workspace the next day, the sync fails. I am wondering if the nightly replicate / copy routine, where the production instance of the database is replicated / copied and overwrites the publication instance of the database, is breaking/blowing away the "replica" that is created by the collaboration/sync process. Thus when the workspace sync is executed the same day the feature service is published/added to the workspace, the workspace has no issue syncing the content, but when the sync is executed the following day (or any day after) the sync fails due to no reference of the "replica" in the database.
The specific error I am receiving from the Portal Admin logs is: "Failed to obtain sync/replica info for Feature Service item 'ITEMID', URL 'PORTALURL/arcgis/rest/services/FeatureServiceName/FeatureServer' while collecting item list for collaboration workspace id 'WORKSPACEID'. Item exists but will not be synchronized."
Is there a way to confirm that a replica has been created at the database level (in SQL Server)? Is there a way to confirm my theory about the replica being broken/blown away by our nightly SQL replicate/copy routine?
Infrastructure Configuration:
- Using ArcGIS Enterprise 11.3
- Enterprise Geodatabase version 11.3.0.52636
- SQL Server version 2022
Collaboration & Workspace Configuration:
- Distributed Collaboration with AGOL site as HOST and Portal site as GUEST.
- Workspace set as SEND ONLY (from Portal to AGOL).
- Workspace set with "Feature layers and views in my portal are sent as 'COPIES'".
- "If unable to share as copies share as references" is UNCHECKED.
Portal Feature Service Configuration:
- Geodatabase workspace set to "Branch Version".
- Version Management UNCHECKED.
- Editing "Enabled" (Add, Delete, Update).
- Enabled Sync CHECKED.
- Sync - Version Creation --> NONE.