LocalData / localdata-tiles

A tileserver for LocalData
5 stars 2 forks source link

Mystery cache non-invalidation #140

Open hampelm opened 9 years ago

hampelm commented 9 years ago

I loaded a survey, zoomed to an address where responses had been recently deleted, and zoomed in / out. I got 3 different tiles at 3 different zooms. I reloaded the page in case the responses had just been deleted and it happened again. I cleared the S3 cache for the survey and got the expected empty tiles. I was not able to reproduce using a test survey, but wanted to note it.

screen shot 2015-03-14 at 2 45 41 pm screen shot 2015-03-14 at 2 45 47 pm screen shot 2015-03-14 at 2 45 53 pm

hampelm commented 9 years ago

(The address search was for 6587 Hamilton ave in lots-to-love)

prashtx commented 9 years ago

Were the entries deleted through the API or by manually removing the documents from the database? I don't see any "zombie" response docs for the lots-to-love survey, so the tileserver won't realize there has been a deletion and will consider the cache valid (as will the stats code).

hampelm commented 9 years ago

I didn't do any of the deleting yesterday. Maybe they were deleted in an earlier cleanup.