Async batch get with zero keys

Hi, I just wanted to confirm the behavior of the Java client when executing an async batch get with zero keys.

As far as I have noticed, when the async get command is passed a zero-size array of keys, it doesn’t call either onSuccess() or onFailure() of the listener. Is this intentional, to give us a choice whether to succeed or fail? So if we create the keys based on another array, we should check the size and choose to call onSuccess() or onFailure() ourselves?

Thank you!

It was an oversight. Async batch get should call onSuccess() with zero-sized keys and records. We will fix in the next release.

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