Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1155. Empty output subscribers query, who finish campaign #1175

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

saginsa
Copy link
Contributor

@saginsa saginsa commented Feb 4, 2023

Fix problem Campaign goes to finished status without reaching all subscribers #1155.

It was in us, when we import big blacklisted base at start work with listmonk, and future lists have blocklisted subscribers but they wasn't unsubscribed. It was problem, because at first sample in query, find only unsubscribed emails, but in finish all unsubscribed finish transform in empty, because all of them is blacklisted. This element stop campaign, despite the remaining large number of emails on the mailing list, despite the remaining large number of emails on the mailing list.

@saginsa
Copy link
Contributor Author

saginsa commented Feb 5, 2023

I think, that this fix haven't big performanse degradate, because subIds select work in same logical framework and conditions, and this is logical true.
Also it fix #929 , without create multiple unsubscribed records on all lists in listmonk for all blocklisted user.

@knadh
Copy link
Owner

knadh commented Feb 6, 2023

Thank you. Will test this on a large DB with millions of records over the weekend.

queries.sql Outdated Show resolved Hide resolved
@ldidry
Copy link
Contributor

ldidry commented Jun 14, 2023

Any news on this? I have a very similar problem…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants