n8n/packages
Omar Ajoue 847f6ac771
fix(core): Prevent error messages due to statistics about data loading (#7824)
Statistics collection about the first time a workflow loads data simply
attempts an insert to db, and if it fails, we just ignore.

This was causing this query to fire against production workflows
multiple times, and since we want to insert only and detect whether the
insertion failed, performing a select first provides gains both in terms
of performance, as it's usually faster than trying an insertion as well
as preventing unnecessary noise in logs.

Github issue / Community forum post (link here to close automatically):

https://community.n8n.io/t/duplicate-key-value-violates-unique-constraint-workflow-statistics-pkey-still-happening/29283
https://github.com/n8n-io/n8n/issues/7256
https://community.n8n.io/t/error-log-arriving-in-postgres/30191
https://github.com/n8n-io/n8n/issues/7256

https://community.n8n.io/t/cant-launch-webhooks-unable-to-find-data-of-execution/31867

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-11-27 15:43:48 +01:00
..
@n8n feat: Add user role select to users list settings page (#7796) 2023-11-27 13:38:03 +01:00
@n8n_io/eslint-config build: Upgrade lint related packages (#7790) 2023-11-27 09:11:52 +01:00
cli fix(core): Prevent error messages due to statistics about data loading (#7824) 2023-11-27 15:43:48 +01:00
core refactor(core): Reorganize error hierarchy in core and workflow packages (no-changelog) (#7820) 2023-11-27 15:33:21 +01:00
design-system build: Fix vite config (switch to module type) (#7818) 2023-11-27 10:56:57 +01:00
editor-ui feat: Ado 1296 spike credential setup in templates (#7786) 2023-11-27 16:30:28 +02:00
node-dev 🚀 Release 1.18.0 (#7780) 2023-11-22 14:32:25 +01:00
nodes-base fix(Microsoft SQL Node): Prevent double escaping table name (#7801) 2023-11-27 16:41:35 +02:00
workflow refactor(core): Reorganize error hierarchy in core and workflow packages (no-changelog) (#7820) 2023-11-27 15:33:21 +01:00