This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author HubTou
Recipients HubTou, terry.reedy
Date 2022-03-26.13:38:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648301901.03.0.346741389657.issue47072@roundup.psfhosted.org>
In-reply-to
Content
I modified the test program to better reflect the size of the data structures stored in shelve (sys.getsizeof() which I used was far off the real size).

I saw that the database was corrupted with big records, though even bigger previous records had not corrupted it. Records larger than 1K (mentioned in one of the other problem report) were routinely OK. Records larger than 4K (also mentioned on another PR) were sometimes OK.

When I took a problematic record and used it single alone or with few other records, no corruption occurred.

Any idea?
History
Date User Action Args
2022-03-26 13:38:21HubTousetrecipients: + HubTou, terry.reedy
2022-03-26 13:38:21HubTousetmessageid: <1648301901.03.0.346741389657.issue47072@roundup.psfhosted.org>
2022-03-26 13:38:21HubToulinkissue47072 messages
2022-03-26 13:38:20HubToucreate