Commit Graph

15 Commits

Author SHA1 Message Date
Rostislav Wolny
30520f08fa Fix typo in the method name in DataInconsistencyRepository
[MAILPOET-6213]
2024-09-17 14:04:26 +02:00
Rostislav Wolny
5781351e15 Fix deleting orphaned subscriber tasks in batches
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
Jan Jakes
9960a56a75 Use temporary tables for orphaned scheduled task subscribers
This will ensure the intermediate results are materialized first.

[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
Rostislav Wolny
53a1664133 Optimize queries for orphaned scheduled task subscribers
[MAILPOET-6219]
2024-09-11 15:19:35 +02:00
Rostislav Wolny
5a7462a152 Delete max 10000 rows from scheduled task subscribers in cleanup.
DB may crash when deleting too many rows in one query.
The scheduled_task_subscribers has the potential to contain many records.
This commit adds limit when cleaning up inconsistent data from scheduled task subscribers.
[MAILPOET-6155]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
4733bde082 Annotate types for PHPStan
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
9b8af4cafd Add check for orphaned newsletter posts
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
45114e4da2 Add check for orphaned newsletter links
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
fe66e31b5f Add check for orphaned subscriptions
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
0d7898b3a5 Add inconsistency check and fix for sending queues without newsletter
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
bbed9c35d2 Add check and cleanup for Orphaned sending task subscribers 2024-08-08 15:37:32 +02:00
Rostislav Wolny
34feae9f1f Delete also task subscribers when fixing orphaned scheduled tasks
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
cb5f533e54 Add API for fixing inconsistent data
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
b68e6b7639 Add method for cleaning up orphaned sending tasks
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00
Rostislav Wolny
54c21df3a6 Add backend classes for fetching inconsistent data
[MAILPOET-1587]
2024-08-08 15:37:32 +02:00