-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: extend export with protected nodes defined by user. #186
feat: extend export with protected nodes defined by user. #186
Conversation
Regression from minetest-go#181
Gracefully flushes the remaining transactions for Sqlite. Requires new release of minetest-go/mtdb. Fixes minetest-go#180
Avoid losing data when protected nodes are at the mapblock/mapchunk edges.
Nasty loops!
Accounting for two neighbor chunks and the surrounding being exported when --export-all is provided.
Ready to review / merge! I have tested this on my own server, and the exported regions with --export-all reflect what would be left when you run --prune_unprotected. It was fully working on a 80G map with 125.000.000+ mapblocks, exporting a 4G working sqlite map. This actually provides a nice and safe way to clean the map as the resulting and smaller version can be checked before it goes live. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, nice work 👍
i have to test this on the pandorabox backup soon(-ish) i wonder how much space we could save 🤔
Nice! Yeah, on my case, there are huge builds. Like an enormous tunnel with 18km of distance (in game distance), a giga factory with automations galore and several player bases around the world. However, the majority of places were just mapgen stuff with no protected regions so the reduced size was significant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
No description provided.