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

Ensure that struct applier is not deleted util its in-fly txns are finished #10030

Open
Gerold103 opened this issue May 17, 2024 · 0 comments
Open
Labels

Comments

@Gerold103
Copy link
Collaborator

Currently the applier txn processing doesn't seem to keep the applier object alive until all its txns are fnished. That could be the reason why in replica_txn_wal_write_cb() the trigger must go replica->applier->txn_last_tm instead of directly using the pointer at the applier owning this txn.

Need to investigate, whether appliers live as long as their txns. If they don't - make them. Then make applier directly assign its txn_last_tm without struct replica participation.

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

No branches or pull requests

1 participant