When used in combination with memcache, cache clears are happening within a transaction so the data may be cleared before the new data is written to database.

This patch records the cache clearing for entities to ensure the cache is cleared only after the transaction has been committed.

CommentFileSizeAuthor
#2 cps-entity-cache-clear-3035862.patch3.66 KBhadsie

Comments

hadsie created an issue. See original summary.

hadsie’s picture

StatusFileSize
new3.66 KB
fabianx’s picture

Status: Needs review » Reviewed & tested by the community

RTBC

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: cps-entity-cache-clear-3035862.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

  • hadsie committed 17e79e7 on 7.x-1.x authored by Fabianx
    Issue #3035862 by hadsie, Fabianx: When used with memcache, cache clears...
hadsie’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.