-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[mapdb] Persistence service blocks item notifications #14899
Comments
@openhab/add-ons-maintainers It could be that this also affects other persistence add-ons. Someone might want to check that. |
@J-N-K - thanks for sharing, I have checked jdbc, and it also suffers from this problem. It even makes synchronous network calls during |
That's similar to what influxdb does. |
I just have a quick look to rrd4j persistence service and the store of data is synchronous too. So I guess it should be also fixed. PS: you made an incredible discovery @J-N-K , strange that it was not detected before. |
Similar issues were already reported earlier, but the reports did not contain enough information to find it. I believe that at least some of the issues like openhab/openhab-core#3531 have similar reasons. |
It happened when you had a massive number of state updates, is that correct ? The problem is that all persistence services have probably to be updated. Priority should be RRD4J which is the default persistence service and so probably used by most users, and the most used persistence services (JDBC is probably one of them). |
Then I'm glad I was able to provide enough information!
Correct. e.g when I turned my light
As Jan said in the core issue, the problem is that the persistence services did not implement And I agree that RRD4J should be the top priority. |
MapDB block item thread pool when a lot of states are stored.
Discovered in openhab/openhab-core#3578
The text was updated successfully, but these errors were encountered: