Skip to content

Prepare release 0.2.2 - #79

Merged
albertompe merged 1 commit into
mainfrom
internal/release-0.2.2
Oct 26, 2026
Merged

albertompe merged 1 commit into
mainfrom
internal/release-0.2.2

Conversation

@albertompe

Copy link
Copy Markdown
Contributor

Redkey Robin v0.2.2

This patch release changes how Robin handles Redis persistence on persistent
(ephemeral: false) clusters
: Robin no longer forces appendonly yes, and the
persistence directives are now owned by spec.config. There are no CRD changes.

Warning

Breaking change for persistent clusters that rely on Robin's implicit AOF.
Read the migration notes below before upgrading.

Changes

  • Persistence owned by a single layer ([Bug] Stop forcing appendonly yes on persistent clusters: leave AOF/RDB to spec.config #77). Robin keeps writing
    appendonly no + save "" for ephemeral clusters, while persistent clusters
    get no appendonly/save directive from Robin and take them from
    spec.config. When spec.config sets none, the Redis defaults apply (AOF off,
    RDB with the default save points 3600 1 300 100 60 10000). This also stops the
    generated redis.conf from repeating directives that clients such as the Helm
    chart already set explicitly.

Upgrade impact

  • Already deployed clusters are not changed by upgrading Robin. The ConfigMap
    is only regenerated when the Redkey changes (config, image, resources, labels,
    etc., applied through the upgrade flow that recycles the pods), when scaling up
    from zero, or on a password rotation.
    • In cluster mode the upgrade migrates the slots before recycling each node, so
      no data is lost.
    • In standalone mode the restarted pod reloads the dump.rdb written at
      shutdown, unless spec.config sets save "", in which case it starts empty.
  • A password rotation rewrites the ConfigMap without recycling the pods, so the
    change applies on the next pod restart; after a crash, writes since the last RDB
    snapshot are lost.
  • Deployments using the Redkey Helm chart are not affected: the chart already
    renders explicit save/appendonly directives, which overrode Robin's line.

Migration

To keep AOF on persistent clusters, add appendonly yes (and save ... if needed)
to spec.config, ideally in the same Redkey change that first runs with this Robin
version.

Compatibility

  • No CRD changes. Works with Redkey Operator v0.2.x.

Signed-off-by: Alberto Martínez Pérez <albertompe@ext.inditex.com>
@albertompe
albertompe requested a review from a team as a code owner October 26, 2026 09:23
@albertompe
albertompe merged commit 55d2088 into main Oct 26, 2026
18 checks passed
@albertompe
albertompe deleted the internal/release-0.2.2 branch October 26, 2026 09:46
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.

2 participants