AdminClient fetchKeys is not fetching all keys

60 views
Skip to first unread message

sjain

unread,
Jan 18, 2012, 5:34:49 PM1/18/12
to project-voldemort
Using the following API:


Iterator<ByteArray> keyIterator =
adminClient.fetchKeys(nodeid,

"storename",

partitionIdList,
null,

false);

I expect to get an iterator of all keys in the store across all nodes/
partitions in my cluster. However, it's clear that i'm not actually
getting all the results I expect. Using a StoreClient, i'm able to
fetch the object for a key which does not show up in the above key
iterator.

Am I using the API correctly? If so, any suggestions on how I can
debug this? If not, what's a better way to do this?

sjain

Jeff Clites

unread,
Feb 6, 2012, 2:18:14 PM2/6/12
to project-...@googlegroups.com
The first parameter to fetchKeys() is the nodeId; the returned iterator only fetches from that one node.

JEff
Reply all
Reply to author
Forward
0 new messages