[PR #871] [MERGED] XCache cannot be flushed on the CLI -> for pretty much the same reason as APC #8830

Open
opened 2026-01-22 16:01:53 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/871
Author: @elmariachi111
Created: 12/10/2013
Status: Merged
Merged: 12/16/2013
Merged by: @beberlei

Base: masterHead: patch-1


📝 Commits (3)

  • 53fbb0b XCache cannot be cleared on CLI (like APC)
  • 88a56ee XCache cannot be cleared on CLI (like APC)
  • eded05d XCache cannot be cleared on CLI (like APC)

📊 Changes

3 files changed (+16 additions, -1 deletions)

View changed files

📝 lib/Doctrine/ORM/Tools/Console/Command/ClearCache/MetadataCommand.php (+6 -0)
📝 lib/Doctrine/ORM/Tools/Console/Command/ClearCache/QueryCommand.php (+5 -1)
📝 lib/Doctrine/ORM/Tools/Console/Command/ClearCache/ResultCommand.php (+5 -0)

📄 Description

Stumbled upon that when implementing Caching in our project using Symfony2. It's pretty useless in SF2 to e.g. execute the "doctrine:cache:clear-query" since it doesn't clear anything. There are workarounds for that BTW: https://github.com/ornicar/ApcBundle (but it's kinda ugly) + my initial question on stackoverflow: http://stackoverflow.com/questions/20241652/symfony2-flush-xcache-class-cache-on-multiple-instances-on-deployment


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/871 **Author:** [@elmariachi111](https://github.com/elmariachi111) **Created:** 12/10/2013 **Status:** ✅ Merged **Merged:** 12/16/2013 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (3) - [`53fbb0b`](https://github.com/doctrine/orm/commit/53fbb0b2d1e0eeb3d58589eb698392085ad94372) XCache cannot be cleared on CLI (like APC) - [`88a56ee`](https://github.com/doctrine/orm/commit/88a56ee8f8bf4b5d6e0e039f0411088ee99aa568) XCache cannot be cleared on CLI (like APC) - [`eded05d`](https://github.com/doctrine/orm/commit/eded05d4158c9d7f7cd7c1592dec6dedae340a90) XCache cannot be cleared on CLI (like APC) ### 📊 Changes **3 files changed** (+16 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Tools/Console/Command/ClearCache/MetadataCommand.php` (+6 -0) 📝 `lib/Doctrine/ORM/Tools/Console/Command/ClearCache/QueryCommand.php` (+5 -1) 📝 `lib/Doctrine/ORM/Tools/Console/Command/ClearCache/ResultCommand.php` (+5 -0) </details> ### 📄 Description Stumbled upon that when implementing Caching in our project using Symfony2. It's pretty useless in SF2 to e.g. execute the "doctrine:cache:clear-query" since it doesn't clear anything. There are workarounds for that BTW: https://github.com/ornicar/ApcBundle (but it's kinda ugly) + my initial question on stackoverflow: http://stackoverflow.com/questions/20241652/symfony2-flush-xcache-class-cache-on-multiple-instances-on-deployment --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:01:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8830