Skip to content

Implement #8928 : Add limit for max value of -PARALLEL switch value when restoring a database#8954

Merged
hvlad merged 1 commit intov5.0-releasefrom
work/gh-8928
Mar 25, 2026
Merged

Implement #8928 : Add limit for max value of -PARALLEL switch value when restoring a database#8954
hvlad merged 1 commit intov5.0-releasefrom
work/gh-8928

Conversation

@hvlad
Copy link
Member

@hvlad hvlad commented Mar 25, 2026

No description provided.

@hvlad hvlad self-assigned this Mar 25, 2026
BURP_SW_MODE_NONE, BURP_SW_MODE_RO, BURP_SW_MODE_RW
};

const int BURP_MAX_PARALLEL_WORKERS = 64;
Copy link
Contributor

Choose a reason for hiding this comment

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

constexpr may be?..

Copy link
Member Author

Choose a reason for hiding this comment

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

I see no reason to use 1 constexpr while other 55 are const int.
And - no - I'm not going to replace all other const int in this PR.

@hvlad hvlad merged commit 72f63a4 into v5.0-release Mar 25, 2026
44 checks passed
hvlad added a commit that referenced this pull request Mar 25, 2026
Implement #8928 : Add limit for max value of -PARALLEL switch value when restoring a database
@hvlad hvlad deleted the work/gh-8928 branch March 25, 2026 11:30
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.

Add limit for max value of -PARALLEL switch value when restoring a database

3 participants