Use multiple key lookup for secondary row scans

When a secondary index row is scanned and it doesn't cache the main
object data, load all of the matching object rows in one call to
the database.  This permits the implementation to batch the lookups
into a single call, reducing total latency.

Change-Id: I353329e65f0c75dcfe134a506292b999c97e4648
Signed-off-by: Shawn O. Pearce <sop@google.com>
2 files changed