![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| ||||
| ||||
|
|
When you said that you could see the "missing" data if you accessed it directly, but couldn't when you are iterating through the database, the old duplicate keys issue immediately sprang to mind. Have you created the database to allow duplicate keys? See the section "Handling Duplicate Keys" in the DB_File documentation if you have. |
|
Can you try using this as the loop for your dbdump and see if it makes any difference? for ($status = $db->seq($k, $v, R_FIRST) ; $status == 0 ; $status = $db->seq($k, $v, R_NEXT) ) { print "$k: $v\n" } warn "Status is $status, errno is $!\n"; |
|
Next, if you have db_verify available, can you run it against blacklist.db? |
|
If you don't do any locking at all, then the term "asking for trouble" immediately springs to mind :-) |
![]() |
| Thread Tools | |
| Display Modes | |
| |