Info request for non existing set returns empty string

Hi there! I’m using Java client for querying for asinfo the following way:

String infoString = Info.request(node, "sets/" + namespace + "/" + setName);

I’ve found that this request returns an empty string for non existing set and it seems not very obvious for me. Is that an expected behavior?

Hi. A null string is returned for a non-existing set, but we are open to improving the pattern consistently across the API. What would be a better response in this case - an exception?

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.