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

ConfigDB multi threading enhancements #137

Open
uw4 opened this issue Mar 31, 2022 · 0 comments
Open

ConfigDB multi threading enhancements #137

uw4 opened this issue Mar 31, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@uw4
Copy link
Contributor

uw4 commented Mar 31, 2022

this scenario could happen:

  • a save request is issued via thread / request 1
  • the request has not written the file fully
  • a read request is issued via thread / request 2
  • we get a read error on the partially written file

all in all this seems very unlikely. If it happens, it can be "fixed" by a simple reload

introducing file locks would be a possibility, but seems risky, since the behaviour is OS dependent

https://docs.oracle.com/javase/8/docs/api/java/nio/channels/FileLock.html

@aeberhart aeberhart added the bug Something isn't working label Apr 1, 2022
@aeberhart aeberhart added this to the 4.0 milestone Jan 17, 2023
@aeberhart aeberhart removed this from the 4.0 milestone May 8, 2023
@aeberhart aeberhart reopened this Nov 11, 2024
@aeberhart aeberhart added this to the 5.4 milestone Nov 11, 2024
@aeberhart aeberhart modified the milestones: 5.4, backlog Jan 18, 2025
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