Lendfating / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

LevelDB get 'stuck' in reorganizing keys. #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate about 100 Strings, like "00000" to "00999"
2. Generate around 200.000 (0 to 200k) numbers and concat them with the above 
like "0|00001", "1|00010", , ..., "199|00099", ..
3. Insert them into LevelDB

What is the expected output? What do you see instead?
Around 1.5M keys inserted, LevelDB starts to reorganize the files forever 
(watched around 15 minutes to no end). 

What version of the product are you using? On what operating system?
I'm using the Java LevelDB interface and MacOS X. Version 1.1.

Please provide any additional information below.
I know the keys are weird (to someone who don't know the business problem. 
LevelDB gives me something like this over the logger interface:

Original issue reported on code.google.com by seidl.ma...@gmail.com on 11 Dec 2011 at 1:21

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I even tried it with 1.5M random numbers, same thing. Any hint?

Original comment by seidl.ma...@gmail.com on 11 Dec 2011 at 1:44

GoogleCodeExporter commented 9 years ago
Just for clarification: It wasn't a pebkac problem, tried to delete the old 
comment, but it got already posted in the mailing list...

Original comment by seidl.ma...@gmail.com on 12 Dec 2011 at 7:19

GoogleCodeExporter commented 9 years ago
Do you have a standalone program that illustrates the problem?  Ideally in C++ 
since this project is not associated with the Java bindings.

Original comment by san...@google.com on 16 Oct 2012 at 11:40