You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a configuration to skip locked rows in the select statement for the job executor #264
enhancementNew feature or requestideaNew feature idea for Operatonscope:core-apiChanges to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI
Is your feature request related to a problem? Please describe. In our forum we experimented with adding FOR UPDATE SKIP LOCK to the select statement for the job executor. This does not work for all supported databases, but sped up execution for many nodes running in parallel.
Describe the solution you'd like
We might consider adding an opt-in configuration flag to enable this behavior, so users running on a database which supports this could benefit from higher concurrency.
Describe alternatives you've considered
An alternative provided in the thread was to provide read offsets for different nodes so they don't all try to read on the most recent jobs. This works too, but might be dangerous if a node crashes and the range that was reserved for it is not read anymore.
Reacted by Jean Robert, Julian Haupt, Andreas Zill, Paul L. and Daniel Sevostyanov
I think it would be good to have some kind of feature flag for this and mark it as "experimental" for a while until we're 100% sure that this has no unwanted side effects. After a while we could enable it as default on supported platforms.
enhancementNew feature or requestideaNew feature idea for Operatonscope:core-apiChanges to the core API: engine, dmn-engine, feel-engine, REST API, OpenAPI
Activity
hauptmedia commentedon Nov 25, 2024
I think it would be good to have some kind of feature flag for this and mark it as "experimental" for a while until we're 100% sure that this has no unwanted side effects. After a while we could enable it as default on supported platforms.
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…
feat(engine): Add property for skipping locked jobs in the job execut…