-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Prevent multiple sync processes #2337
Comments
Yeah, we had a similar comment on #2329 . I've already got some code going that will make the sync process happen in a more natural progression so that the basic information about the tables and fields will be captured and become available within a matter of seconds, then the slower stuff can happen over a longer period of time without really affecting the ability to use the app. I also agree that we should prevent multiple syncs from running at the same time. Probably never a valid use case for that to happen. |
Also #649 addresses sync visibility/progress. I'm going to change the title of this one to just address the duplicate sync issue. |
…base! from actually triggering a database sync, thus only allowing a database to be syncing a single instance at a time.
When syncing a particular database with 140 potentially big tables, I've inadvertently started multiple sync processes due to big tables with non-ideal indices. Some executed SQL queries by the sync took so long that it looked like the sync process failed. (Most tables didn't show any metadata)
I propose to make the syncing process more visible to the user, informing her that when selecting a database for questioning while it's still in sync.
(Side note: I'm a first time Metabase user and thought that this application was broken because I couldn't filter due to the missing metadata.)
Additionally one should be unable to launch multiple sync processes for the same database at the same time.
The text was updated successfully, but these errors were encountered: