Couchbase client randomly timeouts during document upsert

@daschl

I’ve been able to reproduce this reliably now. This occurs 100% of the time for me if I have a breakpoint (even if it evaluates to false) in a static resource. Obviously, this isn’t a real world scenario, but whatever happens makes for timeouts 100% of the time; it does not recover. We have similar issues with the Java clients when we perform cluster maintenance. I run this in IntelliJ; I don’t know if IDE would make a difference, but I’d hope not. Edit: occurs in NetBeans too.

Attached is my demo project.

ClientTimeoutTroubleshooter.zip (3.4 KB)

Hopefully this helps find some stuff out.