Space Iterator of type CURSOR returns empty results with super type queries

Description

Space iterator initiated with null or super type template returns no entries although relevant data exists:

Workaround

Use PREFETCH_UIDS iterator instead of default CURSOR:

SpaceIterator<Object> iterator = gigaSpace.iterator(null, new SpaceIteratorConfiguation().setIteratorType(SpaceIteratorType.PREFETCH_UIDS);

This can be set globally with system property:

com.gs.iterator.type = "PREFETCH_UIDS"

Acceptance Test

com.gigaspaces.test.iterator.SpaceIteratorTests

Assignee

Alon Shoham

Reporter

Alon Shoham

Labels

None

Priority

Medium

SalesForce Case ID

None

Fix versions

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Open Source

Platform

All
Configure