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

ldb files are not cleaned event after successful publishes #15

Open
dushyantbangal opened this issue Oct 12, 2018 · 1 comment
Open

Comments

@dushyantbangal
Copy link

dushyantbangal commented Oct 12, 2018

I kept my device offline for 2 days and let it gather data in the store (140 KB every minute)

After I put it online, it uploaded a lot of data and then stopped. Now it was only uploading the new incoming data, so I guess it uploaded everything.

However, before putting the device online, I saw there were files of about 230 MB.
After all of the uploading completed, the files were still there. After few more fresh data uploads, some of the files were removed, however, there are still files of about 190 MB.

Is there a setting I am missing? How does this cleanup happen?

@mcollina
Copy link
Owner

This will need to be investigated. I think it's ok, and over time it stabilizes. You can read more about leveldb physical data layer in https://www.igvita.com/2012/02/06/sstable-and-log-structured-storage-leveldb/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants