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

ES sync fail #592

Open
daiagou opened this issue Jun 2, 2023 · 2 comments
Open

ES sync fail #592

daiagou opened this issue Jun 2, 2023 · 2 comments

Comments

@daiagou
Copy link

daiagou commented Jun 2, 2023

Moqui synchronization is a single synchronization. If the data volume is relatively large, such as tens of thousands of product data or party data. So there will be a timeout situation.
Can we add a batch synchronization or a synchronization failure retry operation for failed data.

@apathforward
Copy link

apathforward commented Jun 2, 2023 via email

@eigood
Copy link
Contributor

eigood commented Jun 9, 2023

Yes, this happens to us too, when restoring database snapshot dumps in staging/developer environments. The ES data folders are not saved, so at load time(from empty database), hundreds of thousands of WorkEfforts are sent over to ES, and it takes a very very long time.

For us, staging/developer stations have configured Postgresql to have extremely long commit times, so it runs a bit faster, but it still takes quite a bit of time.

This has been on my radar as something I want to fix, such that my local moqui has an uncommitted series of changes that print out a few basic things in this area of the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants