Opened 6 years ago

Closed 6 years ago

#1190 closed defect (fixed)

corrupt RIs are not always removed

Reported by: killyourtv Owned by: zzz
Priority: minor Milestone: 0.9.11
Component: router/netdb Version: 0.9.10
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

The following were found in my netDb directory:

# find /var/lib/i2p/i2p-config/netDb -size 0 -exec ls -lh "{}" \;
-rw-rw---- 1 i2psvc i2psvc 0 Jun 13  2011 /var/lib/i2p/i2p-config/netDb/r2/routerInfo-2cNtZWCuj2d8yANsgubIUY6efLLRzHV9hBxecY7LHXE=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Oct 11  2011 /var/lib/i2p/i2p-config/netDb/rU/routerInfo-Ui3fKDXiqQmqFTGYMK3PV~Fr4UmWRCjMheLPtcN5-Mc=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Nov 23  2012 /var/lib/i2p/i2p-config/netDb/rU/routerInfo-UNYLTzLNIbqX-L7t-ZfZmVeTWk1O2Aleku5T0YpySkQ=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Oct 11  2011 /var/lib/i2p/i2p-config/netDb/r4/routerInfo-4AOIuFC46eumq2HrR0HV1rVlXNYgFEODaqQ80RlR-BE=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Jun 13  2011 /var/lib/i2p/i2p-config/netDb/rk/routerInfo-kRSTy~Xzm8F5VLiCfh0zAq2gdDaRs8idubiCeLx3GWQ=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Jun 13  2011 /var/lib/i2p/i2p-config/netDb/r0/routerInfo-0SGMkU0~mQMwj~Y-ol9ick3tlWZekWa9mUgGJwvRWBg=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Jun 13  2011 /var/lib/i2p/i2p-config/netDb/rf/routerInfo-fv4JcvAngCHS3VLwIqf3EaoNvwBgDeNfIJbFZ6OiVXU=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Nov 23  2012 /var/lib/i2p/i2p-config/netDb/rw/routerInfo-w3pe~gAjJLkVLviZ70h4nasBWYNR0t8yHet8JRhHROQ=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Jun 13  2011 /var/lib/i2p/i2p-config/netDb/rz/routerInfo-zrwu4BWt5brqJMn6IFJ0FhHIZbv988U8a4cHuvTbcAs=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Jun 13  2011 /var/lib/i2p/i2p-config/netDb/rz/routerInfo-zLo-EUXs3jvyyTtdAsu1oO5yNFpay5R~v6W548~gkf0=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Nov 23  2012 /var/lib/i2p/i2p-config/netDb/r8/routerInfo-8S85UVzmndvGAsnn2SLkKfTYx8Dznl5UW3iXzDxBh~0=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Jun 13  2011 /var/lib/i2p/i2p-config/netDb/rO/routerInfo-O8D1RJtQEY~1K1H1r92oQ~-BFLLxn1evI7E9x~MnOsI=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Nov 23  2012 /var/lib/i2p/i2p-config/netDb/r3/routerInfo-3YeS6u6~57mu8Ga93fUWEpW7Bk78ROwHTRsnOEdtzuk=.dat
-rw-rw---- 1 i2psvc i2psvc 0 Oct 11  2011 /var/lib/i2p/i2p-config/netDb/rG/routerInfo-GwxJ~RcwfZTf7on67skEaCdgUJ0fmcFu~PaiCitOSRc=.dat

Subtickets

Change History (2)

comment:1 Changed 6 years ago by zzz

Status: newaccepted

comment:2 Changed 6 years ago by zzz

Milestone: 0.9.140.9.11
Resolution: fixed
Status: acceptedclosed

Corrupt files were removed on DFE but not IOE, and the DataHelper?.readLong() now throws IOE on EOF, changed years ago.

Fixed in 77e4749a1a752affb680aeb62b4d8ff71adb0b88 0.9.10-9-rc, remove on IOE too.

Note: See TracTickets for help on using tickets.