Colin Patrick McCabe created HTRACE-304:
-------------------------------------------
Summary: htraced: fix bug with GREATER_THAN queries
Key: HTRACE-304
URL: https://issues.apache.org/jira/browse/HTRACE-304
Project: HTrace
Issue Type: Bug
Affects Versions: 4.0
Reporter: Colin Patrick McCabe
Assignee: Colin Patrick McCabe
htraced has a bug with greater_than queries.
Leveldb exposes a sorted map interface. It supports seeking to a specific key,
but not to a position "greater than" a specific key. The code right now for
greater_than assumes that if after the leveldb seek, it sees an equivalent key,
it only needs to do one step forward to get to the keys which it should be able
to return. However, it there are multiple "equal" entries, greater_than may
have to do multiple seeks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)