Issue Bug Resolved

#111309Cache flush queue of DataHandler leaks into later runs

Benni Mack 11/01/26, 10:42 updated 11/03/26, 08:10

Description

DataHandler collects records for cache flushing in a static queue, which is processed at the end of the outermost process_datamap() or process_cmdmap(). Code that calls public actions like deleteAction() directly, without process_*() (recycler, cleanup:deletedrecords, the workspaces cleanup command), leaves its entries in the queue. They are then flushed and reported by the next, unrelated DataHandler run in the same process: in worker mode the next request, possibly under another backend user.

The queue should be bound to the outermost DataHandler instance.

Reviews 1

History 13

  1. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-03T08:10:17+00:00" > 11/03/26, 08:10 </span>

    Applied in changeset commit:29a6fe4705055803a015ad134e98c5fdfa3bc83b.