Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data synchronization with Azure for sample data supplied with the F&E solution... #10

Closed
Steve-Dawkins opened this issue Nov 3, 2020 · 3 comments

Comments

@Steve-Dawkins
Copy link

I can't see any notes in the Deployment Guide on how to align the Azure backend SQL database with the optional sample data installed with the Fundraising and Engagement solution?

Is there a list of entities that must be synchronized with the backend in order for the sample system to work?

@paulhasell
Copy link

We have forced a sync via the plugins by 'touching' each of the records, this has highlighted that some of the sample data have missing mandatory fields that throw error in the plugins.

To avoid sequencing issues we created T-SQL scripts to drop and re-create the FK constraints.

@Steve-Dawkins
Copy link
Author

Steve-Dawkins commented Nov 5, 2020

I used flow to force sync (see Paul's post above)using parallel execution to touch several entities at the same time.

This was logged in Application Insights:
image

A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext. For more information on how to avoid…

So it looks like there's an issue with the way the API is coded to share its database context(s).

@klbyrd
Copy link
Contributor

klbyrd commented Nov 5, 2020

@paulhasell and @Steve-Dawkins thank you, we are actively working on making this a less manual process. We will keep you updated. If you run into any other challenges please file a support case here. We are unable to handle support cases via GitHub. Thank you!

@klbyrd klbyrd closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants