Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-ALPHA3
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      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.

        Issue Links

          Activity

          Hide
          Matt Curcio added a comment -

          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?

          Show
          Matt Curcio added a comment - 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?
          Hide
          Jonathan H. Wage added a comment -

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

          Show
          Jonathan H. Wage added a comment - Whoops. No this was just a mistake I made during the refactoring. It is fixed now.

            People

            • Assignee:
              Jonathan H. Wage
              Reporter:
              Matt Curcio
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: