Skip to content

Commit

Permalink
Blog: Santo Leto (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbazhenov authored Mar 22, 2024
1 parent ea72af5 commit 469e91a
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
Binary file added assets/blog/2024/03/note-pbm-mongodb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/blog/authors/santo_leto.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions content/authors/santo_leto/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: santo_leto
name_pronunciation: santo_leto
fullname: Santo Leto
fullname_pronounciation: Santo Leto
job: Technical Account Manager, Percona
country:
tagline:
social:
website:
facebook:
twitter:
github:
linkedin: https://www.linkedin.com/in/sleto/
images:
- blog/authors/santo_leto.jpeg
---

* Support professional with 11 years of experience in customer support/success in leading global database firms (MySQL at Oracle, Neo4j, OrientDB, ArangoDB, Dgraph Labs, Percona)

* SQL & NoSQL hands-on experience (MySQL, Neo4j, OrientDB, ArangoDB, Dgraph), with focus on HA solutions

* 15 years of overall work experience in engineering, customer-facing and managerial roles
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
title: "Important note for users and customers using the logical backup feature in Percona Backup for MongoDB (PBM)"
date: "2024-03-22T00:00:00+00:00"
tags: ['Percona', 'opensource', 'MongoDB']
description: "Percona Backup for MongoDB is an open-source, distributed and low-impact solution for consistent backups of MongoDB sharded clusters and replica sets."
authors:
- santo_leto
images:
- blog/2024/03/note-pbm-mongodb.jpg
---

## Introduction

[Percona Backup for MongoDB](https://www.percona.com/software/mongodb/percona-backup-for-mongodb) is an open-source, distributed and low-impact solution for consistent backups of MongoDB sharded clusters and replica sets.

A PBM issue has been recently discovered which, under certain and rare conditions, could cause the logical restore to fail ([PBM-1223](https://jira.percona.com/browse/PBM-1223)).

This article includes details about:

- The conditions under which bug [PBM-1223](https://jira.percona.com/browse/PBM-1223) could be triggered.

- How we resolved the issue.

- Our recommendations to affected users and customers.

## Issue description

During the restore process, when using a PBM version minor than v2.4.0 and when some specific and rare conditions are met, PBM could see "commit" without any "writes" (as it would be in an "empty" transaction). As a result, during the restore process, PBM could return an "unknown transaction id" error, causing the restore to fail ([PBM-1223](https://jira.percona.com/browse/PBM-1223)).

This problem does not happen if you are restoring the backup with PBM v2.4.0 or higher.

## Am I affected?

You might be affected by [PBM-1223](https://jira.percona.com/browse/PBM-1223) if all the following conditions apply to you:

- You are taking logical backups with PBM.

- You run distributed transactions where "write" operations involve two or more shards.

- Your PBM version is 2.3 or earlier.

## Issue resolution

The issue described in this article has been fixed in PBM v2.4.0. Starting with this version, if PBM sees an "empty" transaction, it now ignores it and continues (the restore will not abort).

## Recommendations

We recommend all PBM users and customers that might be affected by [PBM-1223](https://jira.percona.com/browse/PBM-1223) to upgrade to PBM v2.4.0 or higher and take a new backup as soon as possible. No other workarounds are currently available on earlier versions. Upgrading and taking a new backup will avoid possible problems related to this issue in the future.

## Additional questions

For any additional questions, Percona customers can open a new support ticket.

Community users can use the usual [community](https://percona.community/contribute/how-to-get-involved/) support channels to request help.

0 comments on commit 469e91a

Please sign in to comment.