-
Notifications
You must be signed in to change notification settings - Fork 43
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
Failed syncing database: Error #66
Comments
I too, see errors like this, after importing the rarbg dump:
|
While it might be related to the rarbg dump, you're also seeing logs from multiple consumers at once. The errored consumers aren't able to process/create entries until the errors stop. |
After a bit of searching around, it's definitely related to the export function connect() {
if (databaseConfig.ENABLE_SYNC) {
return database.sync({ alter: true })
.catch(error => {
- console.error('Failed syncing database: ', error);
- throw error;
+ console.error('Failed syncing database: ', error.message);
});
}
return Promise.resolve();
} this seems to fix the constant error messages. each only prints one error and then resumes functionality. However, I'm not versed enough in js to make the call that this is good practice. Also, printing the |
This seems like it! I think this would be a reasonable fix, but I'll wait for someone to review this. |
Yeah, after looking through the code, it seems like it defeats the purpose of |
Another possibility is removing the export function connect() {
if (databaseConfig.ENABLE_SYNC) {
- return database.sync({ alter: true })
+ return database.sync()
.catch(error => {
console.error('Failed syncing database: ', error);
throw error;
});
}
return Promise.resolve();
} But again, best to have someone review and decide Made an MR #68 if this is the route we want to take |
@FunkeCoder23 Can you try something else for me? Can you change true here to false, and see if the errors stop? |
Hopefully fixed in #68 Closing. Please open a new issue if you encounter similar problems. |
Describe the bug
Getting an error on startup, resolves after a bit of time but causes a decent amount of lag between startup and ingestion.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Startup without errors
Logs
Shortened log:
Full Logs
Hardware:
Additional context
Seems related to this issue which links to a potential fix:
The text was updated successfully, but these errors were encountered: