-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.8
-
Component/s: Events / Works, Redis
When cleaning up completed jobs on Redis, the process may timeout because of the large number of completed works. The bulk of the clearing work should be implemented using a Lua script which will reduce the time spent in the process and allow batching.
One key use case to keep in mind is that we may want to associate the work with an external transient storage mechanism (NXP-16943), which has to be cleaned at the same time, so not everything can be done in Lua, at some point it will need to return the ids of works cleaned so that the Java code can do more work with these ids.
- depends on
-
NXP-16943 Provide a bridge between Work and TransientStore
- In Progress