VisitorBadgeReloaded
VisitorBadgeReloaded copied to clipboard
[BUG] 'ERROR' views displayed when out of storage.
When the server is out of storage, Redis could no longer flush it's cache resulting in the error. However when the &hit=false
flag is included, Redis newer writes to disk so a view count is still shown.
Proposed Mitigations
Detect this edge-case:
- Be able to monitor an "unexpected" badge periodically
- Redis should be able to detect if it runs out of space
- When the error is detected, there should be a public page that posts the issue on a public page.
Prevent this edge-case:
- Disk space should be reserved for Redis
- If there is an error, the last known view should be shown