Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detail the issue of redirection occurring within a transaction. #168

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

soloestoy
Copy link
Member

Copy link
Contributor

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

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

Looks good. The English can probably be improved a little.

We should also mention this in the cluster-spec, at least add a link from cluster-spec to here. The cluster spec is what cluster client authors would read and where MOVED is documented.

EXEC can also return -TRYAGAIN and -ASK, right? But that's maybe better to mention in the cluster spec than here.

@soloestoy
Copy link
Member Author

feel free to modify the doc @zuiderkwast , I'm not a native English speaker, haha.

@zuiderkwast
Copy link
Contributor

I'm not a native English speaker, haha.

Me neither. 😜 But I can try.

topics/transactions.md Outdated Show resolved Hide resolved
MULTI ==> +OK
SET x y ==> +QUEUED
slot {x} is migrated to other node
EXEC ==> -MOVED
Copy link
Member

Choose a reason for hiding this comment

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

I didn't see the EXECABORT behavior documented in this file or anywhere in the doc repo. Can we add it here too for completeness?

Copy link
Member Author

Choose a reason for hiding this comment

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

done

topics/transactions.md Outdated Show resolved Hide resolved
@zuiderkwast
Copy link
Contributor

@soloestoy Will you reply to the comments? I want to merge this.

@zuiderkwast
Copy link
Contributor

BUMP

@soloestoy, it is now three months later. Are you going to resolve some comments or just merge it as is?

soloestoy and others added 2 commits December 11, 2024 19:42
Co-authored-by: Madelyn Olson <[email protected]>
Signed-off-by: zhaozhao.zz <[email protected]>
Signed-off-by: zhaozhao.zz <[email protected]>
@soloestoy
Copy link
Member Author

wow, I forgot it... it's ready to merge now

@soloestoy soloestoy merged commit 397bc46 into valkey-io:main Dec 11, 2024
2 checks passed
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.

4 participants