PXB-3643 [8.4] : Improve xbcloud delete to support Hierarchical Namespaces - #1727
Merged
Conversation
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
Contributor
Author
|
trunk: #1728 |
jakub-nowakowski-percona
approved these changes
Jan 27, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.