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

Fix bug with Redis Set commands returns List instead of Set #3399

Merged
merged 6 commits into from
Oct 2, 2024

Conversation

vladvildanov
Copy link
Collaborator

@vladvildanov vladvildanov commented Oct 2, 2024

Pull Request check-list

Please make sure to review and check all of these items:

  • Do tests and lints pass with this change?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Is there an example added to the examples folder (if applicable)?
  • Was the change added to CHANGES file?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

This PR removes misalignments between Set commands in RESP3 and RESP2, now the return type is Set in both cases

Closes #3390

@vladvildanov vladvildanov added the bug Bug label Oct 2, 2024
@vladvildanov vladvildanov changed the title Fix bug with Redis Set commands returns List instead of Set in RESP2 Fix bug with Redis Set commands returns List instead of Set Oct 2, 2024
@vladvildanov vladvildanov added the breakingchange API or Breaking Change label Oct 2, 2024
@vladvildanov vladvildanov changed the base branch from master to 5.1 October 2, 2024 14:59
Copy link
Contributor

@dmaier-redislabs dmaier-redislabs 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 to me

@vladvildanov vladvildanov merged commit c31849c into 5.1 Oct 2, 2024
55 checks passed
@vladvildanov vladvildanov deleted the vv-5.1-fixes branch October 2, 2024 15:06
vladvildanov added a commit that referenced this pull request Oct 7, 2024
* Updated package version (#3389)

* Fix bug with Redis Set commands returns List instead of Set (#3399)

* Fix bug with Redis Set commands returns List instead of Set in RESP2

* Removed fixture, codestyle fixes

* Fixed tests for async

* Fixed asyncio cluster test cases

* Added Sets alignment for RESP2 and RESP3

* Updated doctests

* Fix bug with partial Hiredis availability (#3400)

* Fix bug with partial Hiredis availability

* Added yes flag

* Codestyl fixes

* Removed redundant check

* Removed redundant checks associated with pack command

* Updated condition to check the actual flag

* Removed unused import

* Fix bug with async pipeline and cluster fails with some commands (#3402)

* Fix bug with async pipeline fails with some commands

* Codestyl changes

* Remove keys option in cluster context

* Updated package version (#3403)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breakingchange API or Breaking Change bug Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List instead of set for SMEMBERS in 5.1
2 participants