Skip to content

Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF. Add DEPRECATED doc flag to SLAVEOF, mark it as deprecated.#10315

Merged
oranagra merged 2 commits intoredis:unstablefrom
enjoy-binbin:fixes_in_slaveof_json
Feb 22, 2022
Merged

Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF. Add DEPRECATED doc flag to SLAVEOF, mark it as deprecated.#10315
oranagra merged 2 commits intoredis:unstablefrom
enjoy-binbin:fixes_in_slaveof_json

Conversation

@enjoy-binbin
Copy link
Contributor

@enjoy-binbin enjoy-binbin commented Feb 20, 2022

In #9963 we added the ALLOW_BUSY flag to REPLICAOF command.
This flag should have been applied to REPLCONF not REPLICAOF.

Add DEPRECATED doc flag to SLAVEOF, mark it as deprecated.
While the s-word isn't going away soon, the actual command has
an alternative (REPLICAOF) and we should direct people to use it.

@enjoy-binbin enjoy-binbin added the state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten label Feb 20, 2022
@enjoy-binbin
Copy link
Contributor Author

it does share the same logic in ths past, we use replicaofCommand as the same proc.
but now with the new command.c, the cmd->flags is not

@enjoy-binbin enjoy-binbin changed the title Add ALLOW_BUSY command flag and DEPRECATED doc flag to SLAVEOF Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF Feb 21, 2022
@enjoy-binbin enjoy-binbin changed the title Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF. Add DEPRECATED doc flag to SLAVEOF, mark it as deprecated. Feb 22, 2022
@enjoy-binbin enjoy-binbin changed the title Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF. Add DEPRECATED doc flag to SLAVEOF, mark it as deprecated. Remove ALLOW_BUSY from REPLICAOF and add it to REPLCONF. Add DEPRECATED doc flag to SLAVEOF, mark it as deprecated. Feb 22, 2022
@oranagra oranagra merged commit c4c68f5 into redis:unstable Feb 22, 2022
@enjoy-binbin enjoy-binbin deleted the fixes_in_slaveof_json branch February 22, 2022 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants