-
Notifications
You must be signed in to change notification settings - Fork 46
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
POSKeyError after pack postgresql database #505
Comments
I think I am having the same issue, and I suspect it is due to packing. I suspect that it is due to the updates I made from configuration 1 to 2. Below is also a diff of the version changes. My application uses I have now disabled daily packing. I can report back here in a week whether the errors still occur without packing. error
diff of configurations 1 and 2
configuration 1
configuration 2
|
The issue has not occurred in the past week. Given how frequently it occurred beforehand, I am confident that my error was due to packing and that it is an independent confirmation of the issue reported by the OP. I hope it is useful to know that in my case it is occurring outside of the Zope framework, and that my freeze diff above could help narrow down where to look. |
My environment is:
What happened: i tried to pack a large db with blobs after some months of working.
I tried to do it several times without success, because there were some problems that stopped the procedure:
lo_compat_privileges = on
)To solve some resource problems started launching packs with different days (40, 30, 20, 10, 0).
Every time that i had a problem and i solved it, i restarted the pack without cleaning any table on the db.
The last time that i restarted it, i've found that the db were corrupted and all the blobs returned a POSKeyError.
Also after the pack has succeeded, the db had all the blobs broken.
A backup made before last pack (the one that breaks blobs), the db is ok. the db also went from 140gb to 40.
I've also tried to launch the pack on that backup but i can't reproduce the error (only once stopping the pack several times, but i can't reproduce it).
Any ideas on what could get wrong?
This is an example of traceback with errors:
The text was updated successfully, but these errors were encountered: