-
Notifications
You must be signed in to change notification settings - Fork 23
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
CubDB crashing when under heavy load #21
Comments
Hi @sezaru , It does make sense to stop automatic compaction when backfilling data, and trigger it manually when done (or re-enabling auto compaction), but that said if compaction crashes the main process it should definitely be considered a bug. |
I'm using the latest one, 1.0.0-rc.3. |
Ok thanks, I’ll have a look into it. At a glance it looks like the problem is due to two compaction operations running concurrently, but I need to investigate a bit. |
Hi @sezaru , After the fix, compaction should not crash in the ways you observed, even during heavy write load. That said, if you can predict when you will have heavy write load (for example during a manual data fill), it's more efficient to temporarily disable auto-compaction, and run a manual compaction after the writes instead. |
I am closing this issue, as I am very confident that #22 fixed it, but feel free to comment if you find that your issue still occurs with the new release, and I will reopen this if necessary. |
Hello, in my system, there is a step where I can do a backfill of some data which triggers a heavy load of data being added to CubDB in sequence.
Whenever I run this, it doesn't take too much time to CubDB crash with one of the following errors:
I didn't test it too much, but disabling compaction seems to fix it.
The text was updated successfully, but these errors were encountered: