Open cmumford opened 10 years ago
Comment #1 originally posted by madthanu on 2013-07-15T00:57:42.000Z:
Ding? Is the leveldb community interested in bugs like these at all?
I think I have discovered a couple of of similar bugs, but would it be useful to you guys to have new issues created?
Comment #2 originally posted by sanjay@google.com on 2013-07-15T23:29:42.000Z:
Sorry for not responding. There aren't too many people spending a significant amount of time on leveldb, so bugs are on the back burner except for urgent things like corruption or crashes. Furthermore, this particular bug might be affected by some directory syncing work that is in progress.
I suspect that bugs like this one will probably also get looked at some point when somebody has some time. So it would be helpful if you have other similar things you can point out.
Thanks.
Original issue 183 created by madthanu on 2013-06-30T21:26:50.000Z:
This is about the scenario where a power crash happens while a database is being created. The bug is triggered only if the crash happens within a narrow time interval, and only when certain filesystems (eg: ext4) are used. Furthermore, the bug does not actually corrupt any data, instead only reporting an IO-error on a being-created (i.e., empty) database.
So I'm not sure this behavior is "wrong". Please ignore if you already knew about this behavior.
What steps will reproduce the problem?
What is the expected output? What do you see instead? Leveldb would report an IO Error. It is expected to just open the (empty) database and continue working.
What version of the product are you using? On what operating system? Leveldb-1.12.0. I used Ubuntu 12.04, although most Linux OSes should behave the same way. Also, in addition to ext4, I suspect other filesystems also behave the same way.
Please provide any additional information below. I'm more involved in filesystem research than in using leveldb, so I might be totally wrong. Do let me know if any additional tests would be useful from my side, I will be happy to help.