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

Avoid previous content lost in case of disk full #1171

Open
nplanel opened this issue Nov 27, 2024 · 0 comments
Open

Avoid previous content lost in case of disk full #1171

nplanel opened this issue Nov 27, 2024 · 0 comments

Comments

@nplanel
Copy link

nplanel commented Nov 27, 2024

to reproduce

  • add some stuff
  • fill up the partitions
  • reconnect to the server
  • edit an article
    if you sync or online the new content is not saved and the previous one is lost, an empty page is returned, saved on disk

Would be nice to handle the "write" error by creating a tempfile then rename it (like vim does on save file)
This would avoid to overwrite the previous content to an empty page

@nplanel nplanel changed the title Lost previous content in case of disk full Avoid previous content lost in case of disk full Nov 27, 2024
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

1 participant