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 transaction ID wraparound #70

Open
elliotchance opened this issue Oct 16, 2021 · 2 comments
Open

Fix transaction ID wraparound #70

elliotchance opened this issue Oct 16, 2021 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@elliotchance
Copy link
Owner

There's currently no mitigation strategy for when transaction IDs wraparound. Even though the max transaction ID is high enough that most application won't ever encounter it, it needs to be fixed for v1.0.0.

@elliotchance elliotchance added the bug Something isn't working label Oct 16, 2021
@elliotchance elliotchance added this to the v1.0.0 milestone Oct 16, 2021
@funny-falcon
Copy link

funny-falcon commented Mar 10, 2023

Even though the max transaction ID is high enough that most application won't ever encounter it

PostgreSQL did think same way many years ago ))

@elliotchance
Copy link
Owner Author

I do remember reading about how postgres uses a freeze transaction ID. It didn't seem difficult to implement, however postgres is able to do that in the background, whereas it's probably not reasonable to do the same thing with a file.

I would be satisfied with just having the tool to repair the file (on open or manually) if feel like implementing it 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants