Skip to content

Option to Set Dynamic Minimum Chunk Size#854

Open
ahirreddy wants to merge 2 commits into
percona:3.xfrom
ahirreddy:min-chunk-size
Open

Option to Set Dynamic Minimum Chunk Size#854
ahirreddy wants to merge 2 commits into
percona:3.xfrom
ahirreddy:min-chunk-size

Conversation

@ahirreddy

@ahirreddy ahirreddy commented Aug 22, 2024

Copy link
Copy Markdown
  • This PR introduces a flag that allows one to set the minimum/floor on the dynamic chunk size.

  • This is important for use-cases in which a table has a insert rate that exceeds that which is allowed by the dynamically selected chunk size.

  • The contributed code is licensed under GPL v2.0

  • Contributor Licence Agreement (CLA) is signed

  • util/update-modules has been ran

  • Documentation updated

  • Test suite update

@it-percona-cla

it-percona-cla commented Aug 22, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@svetasmirnova svetasmirnova 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.

Please add a test case. You can find examples in t/pt-online-schema-change

@svetasmirnova

Copy link
Copy Markdown
Collaborator

Don't forget to add a test when the last chunk that copies the last few rows from the original table is smaller than the dynamic minimum chunk size.

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