Skip to content

PXB-3928 [DOCS] - Update for PXB compatibility with 9.7.4 - #548

Merged
alina-derkach-oaza merged 5 commits into
9.7from
pxb-3928-9.7
Nov 26, 2026
Merged

alina-derkach-oaza merged 5 commits into
9.7from
pxb-3928-9.7

Conversation

@patrickbirch

Copy link
Copy Markdown
Collaborator

PXB-3928 notes

Pass 1 - 2026-11-09 - Content:

Step detection: base branch origin/9.7 (no local 9.7 branch).
git log origin/9.7..HEAD was empty. The user provided input text
and asked to run the two-pass editor, so the step ran as Pass 1.
Jira ticket could not be read: perconadev.atlassian.net is not
granted to the connector. The user pasted the Jira description.
Target file chosen by the user: docs/server-backup-version-comparison.md.
Open facts: user chose placeholders.

Change Log

  • Diff verified. Only docs/server-backup-version-comparison.md changed.
  • Scope: intro paragraph (one pointer sentence) and a new section at
    the end of the page, "Minimum Percona XtraBackup version for server
    features", with subsection "Vector Search data type".
  • Facts added:
    • Some server features write new redo log record types. Older
      XtraBackup versions that do not know the type cannot back up.
    • Table row: Percona Server for MySQL 9.7.4-4, Vector Search data
      type, minimum XtraBackup 9.7.2-3.
    • XtraBackup 9.7.2-3 handles Vector Search. 9.7.2-3 or later is
      required to back up 9.7.4-4 databases that use Vector Search.
    • Earlier 9.7 versions: backup succeeds if the database does not use
      Vector Search. Backup fails if XtraBackup reads the new redo record
      type.
    • Failure exit code is 1. Source: xtrabackup-exit-codes.md (any
      backup error returns 1). Inferred, confirm with SME.
    • Fix: upgrade to 9.7.2-3 or later and take the backup again.
  • Change type: inferred as behavior change. 9.7.2-3 adds handling for
    a server feature that earlier versions cannot back up.
  • Version phrasing: no "Starting with" pattern in the repository.
    Used "Starting with Percona XtraBackup 9.7.2-3," (product is
    XtraBackup, not Percona Server).

Versions

  • XtraBackup 9.7.2-3 and Percona Server for MySQL 9.7.4-4.
    Source: Jira description text pasted by the user. Jira Fix Version
    not verified (ticket not readable). Branch 9.7 agrees on 9.7.

Placeholders

  • Whether 9.7.2-3 backs up and prepares Vector Search data fully, or
    only fails safely.
  • Exact error message and the redo log record type that triggers it.
  • Whether the backup fails on the first record or at the end.
  • Result when a Vector Search table is created during a backup by an
    earlier version.

Conflicts

  • The intro says XtraBackup 9.7.x can safely back up any 9.7.xx
    server. The Vector Search rule is an exception. A pointer sentence
    was added. The intro sentence itself was not changed.
  • "Vector Search data type" is the ticket term. MySQL 9 names the
    type VECTOR. Confirm the feature name with the SME.

Out of scope (not edited, other pages from the Jira text)

  • New release notes page 9.7.2-3, release notes index, nav.
  • faq.md entry modeled on the [FATAL] optimized DDL entry.
  • xtrabackup-exit-codes.md example.
  • about-xtrabackup.md pointer.
  • "Dependency compatibility and limitations" page does not exist in
    the 9.7 branch.
  • The release notes index lists 9.7.2-2. The Jira claim that the
    index is stale is not true in this branch.

Suggested commit message

Content: PXB-3928 Add minimum XtraBackup version for Vector Search

Versions:

  • XtraBackup 9.7.2-3, Percona Server 9.7.4-4. Source: Jira
    description. Fix Version not verified (ticket not readable).
    Placeholders:
  • 9.7.2-3 backs up Vector Search data fully or only fails safely
  • Exact error message and triggering redo log record type
  • Failure on first record or at end of backup
  • Result when a Vector Search table is created mid-backup
    Conflicts:
  • Intro says 9.7.x backs up any 9.7.xx server. Pointer added.
  • Feature name "Vector Search data type" needs SME confirmation.
    Added context:
  • Exit code 1 inferred from xtrabackup-exit-codes.md.
  • Fix step: upgrade to 9.7.2-3 or later and back up again.

Pass 1 (extended) - 2026-11-09 - Content:

The user asked to add FAQ, exit codes, and About page edits.
Pass 1 was not committed yet. The user chose to fold these edits into
the same Content: commit. This entry replaces the earlier suggested
commit message. The user said: do not create 9.7.2-3 release notes yet.

Change Log

  • Diff verified. Four files changed, no other files:
    docs/server-backup-version-comparison.md (unchanged since Pass 1),
    docs/faq.md, docs/xtrabackup-exit-codes.md, docs/about-xtrabackup.md.
  • faq.md: new last entry "Backup fails on a Percona Server for MySQL
    9.7.4-4 database that uses Vector Search". Modeled on the [FATAL]
    optimized DDL entry. Error text is a placeholder. Fix: upgrade to
    9.7.2-3 or later. Links to the comparison page section.
  • xtrabackup-exit-codes.md: example after the exit-value-1 sentence.
    Links to the FAQ entry.
  • about-xtrabackup.md: one pointer sentence in "Supported storage
    engines". Links to the comparison page section.
  • Anchors use the default MkDocs slug (no custom slugify in
    mkdocs-base.yml). Not checked with a build.
  • Change type: behavior change, same as Pass 1.

Versions

  • Same as Pass 1: 9.7.2-3 and 9.7.4-4 from the Jira description.

Placeholders

  • All four from Pass 1 remain on the comparison page.
  • faq.md: [Insert exact error message].

Suggested commit message

Content: PXB-3928 Document minimum XtraBackup version for Vector Search

Versions:

  • XtraBackup 9.7.2-3, Percona Server 9.7.4-4. Source: Jira
    description. Fix Version not verified (ticket not readable).
    Placeholders:
  • 9.7.2-3 backs up Vector Search data fully or only fails safely
  • Exact error message and triggering redo log record type
    (comparison page and FAQ)
  • Failure on first record or at end of backup
  • Result when a Vector Search table is created mid-backup
    Conflicts:
  • Intro says 9.7.x backs up any 9.7.xx server. Pointer added.
  • Feature name "Vector Search data type" needs SME confirmation.
    Added context:
  • Exit code 1 inferred from xtrabackup-exit-codes.md.
  • Fix step: upgrade to 9.7.2-3 or later and back up again.
  • FAQ entry, exit code example, and About page pointer link to
    the comparison page section.
  • 9.7.2-3 release notes not created, per user request.

Pass 2 - 2026-11-09 - Style:

Content: commit aa88b45 matches git diff origin/9.7...HEAD.
Style check script not run: spaCy not installed for any python3.
Style applied by judgment to Pass 1 lines only.

Change Log

  • Diff verified. Four files, Pass 1 lines only. No fact, command,
    parameter, UI path, or version number changed.
  • "new" removed (banned time marker): comparison page x2, FAQ x1.
  • "or later" changed to "or higher" (banned word "later"): comparison
    page x2, FAQ x1, About x1.
  • 20-word limit: comparison page list item and exit codes example
    split into two sentences.
  • Passive voice: FAQ "the following error is printed" changed to
    "Percona XtraBackup prints the following error message".
  • One term: "error" changed to "error message" in the FAQ intro
    sentence to match the comparison page.

Meaning-Equivalence Table

Pass 1 text Pass 2 text Flag fixed Meaning unchanged
Some server features write new redo log record types. Some server features add redo log record types. Banned word "new" Same claim
...9.7.2-3 or later is required... ...9.7.2-3 or higher is required... Banned word "later" Same version range
...reads the new record type in the redo log, the backup fails with exit code 1 and the following error message: ...reads the Vector Search record type in the redo log, the backup fails with exit code 1. Percona XtraBackup prints the following error message: Banned word "new", 20-word limit Same record, exit code, and message
...upgrade Percona XtraBackup to 9.7.2-3 or later and take... (comparison, FAQ) ...9.7.2-3 or higher and take... Banned word "later" Same version range
...reads the new Vector Search record type... (FAQ) ...reads the Vector Search record type... Banned word "new" Same record type
In this case, the following error is printed: In this case, Percona XtraBackup prints the following error message: Passive voice, one term Same message
...exit with 1 when the backup reads a Vector Search redo log record from Percona Server for MySQL 9.7.4-4. ...exit with 1 on a Vector Search redo log record. Percona Server for MySQL 9.7.4-4 writes this record type. 20-word limit Same versions, record, and exit code
...use Percona XtraBackup 9.7.2-3 or later. (About) ...use Percona XtraBackup 9.7.2-3 or higher. Banned word "later" Same version range

Suggested commit message

Style: PXB-3928 Apply style guide to Vector Search version text

Skipped style fixes:

  • Style check script not run: spaCy not installed
  • "upgrade ... and take the backup again" (comparison page, FAQ):
    two actions, sequential. Split would restructure into steps. Kept.
  • "while an earlier version runs a backup" item: second subordinate
    clause before a placeholder. Kept until the SME fills the result.
  • "A Percona XtraBackup version that does not know the record type":
    negative form. No positive form keeps the meaning. Kept.
  • "back up": product verb for backup, not the phrasal verb. Kept.
  • "fix the failed backup" and "fix the error": different objects.
    Not unified. SME to confirm.
    Placeholders:
  • All five Pass 1 placeholders left untouched

Pass 2 (script rerun) - 2026-11-09 - Style:

Change Log

  • Exit code value 1 put in backticks (N flag): comparison, FAQ,
    exit codes.
  • Comparison list item reworded to "reads a Vector Search redo log
    record" (L flag, 21 words). Matches the exit codes page term.
  • Mid-backup item: "while an earlier version runs a backup" changed
    to "during a backup by an earlier version". L flag remains
    (placeholder counts toward the limit).
  • "back up" replaced per user decision (V flag): "create a backup of"
    in comparison x2, FAQ, About. Comparison L58 restructured to
    "A backup of ... requires Percona XtraBackup 9.7.2-3 or higher"
    to stay at 20 words. "does not know the record type" changed to
    "without support for the record type" to fit the limit.
  • "databases that use Vector Search" changed to "database(s) with
    Vector Search" in comparison L58 and About for the word limit.

Meaning-Equivalence Table (additions)

Pass 1 text Pass 2 text Flag fixed Meaning unchanged
A Percona XtraBackup version that does not know the record type cannot back up a database that uses the feature. A Percona XtraBackup version without support for the record type cannot create a backup of a database with the feature. V back up, word limit Same condition and result
Percona XtraBackup 9.7.2-3 or later is required to back up Percona Server for MySQL 9.7.4-4 databases that use Vector Search. A backup of a Percona Server for MySQL 9.7.4-4 database with Vector Search requires Percona XtraBackup 9.7.2-3 or higher. V back up, banned "later", word limit Same requirement and versions
Earlier Percona XtraBackup 9.7 versions cannot back up Vector Search data: Earlier Percona XtraBackup 9.7 versions cannot create a backup of Vector Search data: V back up Same claim
If Percona XtraBackup reads the new record type in the redo log, the backup fails with exit code 1 and the following error message: If Percona XtraBackup reads a Vector Search redo log record, the backup fails with exit code 1. Percona XtraBackup prints the following error message: Banned "new", L, N Same record, exit code, and message
...while an earlier version runs a backup, [Insert the result]. ...during a backup by an earlier version, [Insert the result]. Two subordinate clauses Same timing and version
...cannot back up Vector Search data. (FAQ) ...cannot create a backup of Vector Search data. V back up Same claim
...fails with exit code 1. (FAQ) / exit with 1 (exit codes) ...exit code 1 / exit with 1 N number Same value
To back up Percona Server for MySQL 9.7.4-4 databases that use Vector Search, use Percona XtraBackup 9.7.2-3 or later. To create a backup of Percona Server for MySQL 9.7.4-4 databases with Vector Search, use Percona XtraBackup 9.7.2-3 or higher. V back up, banned "later" Same requirement and versions

Versions:
- XtraBackup 9.7.2-3, Percona Server 9.7.4-4. Source: Jira
  description. Fix Version not verified (ticket not readable).
Placeholders:
- 9.7.2-3 backs up Vector Search data fully or only fails safely
- Exact error message and triggering redo log record type
  (comparison page and FAQ)
- Failure on first record or at end of backup
- Result when a Vector Search table is created mid-backup
Conflicts:
- Intro says 9.7.x backs up any 9.7.xx server. Pointer added.
- Feature name "Vector Search data type" needs SME confirmation.
Added context:
- Exit code 1 inferred from xtrabackup-exit-codes.md.
- Fix step: upgrade to 9.7.2-3 or later and back up again.
- FAQ entry, exit code example, and About page pointer link to
  the comparison page section.
- 9.7.2-3 release notes not created, per user request.
Style check: style_flagger.py run in ~/style-tools/.venv.
Comparison 10/7/3, FAQ 5/3/2, exit codes 3/3/0, About 2/2/0
(sentences/clean/flagged).
Skipped style fixes:
- L flag, comparison L72 (22 words): sentence ends in placeholder
  [Insert the result]. Fix after the SME fills it.
- I flag, "upgrade ... and take the backup again" (comparison,
  FAQ): sequential actions. Splitting restructures into steps. Kept.
- H flag, "following error message": -ing adjective before a noun
  is allowed. Kept.
Placeholders:
- All five Pass 1 placeholders left untouched
Added context:
- index.md Limitations: one sentence on the Vector Search version
  rule (XtraBackup earlier than 9.7.2-3, Percona Server 9.7.4-4).
- index.md See also: link to server-backup-version-comparison.md.
Versions:
- 9.7.2-3 and 9.7.4-4, same source as the Content: commit.
Style check: index.md 1/1/0 (sentences/clean/flagged).
Files:
- docs/server-backup-version-comparison.md (target)
- docs/faq.md (target)
- docs/xtrabackup-exit-codes.md (target)
Versions:
- None added. 9.7.2-3 fix confirmed by the user (PR pending).
Added context:
- Exact backup error and record type 62 (MLOG_TABLE_DYNAMIC_META).
- Backup fails on the first Vector Search redo record.
- Prepare crash (signal 11) and import ERROR 1808, with two FAQ
  entries.
- Exit code changed from 1 to 2 (SME tests). Exit codes page
  updated to match.
- Mid-backup item: "vector index" replaces "Vector Search column".
Style check: comparison 20/16/4, FAQ 23/14/9, exit codes 4/4/0
(sentences/clean/flagged).
Skipped style fixes:
- G, H, I flags: allowed phrase, allowed adjective, single idea.
- T, N, F flags inside verbatim log output.
- T on "was still open when the backup ended": earlier event.
Conflicts:
- None open. Exit codes page lines 3 and 7 say an error returns 1.
  They are unedited and now have one documented exception.
Placeholders:
- None.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Comment thread docs/xtrabackup-exit-codes.md Resolved
@alina-derkach-oaza
alina-derkach-oaza temporarily deployed to pxb-3928-9.7 - percona-xtrabackup-docs-9.7 PR #548 November 25, 2026 17:25 — with Render Destroyed

@satya-bodapati satya-bodapati left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM! Should we add a link to this document (server-backup-version-comparison.md) from the 9.7 release notes?

@alina-derkach-oaza
alina-derkach-oaza merged commit c85930e into 9.7 Nov 26, 2026
1 check passed
@alina-derkach-oaza
alina-derkach-oaza deleted the pxb-3928-9.7 branch November 26, 2026 13:45

This branch was successfully deployed

No deployments
pxb-3928-9.7 - percona-xtrabackup-docs-9.7 PR #548 — 57261b46 Deployed Nov 25, 2026 by alina-derkach-oaza
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