[ 
https://issues.apache.org/jira/browse/SAMZA-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056647#comment-14056647
 ] 

Jakob Homan commented on SAMZA-326:
-----------------------------------

Yes, this patch is for the fix to 0.7.1 and should go in before SAMZA-256.  
That way we get just the fix in 0.7.1 and not worry about the new feature from 
256.

> LevelDbKeyValueStore range implements 'from' -> 'to' instead of 'from' -> 
> 'until'
> ---------------------------------------------------------------------------------
>
>                 Key: SAMZA-326
>                 URL: https://issues.apache.org/jira/browse/SAMZA-326
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Chinmay Soman
>            Priority: Minor
>
> Most built-in ordered collection data structures in Java (SortedMap, List, 
> ...) define a range (submap / sublist) as follows:
> 'from' (inclusive) -> 'until' (exclusive)
> However, the current LevelDbKeyValueStore implementation defines range as:
> 'from' (inclusive) -> 'to' (inclusive)
> While this is not technically incorrect, I think we should change the 
> semantics to follow the norm. 
> P.S. This can easily be done by changing the '<=' comparison in 
> LevelDbRangeIterator to '<'



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to