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

Backfill missing reframe CID timestamps #289

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

ischasny
Copy link
Contributor

Some CID timestamps might be missing from the CID index / snapshot if the index-provider has been abruptly stopped before the latest snapshot got persisted. In that case - backfill those CIDs with the current timestamp on initialisation so that they match the published ads. This is safe to do. Even if they have expired, they'd still expire just at a later date.

Some CID timestamps might be missing from the CID index / snapshot if the index-provider has been abruptly stopped before the latest snapshot got persisted. In that case - backfill those CIDs with the current timestamp on initialisation so that they match the published ads. This is safe to do. Even if they have expired, they'd still expire just at a later date.
@codecov-commenter
Copy link

Codecov Report

Merging #289 (49ed45c) into main (a541b37) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #289      +/-   ##
==========================================
+ Coverage   44.46%   44.52%   +0.06%     
==========================================
  Files          78       78              
  Lines        5996     6003       +7     
==========================================
+ Hits         2666     2673       +7     
  Misses       2910     2910              
  Partials      420      420              
Impacted Files Coverage Δ
reframe/listener.go 67.31% <100.00%> (+0.64%) ⬆️

@ischasny ischasny merged commit 549e701 into main Oct 27, 2022
@ischasny ischasny deleted the ivan/backfill-missing-cid-timestamps branch October 27, 2022 11:41
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

Successfully merging this pull request may close these issues.

4 participants