dragonfly icon indicating copy to clipboard operation
dragonfly copied to clipboard

Dragonfly crashes at the next snapshot period if previous one was skipped

Open safa-topal opened this issue 11 months ago • 3 comments

Describe the bug If dragonfly skips a snapshot period due to SAVE operation taking longer than the defined snapshot_cron (example: if save takes more than 10min when snapshot cron is set to every 10min)

To Reproduce Steps to reproduce the behavior:

  1. Insert entries to DF (ideally GBs) and set the snapshot_cron to a relatively small value e.g: 1min
  2. Ensure snapshotting takes more than 1min
  3. See that process crashes if previous interval was skipped

Expected behavior Dragonfly must not crash.

Environment (please complete the following information): OS: Fedora 38 Kernel: 6.3.12-200.fc38.x86_64 Containerized?: toolbox Dragonfly Version: 1.14.5

safa-topal avatar Mar 20 '24 13:03 safa-topal

@safa-topal I am running the scenario you describe and I am not getting a crash. Please send the crash stack trace so I can explore this crash better

adiholden avatar Mar 21 '24 13:03 adiholden

@adiholden have you tried using old (rdb) format?

romange avatar Mar 21 '24 13:03 romange

@romange yes

adiholden avatar Mar 21 '24 18:03 adiholden