Project

General

Profile

Actions

Bug #12752

closed

Datasources plugin scheduler problems after updating/deleting a datasource

Added by I C almost 6 years ago. Updated 12 months ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
No

Description

plugin version : rudder-plugin-datasources-4.3-1.3-SNAPSHOT.rpkg

When updating some parameters in a datasource (for exemple jsonpath, update trigger, ...), the execution of this datasource is twice or more. It's hard to reproduce, but if you change settings multiple times the problem occure.

I notice that it happen when both "update periodically" and "update when a policy update start" trigger are configured.

Restarting jetty doesn't solve the problem if the datasource is still present.

You can see logs in attachement for more details.

Notice : At this time the datasource was delete but still in execution.
[2018-06-06 16:38:02] DEBUG datasources - Stopping data source with id 'cmdb-debug'
[2018-06-06 16:38:02] TRACE datasources - The datasource with id 'cmdb-debug' is disabled. Not scheduling future runs for it.
[2018-06-06 16:38:02] DEBUG datasources - Data source 'cmdb-debug' (cmdb-debug) udpated
[2018-06-06 16:38:10] DEBUG datasources - Stopping data source with id 'cmdb-debug'

Restarting jetty after deleting the datasource stop this execution.

We already have similar problem when deleting a datasource here https://www.rudder-project.org/redmine//issues/10677

Thank you


Files

ds-debug.log (41 KB) ds-debug.log I C, 2018-06-06 17:02

Related issues 2 (0 open2 closed)

Related to Datasources - Bug #10677: Datasources plugin call continuously datasource url even after deleteReleasedNicolas CHARLESActions
Related to Datasources - Bug #22971: Spurious test error on the killing of old fiber on datasource save/deleteReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF