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

Ensure ts used in versions file header and db query is the same #2811

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

sonalkr132
Copy link
Member

If a version was updated between the time versions data were queried
and versions file header was created, the version would have been
skipped. since we use versions file header as marker for dynamic
part of versions file, the updated version was never showing up in
(compact) index.

closes: #2808

@sonalkr132 sonalkr132 force-pushed the versions-date branch 8 times, most recently from 9416058 to 5735a3c Compare October 10, 2021 08:00
If a version was updated between the time versions data were queried
and versions file header was created, the version would have been
skipped. since we use versions file header as marker for dynamic
part of versions file, the updated version was never showing up in
(compact) index.
@sonalkr132 sonalkr132 merged commit dea0bcd into rubygems:master Oct 11, 2021
@sonalkr132 sonalkr132 deleted the versions-date branch October 11, 2021 14:46
@sonalkr132 sonalkr132 restored the versions-date branch October 11, 2021 14:46
@sonalkr132 sonalkr132 deleted the versions-date branch October 11, 2021 14:46
@sonalkr132 sonalkr132 temporarily deployed to staging October 12, 2021 03:29 Inactive
@sonalkr132 sonalkr132 temporarily deployed to production October 12, 2021 03:42 Inactive
sonalkr132 added a commit to sonalkr132/rubygems.org that referenced this pull request Oct 19, 2021
This was unintentially removed in rubygems#2811. causes different times for
@created_at and version file header occasionally.
sonalkr132 added a commit to sonalkr132/rubygems.org that referenced this pull request Oct 19, 2021
This was unintentially removed in rubygems#2811. causes different times for
@created_at and version file header occasionally.
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.

/versions endpoint out-of-date
1 participant