Summary: | sys-apps/portage: anydbm cache module does not support multiprocessing | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=53607 https://bugs.gentoo.org/show_bug.cgi?id=736334 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 448462 | ||
Attachments: | Test case showing that modifications in child process are not visible to parent |
Description
Zac Medico
2020-08-09 03:16:13 UTC
Created attachment 653855 [details] Test case showing that modifications in child process are not visible to parent The attached test cast shows that modifications in a child process are not visible to the parent process, resulting in this error: > $ python ./dbm_fork_test.py > Traceback (most recent call last): > File "./dbm_fork_test.py", line 34, in <module> > raise AssertionError('db has missing key {}'.format(k)) > AssertionError: db has missing key b'child_key' If the database is re-opened, then data written by the child process becomes visible. |