Skip to content

Loading…

DDC-48: Cache Namespaces #4983

Closed
doctrinebot opened this Issue · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user mcurcio:

For users who run multiple doctrine 2 installations on a single machine, it is possible for APC/Memcache cache collisions to occur. One possible solution would allow the user to specify a namespace when creating the cache instance. I have attached such a solution. However, after reviewing DDC-47, there might be a better solution that addresses both requirements.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by mcurcio:

Thanks for adding this feature. It appears that the AbstractCache::fetch method is namespacing the id twice (http://trac.doctrine-project.org/browser/trunk/lib/Doctrine/Common/Cache/AbstractCache.php?rev=6554#L59), is this intentional?

@doctrinebot

Comment created by @jwage:

Whoops. No this was just a mistake I made during the refactoring. It is fixed now.

@jwage jwage was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0-ALPHA3 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.