martylamb / bookmartian

4 stars 1 forks source link

/api/bookmark/delete not working on old bookmark file #97

Closed jmutchek closed 4 years ago

jmutchek commented 4 years ago

I have a bookmark file in 'prod' that has been going for a few years... there appears to be something wrong with it. There are no errors on load, but when I try to delete a bookmark it doesn't seem to actually delete. I deleted all but 100 bookmarks from the file and now deletions seems to work fine. If this is a file corruption file, that's cool - just want to find a way to 'clean' the existing file. Since each record is encoded, its difficult to easily spot potentially corrupt records.

of course, this doesn't seem to be a problem on the existing site... needs more research. capturing here for future work.

jmutchek commented 4 years ago

I found what looked like a badly formatted line in the data file and deleted it manually. things seem to be working now.

martylamb commented 4 years ago

Glad it's working now, but I'm a little troubled by the corruption. Any idea how what might have done that? The storage should be resilient to that as well.