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

Remove unnecessary locking when commit and rollback transaction #226

Open
dai-chen opened this issue Jan 17, 2024 · 0 comments
Open

Remove unnecessary locking when commit and rollback transaction #226

dai-chen opened this issue Jan 17, 2024 · 0 comments
Labels
maintenance Code refactoring

Comments

@dai-chen
Copy link
Collaborator

What is the bug?

The current transition process from the initial to transient to final metadata log entry is executed using OpenSearch optimistic locking. The transition from initial to transient ensures a single execution thereafter. However, given this assumption, there is no actual need to employ optimistic locking again when committing the transaction to the final state or rolling back to the initial state.

What is the expected behavior?

Eliminate the unnecessary OpenSearch optimistic locking when committing and rolling back the transaction. This adjustment also contributes to a reduction in the likelihood of version conflicts during index monitor updates to the heartbeat.

@dai-chen dai-chen added bug Something isn't working untriaged and removed untriaged labels Jan 17, 2024
@dai-chen dai-chen added the 0.3 label Mar 7, 2024
@dai-chen dai-chen added maintenance Code refactoring and removed bug Something isn't working labels Apr 4, 2024
@dai-chen dai-chen changed the title [BUG] Remove unnecessary locking when commit and rollback transaction Remove unnecessary locking when commit and rollback transaction Apr 4, 2024
@dai-chen dai-chen added 0.5 and removed 0.3 labels May 14, 2024
@dai-chen dai-chen removed the 0.5 label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Code refactoring
Development

No branches or pull requests

1 participant