Skip to content

Stop persisting run-time settings except the license and AWS settings - #1905

Merged
katarinasupe merged 5 commits into
release/3.15from
docs/runtime-flags
Nov 23, 2026
Merged

katarinasupe merged 5 commits into
release/3.15from
docs/runtime-flags

Conversation

@katarinasupe

@katarinasupe katarinasupe commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

Runtime settings set with SET DATABASE SETTING now last only until restart, except the license and AWS settings. The configuration page explains this, carries a breaking-change callout and the upgrade migration, marks the settings table accordingly (adding the missing debug-query-plans and file.download_conn_timeout_sec rows), and documents the new query.timeout / --query-execution-timeout-sec range and error. The logs, data types (timezone), vector search and best practices pages no longer imply a runtime value survives a restart.

Product PR

memgraph/memgraph#5013

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

Left out of the docs, covered by the release note in the product PR's checklist comment: a stored value that fails validation on the upgrade start is skipped with a warning and the flag applies.

Not confirmed: what a negative --query-execution-timeout-sec did before 3.15 (see below), so the docs don't say.

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

  • Values set with SET DATABASE SETTING no longer survive a restart, except
    the license and AWS settings.
    Change configuration during runtime
    #5013
    • Before: most run-time settings were stored and applied again at every
      start, unless their flag was set.
    • Now: each of these settings takes the value of its flag, or the flag's
      default, at every start, and the first start after upgrading applies a
      stored value only once.
    • What to do: before the second restart after upgrading, set the flag for
      every value to keep; the linked settings table names each flag.

Bug fixes

  • --query-execution-timeout-sec and query.timeout accept only values from
    0 (no limit) to 1000000000, so a larger value no longer makes every slow
    query time out at once. Memgraph refuses to start with an out-of-range flag.
    #5013

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.

  • pages/database-management/configuration.mdx: the storage.snapshot.interval row doesn't say the setting isn't available on HA coordinators.
  • pages/querying/vector-search.mdx: the paragraph before the storage.omit_vector_index_properties_on_return example uses " - " as a dash.

@katarinasupe katarinasupe added this to the 3.15 milestone Nov 9, 2026
@katarinasupe katarinasupe added the feature Documentation related to a new product feature of feature update label Nov 9, 2026
@katarinasupe katarinasupe self-assigned this Nov 9, 2026
@katarinasupe
katarinasupe requested a review from as51340 November 9, 2026 13:52
@vercel

vercel Bot commented Nov 9, 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 23, 2026 11:02am UTC

Request Review

@katarinasupe
katarinasupe merged commit a0b2f76 into release/3.15 Nov 23, 2026
5 checks passed
@katarinasupe
katarinasupe deleted the docs/runtime-flags branch November 23, 2026 11:02

This branch was successfully deployed

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

Labels

feature Documentation related to a new product feature of feature update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants