Skip to content

Conversation

@lucymcnatt
Copy link
Contributor

Description

Release Notes Confirmation

CHANGELOG.md

  • I updated CHANGELOG.md in this PR
  • I assert that this change shouldn't be included in CHANGELOG.md because it doesn't impact community users

Terra Release Notes

  • I added a suggested release notes entry in this Jira ticket
  • I assert that this change doesn't need Jira release notes because it doesn't impact Terra users

@lucymcnatt lucymcnatt marked this pull request as ready for review December 9, 2025 19:40
@lucymcnatt lucymcnatt requested a review from a team as a code owner December 9, 2025 19:40

def allowResultReuse = column[Boolean]("ALLOW_RESULT_REUSE", O.Default(true))

def createdAt = column[Timestamp]("CREATED_AT", O.Default(new Timestamp(System.currentTimeMillis())))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this default will be used in a meaningful way, as it will be the DBMS calculating the current time rather than the JVM. In that sense, it is a bit confusing.

CREATE EVENT IF NOT EXISTS delete_old_call_cache_entries
ON SCHEDULE EVERY 1 DAY
DO
DELETE FROM CALL_CACHING_ENTRY WHERE CREATED_AT < (NOW() - INTERVAL 90 DAY);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we probably want this configurable for non-Terra Cromwells... I'd be fine with shipping the sort reversal first and the cleanup later once we find a good way to do that

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.

3 participants