Skip to content

Comments

Add remaining_repl_size field in CLUSTER GETSLOTMIGRATIONS output#3135

Merged
enjoy-binbin merged 3 commits intovalkey-io:unstablefrom
enjoy-binbin:migration_field
Feb 10, 2026
Merged

Add remaining_repl_size field in CLUSTER GETSLOTMIGRATIONS output#3135
enjoy-binbin merged 3 commits intovalkey-io:unstablefrom
enjoy-binbin:migration_field

Conversation

@enjoy-binbin
Copy link
Member

@enjoy-binbin enjoy-binbin commented Jan 30, 2026

There should be a way for people to monitor the amount of output buffer
data accumulating at the source node during the migration process.

This PR also do a change in slotExportTryDoPause, previously, we used
getClientOutputBufferMemoryUsage to determine if the offset was sufficient
to trigger the pause, it also adding the listNode overhead. Now we use
client->bytes.

There should be a way for people to monitor the amount of output buffer
data accumulating at the source node during the migration process.

Signed-off-by: Binbin <binloveplay1314@qq.com>
Signed-off-by: Binbin <binloveplay1314@qq.com>
@enjoy-binbin enjoy-binbin added the major-decision-pending Major decision pending by TSC team label Jan 30, 2026
@murphyjacob4
Copy link
Contributor

murphyjacob4 commented Jan 30, 2026

Seems like it will be useful. @enjoy-binbin do you know if this constitutes a major decision? I guess we count info fields as major decisions so this feels similar

Edit: I see you added the tag already 🙂

Signed-off-by: Binbin <binloveplay1314@qq.com>
@enjoy-binbin
Copy link
Member Author

@valkey-io/core-team please take a look and approve this new field.

@madolson madolson moved this to Todo in Valkey 9.1 Feb 2, 2026
@madolson madolson added needs-doc-pr This change needs to update a documentation page. Remove label once doc PR is open. major-decision-approved Major decision approved by TSC team and removed major-decision-pending Major decision pending by TSC team labels Feb 2, 2026
@zuiderkwast zuiderkwast moved this from Todo to In Progress in Valkey 9.1 Feb 3, 2026
@enjoy-binbin enjoy-binbin added the release-notes This issue should get a line item in the release notes label Feb 8, 2026
@enjoy-binbin enjoy-binbin merged commit 751a099 into valkey-io:unstable Feb 10, 2026
120 of 121 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Valkey 9.1 Feb 10, 2026
@enjoy-binbin enjoy-binbin deleted the migration_field branch February 10, 2026 02:26
@enjoy-binbin enjoy-binbin changed the title Add remaining_repl_size field in CLUSTER MIGRATESLOTS output Add remaining_repl_size field in CLUSTER GETSLOTMIGRATIONS output Feb 10, 2026
enjoy-binbin added a commit to enjoy-binbin/valkey that referenced this pull request Feb 10, 2026
In valkey-io#3135, it was incorrectly written as CLUSTER MIGRATESLOTS, it should
be CLUSTE GETSLOTMIGRATIONS.

Signed-off-by: Binbin <binloveplay1314@qq.com>
harrylin98 pushed a commit to harrylin98/valkey_forked that referenced this pull request Feb 19, 2026
…io#3135)

There should be a way for people to monitor the amount of output buffer
data accumulating at the source node during the migration process.

This PR also do a change in slotExportTryDoPause, previously, we used 
`getClientOutputBufferMemoryUsage` to determine if the offset was sufficient
to trigger the pause, it also adding the listNode overhead. Now we use
client->bytes.

Signed-off-by: Binbin <binloveplay1314@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major-decision-approved Major decision approved by TSC team needs-doc-pr This change needs to update a documentation page. Remove label once doc PR is open. release-notes This issue should get a line item in the release notes

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants