mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2613: Proxy generation in multiprocess environment #3282
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Aug 15, 2013).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user deatheriam:
{panel}
\Doctrine\ORM\Proxy\ProxyFactory::_generateProxyClass fails to rename temporary proxy files when proxies are generated on demand in multiprocess environment using Process Control extension under Linux (http://www.php.net/manual/en/book.pcntl.php). 'Message: rename(../cache/Proxy/Dlayer/__CG__DlayerEntityInventory.php.520d1708631ed2.21378588,/../cache/Proxy/Dlayer/_CG_DlayerEntityInventory.php): No such file or directory' message is given.
{panel}
@doctrinebot commented on GitHub (Aug 16, 2013):
Comment created by @ocramius:
The "dev" settings are not meant to be used for high concurrency environments at the moment.
@doctrinebot commented on GitHub (Aug 16, 2013):
Comment created by @ocramius:
Duplicate of DDC-2210
@doctrinebot commented on GitHub (Aug 16, 2013):
Issue was closed with resolution "Duplicate"
@doctrinebot commented on GitHub (Aug 16, 2013):
Comment created by deatheriam:
Thats why you shouldn't generate proxies at runtime. The problem happens on windows, because the atomic rename operation doesn't work as perfectly there as on linux. (http://www.doctrine-project.org/jira/browse/DDC-2210?focusedCommentId=19171&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-19171)
@doctrinebot commented on GitHub (Aug 16, 2013):
Comment created by @ocramius:
[~deatheriam] please continue on the issue that this one is duplicating.