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

LevelDB get stuck in leveldb::DBImpl::MakeRoomForWrite() for 1.13 #1123

Open
halibobo1205 opened this issue May 26, 2023 · 0 comments
Open

Comments

@halibobo1205
Copy link

logs

11:09:19.149 Recovering log #1386627
11:09:19.273 Level-0 table #1386630: started
11:09:19.366 Level-0 table #1386630: 5214066 bytes OK
11:09:19.376 Delete type=3 #1381048
11:09:19.378 Delete type=0 #1386627
11:16:22.422 Current memtable full; waiting...

config

writeBufferSize 16 M, cacheSize 32 M, maxOpenFiles 100

size

level:0,files:1.0,size:5.0 M

version

1.13, use leveldbjni

situation

Java process was killer by OOM Killer, The above logs did not show database corruption. It get get stuck in leveldb::DBImpl::MakeRoomForWrite() . BTW , recreate database is ok. Anyone might know the reason?

relations

I looked up other issues, found this issue #169 . However, this doesn't seem like the case here.
In rocksdb , facebook/rocksdb#696 (comment), this comment show had a bug where compaction wasn't started and writes were waiting until it finishes.

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