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

RocksDB can't auto resume after disk quota exceeded error #627

Closed
2 tasks done
caipengbo opened this issue Jun 9, 2022 · 0 comments · Fixed by #628
Closed
2 tasks done

RocksDB can't auto resume after disk quota exceeded error #627

caipengbo opened this issue Jun 9, 2022 · 0 comments · Fixed by #628
Labels
bug type bug

Comments

@caipengbo
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar issues.

Version

Kvrocks: 2.0.6

Minimal reproduce step

  1. limit the disk of kvrocks data-dir
  2. create some big files when rocksdb compaction, make these files fill up the disk
  3. if you keep writing to kvrocks, you'll find that you can't write to it
  4. delete the useless files created in step 2 and find that kvrocks still cannot write

What did you expect to see?

When disk space is available, kvrocks can write data normally.

What did you see instead?

The kvrocks log keeps appearing:

[event_listener.cc:93] [event_listener/background_error] reason: writecallback, status: IO error: While appending to file: /data/db/xxxx.sst: Disk quota exceeded

Kvrocks has been unable to write data unless it is restarted.

Anything Else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@caipengbo caipengbo added the bug type bug label Jun 9, 2022
@caipengbo caipengbo changed the title Rocksdb can't auto resume after disk quota exceeded error RocksDB can't auto resume after disk quota exceeded error Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug type bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant