payload: {"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab2-addons/issues/5206","repository_url":"https://api.github.com/repos/openhab/openhab2-addons","labels_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/5206/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/5206/comments","events_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/5206/events","html_url":"https://github.com/openhab/openhab2-addons/issues/5206","id":424497016,"node_id":"MDU6SXNzdWU0MjQ0OTcwMTY=","number":5206,"title":"mapdb persistence database keeps on growing","user":{"login":"nbrealey","id":48857352,"node_id":"MDQ6VXNlcjQ4ODU3MzUy","avatar_url":"https://avatars2.githubusercontent.com/u/48857352?v=4","gravatar_id":"","url":"https://api.github.com/users/nbrealey","html_url":"https://github.com/nbrealey","followers_url":"https://api.github.com/users/nbrealey/followers","following_url":"https://api.github.com/users/nbrealey/following{/other_user}","gists_url":"https://api.github.com/users/nbrealey/gists{/gist_id}","starred_url":"https://api.github.com/users/nbrealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbrealey/subscriptions","organizations_url":"https://api.github.com/users/nbrealey/orgs","repos_url":"https://api.github.com/users/nbrealey/repos","events_url":"https://api.github.com/users/nbrealey/events{/privacy}","received_events_url":"https://api.github.com/users/nbrealey/received_events","type":"User","site_admin":false},"labels":[{"id":99327136,"node_id":"MDU6TGFiZWw5OTMyNzEzNg==","url":"https://api.github.com/repos/openhab/openhab2-addons/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2019-03-23T12:45:43Z","updated_at":"2019-03-23T14:36:14Z","closed_at":null,"author_association":"NONE","body":"The mapdb persistence database grows in size and fills the disk if the everyUpdate strategy is used.\r\n\r\n## Expected Behavior\r\n\r\nThe database should not grow in size if the keys do not change.\r\nThe database should be compacted automatically if there is a lot of wasted space.\r\n\r\n## Current Behavior\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n<!--- When possible, include related log information (preferably debug level) and related configs. -->\r\n<!--- Use file attachment for log and config information longer than a few lines -->\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\n<!--- For improvements, discuss in at community.openhab.org first and include link to topic -->\r\nThe mapdb persistence database grows in size and fills the disk.\r\nRestarting the openhab2 service causes the database to be compacted.\r\nI saw the problem with String items.\r\n\r\n## Steps to Reproduce\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n1. Configure mapdb persistence with to save some String items using the everyUpdate strategy.\r\n2. Watch the database grow in size: du -h -s /var/lib/openhab2/persistence/mapdb (location of database may vary)\r\n\r\n## Context\r\n<!--- How has this issue affected you? What are you trying to accomplish? -->\r\n<!--- Providing context helps us come up with a solution that is most useful in the real world -->\r\nThe virtual disk on the VM running openHAB became full.\r\nI was using openHAB to implement multiple heating schedules on my Drayton Wiser system when the manufacturer only provided a single shedule. See https://community.openhab.org/t/drayton-wiser-thermostat-binding/35640/320\r\n \r\n\r\n## Your Environment\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n\r\n* Version used:\r\n\r\nopenHAB 2.5.0 Build #1557 and Build #1558 (openHAB 2.5.0-SNAPSHOT version) from yum repository.\r\n\r\nMapDB Persistence: persistence-mapdb - 1.14.0.SNAPSHOT\r\n\r\n* Environment name and version:\r\n\r\n zulu-8 8.36.0.1-1  from yum repository:\r\n java -version\r\nopenjdk version \"1.8.0_202\"\r\nOpenJDK Runtime Environment (Zulu 8.36.0.1-CA-linux64) (build 1.8.0_202-b05)\r\nOpenJDK 64-Bit Server VM (Zulu 8.36.0.1-CA-linux64) (build 25.202-b05, mixed mode)\r\n\r\n* Operating System and version:\r\n\r\nCentOS 7.6 on VirtualBox (5.2.256) VM on XigmaNAS 11.2.04.6536 (FreeBSD 11.2-RELEASE-P9).\r\n"},"comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/issues/comments/475874872","html_url":"https://github.com/openhab/openhab2-addons/issues/5206#issuecomment-475874872","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/5206","id":475874872,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NTg3NDg3Mg==","user":{"login":"davidgraeff","id":66436,"node_id":"MDQ6VXNlcjY2NDM2","avatar_url":"https://avatars2.githubusercontent.com/u/66436?v=4","gravatar_id":"","url":"https://api.github.com/users/davidgraeff","html_url":"https://github.com/davidgraeff","followers_url":"https://api.github.com/users/davidgraeff/followers","following_url":"https://api.github.com/users/davidgraeff/following{/other_user}","gists_url":"https://api.github.com/users/davidgraeff/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgraeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgraeff/subscriptions","organizations_url":"https://api.github.com/users/davidgraeff/orgs","repos_url":"https://api.github.com/users/davidgraeff/repos","events_url":"https://api.github.com/users/davidgraeff/events{/privacy}","received_events_url":"https://api.github.com/users/davidgraeff/received_events","type":"User","site_admin":false},"created_at":"2019-03-23T14:36:14Z","updated_at":"2019-03-23T14:36:14Z","author_association":"MEMBER","body":"Of course it does, the 2.x version is the 1.x version with renamed package names. But we can of course hope that OH 1 maintainers implement a fix although I don't know how, because the core would need to be changed. I try to transfer the issue now."}}
other: {"actor":{"display_login":"davidgraeff"}}