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

Auto-backup issue on (slow) shared folder #7399

Closed
1 task
alfureu opened this issue Jan 31, 2021 · 4 comments
Closed
1 task

Auto-backup issue on (slow) shared folder #7399

alfureu opened this issue Jan 31, 2021 · 4 comments
Labels
component: export-or-save [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs status: waiting-for-feedback The submitter or other users need to provide more information about the issue

Comments

@alfureu
Copy link

alfureu commented Jan 31, 2021

JabRef 5.2--2020-12-24--6a2a512
Windows 10 10.0 amd64
Java 14.0.2

If the .bib file is shared on Dropbox/OneDrive/WebDAV with a somewhat slower connection (i.e. slower than an SSD writing speed), the auto-backup feature reverts back to the backup version, losing the newly 'saved' file in the updated .bib file. I am using a stable version 5.2.

Steps to reproduce the behavior:

  1. Open a bib file from Dropbox/OneDrive with 1000 entries
  2. Create a new group, Add a new Entry and Save it
  3. Close the file/tab
  4. Observe the creation of filename.bib.bak, filename.bib.sav, and filename.bib.sav.tmp on the filesystem
  5. Do not close JabRef, as within a minute the bib file will reopen (!!!) without any user interaction
  6. The problem: the file is not the newly saved file with including the new entry, but the autosaved version without the new entry. I.e. if you save this file on closing, you are losing the new entry from the previous save without any warning.
  7. If you reject this save, the tab with the file does not open anymore.

This is IMHO a serious bug, as one can lose entries. I checked the online documentation how things intend to work, however, this is somehow not ideal on shared drives I guess. Could you please investigate this further?

Besides the obvious bug or automatic reopening of the auto-backup file, I was wondering whether with large datasets (with 100s of entries) it would be advisable to inform the user on saving of some basic stats, i.e. about the change in total amount of entries, how many new entries are going to be saved, and how many entries were edited, eventually deleted. This should be doable as a result of comparing the auto-backup files with the newly saved one. With this approach it can be ensure that the user is fully informed and want to commit the changes.

@calixtus
Copy link
Member

Maybe related to #5967 ?

@calixtus calixtus added component: export-or-save [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs labels Feb 15, 2021
@github-actions
Copy link
Contributor

This issue has been inactive for half a year. Since JabRef is constantly evolving this issue may not be relevant any longer and it will be closed in two weeks if no further activity occurs.

As part of an effort to ensure that the JabRef team is focusing on important and valid issues, we would like to ask if you could update the issue if it still persists. This could be in the following form:

  • If there has been a longer discussion, add a short summary of the most important points as a new comment (if not yet existing).
  • Provide further steps or information on how to reproduce this issue.
  • Upvote the initial post if you like to see it implemented soon. Votes are not the only metric that we use to determine the requests that are implemented, however, they do factor into our decision-making process.
  • If all information is provided and still up-to-date, then just add a short comment that the issue is still relevant.

Thank you for your contribution!

@github-actions github-actions bot added the status: stale Issues marked by a bot as "stale". All issues need to be investigated manually. label Aug 20, 2021
@calixtus calixtus removed the status: stale Issues marked by a bot as "stale". All issues need to be investigated manually. label Aug 20, 2021
@ThiloteE
Copy link
Member

@DOFfactory could you please test with the newest development version? Commit 6a71395 fixed a bug in the auto-save and f7648e8 made substantial changes to the backup manager (e.g. introduced 10 backups instead of just one)

@ThiloteE ThiloteE added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Aug 17, 2022
@calixtus
Copy link
Member

Closing this issue due to inactivity 💤
Please reopen the issue with additional information if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: export-or-save [outdated] type: bug Confirmed bugs or reports that are very likely to be bugs status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
Archived in project
Development

No branches or pull requests

3 participants