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

Persistent Cache Timestamp API #6798

Merged
merged 1 commit into from Nov 20, 2019
Merged

Conversation

Luke-Sikina
Copy link
Member

Fix #6635

Describe changes proposed in this pull request:

  • New endpoint
    • For every table that has endpoints that are being persistently
      cached the endpoint returns a table name timestamp pair of the
      last time the table was updated
    • If the table has never been updated, it instead returns
      the creation date of the table
  • This feature requires SQL 5.7.2+ because the InnoDb engine did not
    update this column correctly before then
    • updated the requirements in the docs to require 5.7 rather than 5.x

Checks

  • Runs on heroku
  • Has tests or has a separate issue that describes the types of test that should be created. If no test is included it should explicitly be mentioned in the PR why there is no test.

@jjgao jjgao temporarily deployed to cbioportal-hg19cache-6imcgpdrw November 11, 2019 17:47 Inactive
@jjgao jjgao temporarily deployed to cbioportal-hg19cache-6imcgpdrw November 11, 2019 19:00 Inactive
@jjgao jjgao temporarily deployed to cbioportal-hg19cache-6imcgpdrw November 12, 2019 20:44 Inactive
@jjgao jjgao requested a review from n1zea144 November 13, 2019 22:40
- New endpoint
    - For every table that has endpoints that are being persistently
    cached the endpoint returns a table name timestamp pair of the
    last time the table was updated
    - If the table has never been updated, it instead returns
    the creation date of the table
- This feature requires SQL 5.7.2+ because the InnoDb engine did not
update this column correctly before then
    - updated the requirements in the docs to require 5.7 rather than 5.x
@jjgao jjgao temporarily deployed to cbioportal-hg19cache-6imcgpdrw November 19, 2019 16:05 Inactive
@n1zea144 n1zea144 merged commit a5c2a65 into cBioPortal:master Nov 20, 2019
@inodb inodb added the api label Nov 22, 2019
@Luke-Sikina Luke-Sikina deleted the hg19cache branch November 27, 2019 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reference genome genes endpoint is a bottleneck
4 participants