-
Notifications
You must be signed in to change notification settings - Fork 377
[CTM-133] Reverse call-caching order and not check old entries #7834
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
base: develop
Are you sure you want to change the base?
Conversation
database/sql/src/main/scala/cromwell/database/slick/tables/CallCachingEntryComponent.scala
Outdated
Show resolved
Hide resolved
database/migration/src/main/resources/changesets/delete_old_call_caching.xml
Outdated
Show resolved
Hide resolved
LizBaldo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me, I only have a couple of minor comments. I am guessing that a few integration tests will need to be updated if they expected older cache hits? I suspect the AWS job queue is stuck by a misconfigured resource job as well if the tests are timing out
engine/src/main/scala/cromwell/engine/workflow/lifecycle/execution/WorkflowExecutionActor.scala
Outdated
Show resolved
Hide resolved
database/sql/src/main/scala/cromwell/database/sql/tables/CallCachingEntry.scala
Outdated
Show resolved
Hide resolved
aednichols
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
Deployment note:
We should benchmark how long this Liquibase takes in production.
I believe recent versions of MySQL support instant add columns, but we should verify that it works in practice on our instance, with this particular changeset.
My clone is still around, so that would be a good place to try it.
...t/scala/cromwell/backend/google/batch/callcaching/BatchBackendCacheHitCopyingActorSpec.scala
Outdated
Show resolved
Hide resolved
|
It looks like at least one call caching test is failing, I would recommend running it locally to observe how it interacts with the database. As well as some sort of column type semantics in the DBMS suite: |
Tried it on your clone and it took ~0.5 secs, so I think we should be good! |
Description
Release Notes Confirmation
CHANGELOG.mdCHANGELOG.mdin this PRCHANGELOG.mdbecause it doesn't impact community usersTerra Release Notes