Closed juyuancai closed 6 years ago
this is not a plyvel issue, it's an issue reported by leveldb. are you sure there's only one process using the db at a time?
I think so. I did more test and find that if I use absolute path to create db object, it works just fine, if I use relative path to create db object, it will show this error. Is it anything to do with the data I store in to the database? Or i what case the db project will change the path it find the database? I print the pwd every loop, and they all in the the same pwd. Thank you.
a minimal test case would help so that i can see if i can reproduce. i've never seen anything like this.
I am using plyvel to store data. I use pickle to dump python object into binary data, and use db.put to store it as value. however, I randomly got the error below:
It does not always show this error, and the ldb file is not always the same. However, when I check my database folder, I can see the ldb file. I do not know why. could anyone help me? I am using plyvel 1.01 and python 2.7