#111309Cache flush queue of DataHandler leaks into later runs
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
-
Gerrit Code Review pushed patch set 1 for main to change 97276 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-01T10:44:20+00:00" > 11/01/26, 10:44 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97276 <span data-processor="relativetime" data-value="2026-11-01T10:47:45+00:00" > 11/01/26, 10:47 </span>
-
Benni Mack commented and changed status
Under ReviewResolved done0 %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.