TehShrike / noddity

It's a blog, it's a wiki, it's a fast CMS!
56 stars 29 forks source link

Root post will sometimes not refresh #32

Closed ArtskydJ closed 8 years ago

ArtskydJ commented 8 years ago

We're tracking this on workflowy, but I would like it here for discussion, pictures, etc.

ArtskydJ commented 8 years ago

capture

Here is a screenshot of the entire indexeddb contents of a replication.

ArtskydJ commented 8 years ago

capture

Here is a screenshot of the console...

ArtskydJ commented 8 years ago

capture

Here is a screenshot of the network tab for the first 160 seconds or so (it repeats after this...)

TehShrike commented 8 years ago

I know you did some work on this in other repos, is this still open? Are there any action items left?

ArtskydJ commented 8 years ago

I forget the details, but we were unable to figure out why a key was deleted. We thought it might have been a race condition.

We decided to try the setInterval thing on expire-unused-keys or levelup-cache, in case this was a race condition.

Perhaps it could be closed for now. I don't think I have a test case to replicate it. If it pops up again, we can re-open, or create a new issue.

TehShrike commented 8 years ago

This should be fixed by https://github.com/TehShrike/levelup-cache/issues/3, https://github.com/TehShrike/expire-unused-keys/issues/6, and https://github.com/TehShrike/expire-unused-keys/issues/7.