Skip to content

fix(storage): Keep TTL's run state across restarts and failovers - #1908

Merged
katarinasupe merged 3 commits into
release/3.15from
docs/ttl-intent-across-restart
Nov 20, 2026
Merged

katarinasupe merged 3 commits into
release/3.15from
docs/ttl-intent-across-restart

Conversation

@colinbarry

@colinbarry colinbarry commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Description

The time-to-live page now says that TTL stays running or stopped across restarts and promotion to MAIN, and tells readers upgrading from a version earlier than Memgraph 3.15 to run the ENABLE TTL query where TTL should run.

Product PR

memgraph/memgraph#5073: TTL keeps whether it runs across restarts and failovers.

Checklist

  • For a product change: milestone set to the release and feature or bugfix label added
  • For a product change: this PR is linked from the product PR's documentation checklist

Release note

Copied into the release notes when the release is prepared. Fix an item if it's wrong; keep the heading and the item format.

Breaking changes

  • Promotion to MAIN no longer resumes a stopped TTL, so TTL can stay stopped
    after upgrading until ENABLE TTL runs again.
    Time to live configuration
    #5073
    • Before: every promotion to MAIN, after a failover or a restart, resumed
      TTL.
    • Now: promotion resumes TTL only where it was running, but a snapshot from
      an earlier version can record a running TTL as stopped, so after
      upgrading expired nodes can stop being deleted.
    • What to do: once every instance runs the new version, run ENABLE TTL;
      on MAIN in each database where TTL should run (after USE DATABASE for
      one other than memgraph), which resumes it with its earlier
      configuration.

Bug fixes

  • A running TTL keeps running after a restart.
    #5073

Noticed, not fixed

Read by the release check, which fixes these in one PR per release. Fix an item if it's wrong; keep the heading and one line per item, starting with the page. Delete the section if it's empty.

  • pages/querying/time-to-live.mdx: the frontmatter description starts with "Learn how to".
  • pages/querying/time-to-live.mdx: the H1 "Time to live (Enterprise)" doesn't match the title and uses "(Enterprise)" instead of the badge.
  • pages/querying/time-to-live.mdx: "vertex" and "vertices" instead of "node" throughout, such as the intro and "Tagging objects".
  • pages/querying/time-to-live.mdx: "In order to" in "Usage" and "Tagging objects"; "simply" and "builtin" in "Tagging objects".
  • pages/querying/time-to-live.mdx: "a background job that execute" in "Executed query"; "every dat" in the "Configuration" example comment.
  • pages/querying/time-to-live.mdx: "v3.5.0" instead of "Memgraph 3.5" in the breaking-change callout, the index callout, and the "Replication" callout.
  • pages/querying/time-to-live.mdx: "TTL configuration is now properly replicated" in "Replication".
  • pages/querying/time-to-live.mdx: lowercase "ttl" in prose and **NOTE:** labels in "Configuration".

@colinbarry colinbarry added this to the 3.15 milestone Nov 10, 2026
@colinbarry colinbarry added the bugfix Documentation related to a product bugfix label Nov 10, 2026
@colinbarry colinbarry self-assigned this Nov 10, 2026
@vercel

vercel Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Nov 20, 2026 11:51am UTC

Request Review

@katarinasupe
katarinasupe merged commit 8563376 into release/3.15 Nov 20, 2026
5 checks passed
@katarinasupe
katarinasupe deleted the docs/ttl-intent-across-restart branch November 20, 2026 11:53

This branch was successfully deployed

1 active deployment
Preview — e8c9d533 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Documentation related to a product bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants