Description
In the ViewFuture, the get() method accepts a timeout but it is not passed down to the mutligetRef call (which would also accept one). In this case, some operations may be stuck in there for longer than needed.
Here is a potential fix that came up:
com.couchbase.client.internal.ViewFuture.java
public ViewResponse get(long duration, TimeUnit unit)
throws InterruptedException, ExecutionException, TimeoutException {
....
Map<String, Object> docMap = multigetRef.get().get(); => Map<String, Object> docMap = multigetRef.get(duration, units);
Final ViewResponseWithDocs view = (ViewResponseWithDocs) objRef.get();
Collection<ViewRow> rows = new LinkedList<ViewRow>();
...