-
Notifications
You must be signed in to change notification settings - Fork 615
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
ISPN-14610 ZCOUNT #11067
ISPN-14610 ZCOUNT #11067
Conversation
68e35a5
to
d16818f
Compare
multimap/src/main/java/org/infinispan/multimap/impl/internal/MultimapObjectWrapper.java
Outdated
Show resolved
Hide resolved
mvn build reports several "unchecked conversion" warnings on generics. Most of them can be fixed just adding the proper parameter (i.e. see this PR) |
f8cea41
to
eb076d6
Compare
@rigazilla I fixed those that can be fixed, but we need to bypass the compare and use "Object" to check scores only, so while some warnings can be fixed, others need to be ignored |
9dcf3ae
to
58193dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall lgtm
multimap/src/main/java/org/infinispan/multimap/impl/SortedSetBucket.java
Outdated
Show resolved
Hide resolved
58193dd
to
cbdd787
Compare
multimap/src/main/java/org/infinispan/multimap/impl/SortedSetBucket.java
Outdated
Show resolved
Hide resolved
multimap/src/main/java/org/infinispan/multimap/impl/SortedSetBucket.java
Outdated
Show resolved
Hide resolved
multimap/src/main/java/org/infinispan/multimap/impl/SortedSetBucket.java
Show resolved
Hide resolved
server/resp/src/main/java/org/infinispan/server/resp/commands/sortedset/ZCOUNT.java
Outdated
Show resolved
Hide resolved
@jabolina the scores can be duplicated. This is why we need "higher" and "lower" elements but exclude them from subset to grab all the elements in a range that have the same score. However, when we "exclude" a score, we need floor or ceiling, to find the element that migh be of that score, but the first one (in case duplicated scores) |
aa8d21a
to
706d865
Compare
server/resp/src/main/java/org/infinispan/server/resp/commands/ArgumentUtils.java
Outdated
Show resolved
Hide resolved
706d865
to
7e6ce4a
Compare
21e421e
to
747a57a
Compare
747a57a
to
ccc8919
Compare
The failures in the |
Integrated, thanks @karesti! |
https://issues.redhat.com/browse/ISPN-14610