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

[PX] Refactor subscribers to use v2 data source #7827

Open
Joao-vi opened this issue Mar 28, 2025 · 1 comment
Open

[PX] Refactor subscribers to use v2 data source #7827

Joao-vi opened this issue Mar 28, 2025 · 1 comment

Comments

@Joao-vi
Copy link
Collaborator

Joao-vi commented Mar 28, 2025

Subscribers to deleted event, using v2 data source which have transactions were fetching the collections and still getting the already deleted documents even though the event was triggered AFTER the deletion took place.

The folllowing subscribers are using v1 data source

PXEntityStatusManager

We should use v2 data source, in order to do that, we need find out why transactions are causing this behavior

@Joao-vi
Copy link
Collaborator Author

Joao-vi commented Mar 31, 2025

@daneryl has figured out a way for v1 and v2 data source share same transaction session. Hopefully we just need to replace v1 data source to v2 on the PXEntityStatusManager

@Joao-vi Joao-vi self-assigned this Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants