Skip to content

JedisClusterZSetCommands. reverseRangeByLex parameter order issue #1998

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

Closed
sharp00k opened this issue Mar 15, 2021 · 0 comments
Closed

JedisClusterZSetCommands. reverseRangeByLex parameter order issue #1998

sharp00k opened this issue Mar 15, 2021 · 0 comments
Assignees
Labels
type: bug A general bug

Comments

@sharp00k
Copy link

sharp00k commented Mar 15, 2021

org.springframework.data:spring-data-redis:2.4.5
try {
if (limit.isUnlimited()) {
return connection.getCluster().zrevrangeByLex(key, min, max);
}
return connection.getCluster().zrevrangeByLex(key, min, max, limit.getOffset(), limit.getCount());
} catch (Exception ex) {
throw convertJedisAccessException(ex);
}

.zrevrangeByLex(key, min, max) -> .zrevrangeByLex(key, max,min);

parameter order issue

@sharp00k sharp00k changed the title JedisClusterZSetCommands. reverseRangeByLex parameter issue JedisClusterZSetCommands. reverseRangeByLex parameter order issue Mar 15, 2021
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 15, 2021
@mp911de mp911de added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 15, 2021
@mp911de mp911de self-assigned this Mar 15, 2021
mp911de added a commit that referenced this issue Mar 15, 2021
max/min parameter are now used in the correct order.

Closes #1998
mp911de added a commit that referenced this issue Mar 15, 2021
Add integration tests for Lettuce Cluster zRevRangeByLex. Fix converter usage in tests.

See #1998
@mp911de mp911de added this to the 2.4.6 (2020.0.6) milestone Mar 15, 2021
mp911de added a commit that referenced this issue Mar 15, 2021
Add integration tests for Lettuce Cluster zRevRangeByLex. Fix converter usage in tests.

See #1998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants