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
It only occurs on the: io.kestra.plugin.core.execution.PurgeExecutions but works on io.kestra.plugin.core.log.PurgeLogs
2024-11-23 01:27:44.912SQL [delete from executions where "key" = ?];
ERROR: Cannot forward queries while a cursor is open Detail: Please ensure there are no open cursors and try again
2024-11-23 01:27:44.912ERROR: Cannot forward queries while a cursor is open Detail: Please ensure there are no open cursors and try again
Task:
id: purgenamespace: company.namedescription: | This flow will remove all executions and logs older than 1 month. We recommend running this flow daily to avoid running out of disk space.tasks:
- id: purge_executionstype: io.kestra.plugin.core.execution.PurgeExecutionsendDate: "{{ now() | dateAdd(-2, 'DAYS') }}"purgeLog: falsestates:
- KILLED
- WARNING
- SUCCESS
- id: purge_logstype: io.kestra.plugin.core.log.PurgeLogsendDate: "{{ now() | dateAdd(-1, 'MONTHS') }}"triggers:
- id: dailytype: io.kestra.plugin.core.trigger.Schedulecron: "@daily"
Environment
Kestra Version: latest
I'm using AWS:
EC2: m6i.4xlarge
RDS: db.r6g.4xlarge
I'm using postgres 16.4 Aurora RDS With Local read forwarding enabled.
Describe the issue
Running into an issue with the purge task:
It only occurs on the:
io.kestra.plugin.core.execution.PurgeExecutions
but works onio.kestra.plugin.core.log.PurgeLogs
2024-11-23 01:27:44.912SQL [delete from executions where "key" = ?];
Task:
Environment
Kestra Version: latest
I'm using AWS:
EC2: m6i.4xlarge
RDS: db.r6g.4xlarge
I'm using postgres 16.4 Aurora RDS With Local read forwarding enabled.
Docker Swarm:
The text was updated successfully, but these errors were encountered: