Skip to content

[KEYS-910] Add support for persistence mode to Key Value#92

Open
jburianek wants to merge 1 commit into
mainfrom
joe/persistence-mode
Open

[KEYS-910] Add support for persistence mode to Key Value#92
jburianek wants to merge 1 commit into
mainfrom
joe/persistence-mode

Conversation

@jburianek

@jburianek jburianek commented Jun 11, 2026

Copy link
Copy Markdown

This adds support for the new Key Value persistenceMode setting.

Paid Render Key Value instances now support three different disk persistence modes:

  • Journal + Snapshot: Append writes to a journal and periodically save full snapshots.
    This matches the behavior of all paid Key Value instances previously
  • Snapshot only: Disable journaling while continuing to save periodic snapshots.
  • Off: Disable all disk-backed persistence.

More details are in the change log and docs. The REST API docs have also been updated.

@linear

linear Bot commented Jun 11, 2026

Copy link
Copy Markdown

KEYS-910

@kitemongerer kitemongerer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

How have you tested this? Have you confirmed that creating a keyval with a prior TF version and then running with this version works as expected

@wendorf wendorf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me! This isn't my strongest codebase, though, so I'd prefer waiting for a second reviewer before merging


resource.TestCheckResourceAttrWith(resourceName, "connection_info.redis_cli_command", func(value string) error {
if !regexp.MustCompile(`^ REDISCLI_AUTH=.{32} redis-cli --user red-[a-z0-9]+ -h .*-.*.com -p 637[7|9] --tls$`).MatchString(value) {
if !regexp.MustCompile(`^ REDISCLI_AUTH=.{32} valkey-cli --user red-[a-z0-9]+ -h .*-.*.com -p 637[7|9] --tls$`).MatchString(value) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why did this change?

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