Opened 9 years ago

Closed 9 years ago

#19896 closed Bug (fixed)

Running `clear.cache()` using PostgreSQL does not remove rows

Reported by: George Song Owned by: nobody
Component: Core (Cache system) Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


If you use a PostgreSQL schema as your cache backend, then manually run cache.clear(), the rows still persist. This is due to the fact that the delete transaction is never committed.

Change History (3)

comment:1 Changed 9 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:2 Changed 9 years ago by George Song

comment:3 Changed 9 years ago by Aymeric Augustin <aymeric.augustin@…>

Resolution: fixed
Status: newclosed

In 44164c5c308da32a804dfb03ce0bffde2a6b4c56:

Fixed #19896 -- Committed after clearing cache in the database.

Note: See TracTickets for help on using tickets.
Back to Top