Skip to content

PXB-3643 [8.4] : Improve xbcloud delete to support Hierarchical Namespaces - #1727

Merged
satya-bodapati merged 8 commits into
percona:8.4from
satya-bodapati:8.4
Jan 29, 2026
Merged

PXB-3643 [8.4] : Improve xbcloud delete to support Hierarchical Namespaces#1727
satya-bodapati merged 8 commits into
percona:8.4from
satya-bodapati:8.4

Conversation

@satya-bodapati

Copy link
Copy Markdown
Contributor

No description provided.

PXB-3543 [8.0] : Xtrabackup 8.0 is extremely slow when performing incremenal backup for 1 Million Tables
Merge fix for PXB-3543 from 8.0 to release-8.0.35-35
PKG-1229 Packaging tasks for release - PXB 8.0.35-35
@satya-bodapati

Copy link
Copy Markdown
Contributor Author

trunk: #1728

https://perconadev.atlassian.net/browse/PXB-3643

Problem:
--------
On Azure platform, buckets with HNS (Hierarchical Namespaces) enabled, xbcloud
delete operation failed.

Analysis:
---------
When HNS is enabled on Azure, it is no longer a flatnamespace, meanining just
deleting objects as files is not sufficient. Deleting a dir before deleting all
the files in directory caused delete failure.

Refactor xbcloud delete to work with HNS-style directories by listing files and
directories separately. Introduce a partitioned listing API with a default
implementation and add Azure-specific directory detection using ResourceType.
Refactor Azure listing parsing logic, and introduce a separate listin logic only
for delete.

With this new listing logic, xbcloud will receive information about files
and directories. xbcloud will delete all files first and then delete the directories.
@satya-bodapati
satya-bodapati merged commit 3ab312b into percona:8.4 Jan 29, 2026
3 checks passed
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