Yuwei Chang created GEODE-10574:
-----------------------------------
Summary: Align MapIndexStore descending bounded range iteration
with IndexStore contract
Key: GEODE-10574
URL: https://issues.apache.org/jira/browse/GEODE-10574
Project: Geode
Issue Type: Improvement
Reporter: Yuwei Chang
MapIndexStore does not currently implement descending bounded range iteration
consistently with the IndexStore contract.
In CompactRangeIndex, descending range scans can be requested for queries that
apply ORDER BY DESC at the index level. MemoryIndexStore supports this
behavior correctly, but MapIndexStore does not preserve the same semantics for
bounded descending scans.
This issue affects functionality covered by the MapIndexStore/LDM tests rather
than the default production index store implementation.
Proposed change:
- add descending bounded range iteration support to IndexMap
- implement descending bounded range iteration in IndexMapImpl
- update MapIndexStore to delegate bounded descending scans to the new IndexMap
API
- preserve existing null-bound behavior
Why this change is needed:
- MapIndexStore should satisfy the IndexStore contract
- MapIndexStore should behave consistently with MemoryIndexStore
- descending range queries with index-level ORDER BY DESC and LIMIT should
return the same ordering across index-store implementations
--
This message was sent by Atlassian Jira
(v8.20.10#820010)