Opened 4 years ago

Closed 4 years ago

#17287 closed Bug (fixed)

incr() on LocMemCache changes timeout value

Reported by: ivan_virabyan Owned by: nobody
Component: Core (Cache system) Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


Attachments (1)

patch.diff (1.9 KB) - added by ivan_virabyan 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by ivan_virabyan

comment:1 Changed 4 years ago by carljm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

Yes, LocMemCache should match the behavior of the memcached backend, which does not modify expiry time on an incr/decr operation. Patch looks good, tests pass.

comment:2 Changed 4 years ago by carljm

  • Resolution set to fixed
  • Status changed from new to closed

In [17151]:

Fixed #17287 -- Prevented LocMemCache.incr/decr from changing key expiry time. Thanks Ivan Virabyan for report and patch.

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