pluginpal / strapi-plugin-config-sync

:recycle: CLI & GUI for continuous migration of config data across environments
https://www.pluginpal.io/plugin/config-sync
MIT License
256 stars 36 forks source link

error: delete from "public"."wt_url_alias" where ("id" = $1) - deadlock detected #134

Closed boazpoolman closed 2 months ago

boazpoolman commented 2 months ago

Bug report

Describe the bug

This happens inconsistently when using the bulk generate feature.

Expected behavior

Proper bulk generate, no errors.

Screenshots

Scherm­afbeelding 2024-08-28 om 18 43 22

Code snippets

error: delete from "public"."wt_url_alias" where ("id" = $1) - deadlock detected
    at Parser.parseErrorMessage (/Users/boazpoolman/Code/boazpoolman/strapi/strapi-plugin-webtools/playground/node_modules/pg-protocol/src/parser.ts:369:69)
    at Parser.handlePacket (/Users/boazpoolman/Code/boazpoolman/strapi/strapi-plugin-webtools/playground/node_modules/pg-protocol/src/parser.ts:188:21)
    at Parser.parse (/Users/boazpoolman/Code/boazpoolman/strapi/strapi-plugin-webtools/playground/node_modules/pg-protocol/src/parser.ts:103:30)
    at Socket.<anonymous> (/Users/boazpoolman/Code/boazpoolman/strapi/strapi-plugin-webtools/playground/node_modules/pg-protocol/src/index.ts:7:48)
    at Socket.emit (node:events:514:28)
    at Socket.emit (node:domain:488:12)
    at addChunk (node:internal/streams/readable:376:12)
    at readableAddChunk (node:internal/streams/readable:349:9)
    at Readable.push (node:internal/streams/readable:286:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)