Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale records for retired sites in Memorystore #155

Open
cristinaleonr opened this issue Aug 7, 2023 · 0 comments
Open

Stale records for retired sites in Memorystore #155

cristinaleonr opened this issue Aug 7, 2023 · 0 comments
Assignees

Comments

@cristinaleonr
Copy link
Contributor

There are some stale entries in Memorystore belonging to retired sites. This occurred because updates for Prometheus data in Memorystore do not re(set) the key's expiration.

Example entry for retired site yul04 in production:

KEYS *yul04*
*5
$45
wehe-mlab1-yul04.mlab-oti.measurement-lab.org
$45
wehe-mlab2-yul04.mlab-oti.measurement-lab.org
$44
ndt-mlab2-yul04.mlab-oti.measurement-lab.org
$44
ndt-mlab3-yul04.mlab-oti.measurement-lab.org
$44
ndt-mlab1-yul04.mlab-oti.measurement-lab.org

HGETALL ndt-mlab2-yul04.mlab-oti.measurement-lab.org
*2
$10
Prometheus
$15

This will be fixed by #154 because Prometheus updates will only be written once entries already exist (with a corresponding expiration). That said, the existing stale entries will remain unless they are cleaned up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant