Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Fix Version/s: None
-
Component/s: Caching
-
Labels:None
Description
lib\Doctrine\Common\Cache\ApcCache.php
The function "doFlush" only clears opcode cache.
The user cache is never cleared.
To correct it, one solution should be :
protected function doFlush() { $res = false; $bool1 = apc_clear_cache(); $bool2 = apc_clear_cache('user'); if ($bool1 && $bool2) { $res = true; } return $res; }
Activity
Guilherme Blanco
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Benjamin Eberlei [ beberlei ] | Guilherme Blanco [ guilhermeblanco ] |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 13047 ] | jira-feedback2 [ 17911 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 17911 ] | jira-feedback3 [ 19874 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DCOM-69, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Fixed in https://github.com/doctrine/common/commit/d6e4c8b22af9800db4fd9d679ce98538da028168