View query does not working

server: 6.5.1
java-client: 3.0.6

below query does not return result. it just hangs.

        val viewOptions = ViewOptions.viewOptions().namespace(DesignDocumentNamespace.PRODUCTION)
                .scanConsistency(ViewScanConsistency.NOT_BOUNDED)
                .reduce(true)
                .key(123)
                .group(true)
                .limit(1)
                .timeout(Duration.ofHours(3))
        val ret = bucket.viewQuery("myDoc_like_count", "post", viewOptions).rows().first().valueAs(Int::class.java).orElse(0)

@Dong-iL_Kim does it time out after the timeout period? Does it work if you don’t specify any of the properties? If all you do is print the result of this, does it work?

bucket.viewQuery("myDoc_like_count", "post")

@daschl
it does not work whether view option exists or not.
timeout works well.

@Dong-iL_Kim ok we need to check if the SDK actually sends a request and/or receives a response. The easiest is to 1) enable TRACE level logging in your logger and then configure the environment to dump the view traffic:

ClusterEnvironment env = ClusterEnvironment.builder().ioConfig(IoConfig.captureTraffic(ServiceType.VIEWS)).build();

@daschl I’ve attached my log below.

2020-07-30 19:10:48.112 DEBUG 545 --- [           main] org.springframework.test.context.cache   : Spring test ApplicationContext cache statistics: [DefaultContextCache@64eb14da size = 1, maxSize = 32, parentContextCount = 0, hitCount = 37, missCount = 1]
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from IDLE to DISCONNECTED {"coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from CONNECTED to DEGRADED {"coreId":"0x8fd765d000000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTED to CONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from DISCONNECTED to CONNECTING {"coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][1000us] Request ViewRequest retry scheduled per RetryStrategy (Reason: ENDPOINT_TEMPORARILY_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fd765d000000001","idempotent":true,"requestId":11,"requestType":"ViewRequest","retried":3,"retryReasons":["ENDPOINT_TEMPORARILY_NOT_AVAILABLE"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":15000}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTED to CONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][10ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: ENDPOINT_TEMPORARILY_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fd765d000000001","idempotent":true,"requestId":11,"requestType":"ViewRequest","retried":3,"retryReasons":["ENDPOINT_TEMPORARILY_NOT_AVAILABLE"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":15000}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTED to CONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][50ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: ENDPOINT_TEMPORARILY_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fd765d000000001","idempotent":true,"requestId":11,"requestType":"ViewRequest","retried":3,"retryReasons":["ENDPOINT_TEMPORARILY_NOT_AVAILABLE"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":15000}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointConnectedEvent][23ms] Endpoint connected successfully (no timings) {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60136","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointConnectedEvent][5009us] Endpoint connected successfully (no timings) {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60137","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointConnectedEvent][32ms] Endpoint connected successfully (no timings) {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60138","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTING to CONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60136","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTING to CONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60137","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTING to DEGRADED {"coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTING to DEGRADED {"coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTING to CONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60138","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTING to CONNECTED {"coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from DEGRADED to CONNECTED {"coreId":"0x8fd765d000000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from CONNECTED to DEGRADED {"coreId":"0x8fd765d000000001","managerPort":"8091","remote":"127.0.0.1"}
[TRACE] (cb-events) [com.couchbase.io][WriteTrafficCapturedEvent] 
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 47 45 54 20 2f 6d 79 2f 5f 64 65 73 69 67 6e 2f |GET /my/_design/|
|00000010| 6d 79 44 6f 63 5f 6c 69 6b 65 5f 63 6f 75 6e 74 |myDoc_like_count|
|00000020| 2f 5f 76 69 65 77 2f 70 6f 73 74 3f 20 48 54 54 |/_view/post? HTT|
|00000030| 50 2f 31 2e 31 0d 0a 63 6f 6e 74 65 6e 74 2d 74 |P/1.1..content-t|
|00000040| 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e |ype: application|
|00000050| 2f 6a 73 6f 6e 0d 0a 63 6f 6e 74 65 6e 74 2d 6c |/json..content-l|
|00000060| 65 6e 67 74 68 3a 20 30 0d 0a 61 75 74 68 6f 72 |ength: 0..author|
|00000070| 69 7a 61 74 69 6f 6e 3a 20 42 61 73 69 63 20 51 |ization: Basic Q|
|00000080| 57 52 74 61 57 35 70 63 33 52 79 59 58 52 76 63 |WRtaW5pc3RyYXRvc|
|00000090| 6a 6f 78 4d 44 49 77 4d 7a 41 3d 0d 0a 68 6f 73 |joxMDIwMzA=..hos|
|000000a0| 74 3a 20 31 32 37 2e 30 2e 30 2e 31 3a 38 30 39 |t: 127.0.0.1:809|
|000000b0| 32 0d 0a 75 73 65 72 2d 61 67 65 6e 74 3a 20 63 |2..user-agent: c|
|000000c0| 6f 75 63 68 62 61 73 65 2d 6a 61 76 61 2f 33 2e |ouchbase-java/3.|
|000000d0| 30 2e 36 20 28 4d 61 63 20 4f 53 20 58 20 31 30 |0.6 (Mac OS X 10|
|000000e0| 2e 31 35 2e 36 20 78 38 36 5f 36 34 3b 20 4f 70 |.15.6 x86_64; Op|
|000000f0| 65 6e 4a 44 4b 20 36 34 2d 42 69 74 20 53 65 72 |enJDK 64-Bit Ser|
|00000100| 76 65 72 20 56 4d 20 31 34 2e 30 2e 31 2b 31 34 |ver VM 14.0.1+14|
|00000110| 29 0d 0a 0d 0a                                  |)....           |
+--------+-------------------------------------------------+----------------+
 {"coreId":"0x8fd765d000000001","local":"/127.0.0.1:60136","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent] 
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d |HTTP/1.1 200 OK.|
|00000010| 0a 58 2d 58 53 53 2d 50 72 6f 74 65 63 74 69 6f |.X-XSS-Protectio|
|00000020| 6e 3a 20 31 3b 20 6d 6f 64 65 3d 62 6c 6f 63 6b |n: 1; mode=block|
|00000030| 0d 0a 58 2d 50 65 72 6d 69 74 74 65 64 2d 43 72 |..X-Permitted-Cr|
|00000040| 6f 73 73 2d 44 6f 6d 61 69 6e 2d 50 6f 6c 69 63 |oss-Domain-Polic|
|00000050| 69 65 73 3a 20 6e 6f 6e 65 0d 0a 58 2d 46 72 61 |ies: none..X-Fra|
|00000060| 6d 65 2d 4f 70 74 69 6f 6e 73 3a 20 44 45 4e 59 |me-Options: DENY|
|00000070| 0d 0a 58 2d 43 6f 6e 74 65 6e 74 2d 54 79 70 65 |..X-Content-Type|
|00000080| 2d 4f 70 74 69 6f 6e 73 3a 20 6e 6f 73 6e 69 66 |-Options: nosnif|
|00000090| 66 0d 0a 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f |f..Transfer-Enco|
|000000a0| 64 69 6e 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 53 |ding: chunked..S|
|000000b0| 65 72 76 65 72 3a 20 4d 6f 63 68 69 57 65 62 2f |erver: MochiWeb/|
|000000c0| 31 2e 30 20 28 41 6e 79 20 6f 66 20 79 6f 75 20 |1.0 (Any of you |
|000000d0| 71 75 61 69 64 73 20 67 6f 74 20 61 20 73 6d 69 |quaids got a smi|
|000000e0| 6e 74 3f 29 0d 0a 44 61 74 65 3a 20 54 68 75 2c |nt?)..Date: Thu,|
|000000f0| 20 33 30 20 4a 75 6c 20 32 30 32 30 20 31 30 3a | 30 Jul 2020 10:|
|00000100| 31 30 3a 34 38 20 47 4d 54 0d 0a 43 6f 6e 74 65 |10:48 GMT..Conte|
|00000110| 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 6c |nt-Type: text/pl|
|00000120| 61 69 6e 3b 63 68 61 72 73 65 74 3d 75 74 66 2d |ain;charset=utf-|
|00000130| 38 0d 0a 43 61 63 68 65 2d 43 6f 6e 74 72 6f 6c |8..Cache-Control|
|00000140| 3a 20 6d 75 73 74 2d 72 65 76 61 6c 69 64 61 74 |: must-revalidat|
|00000150| 65 0d 0a 0d 0a                                  |e....           |
+--------+-------------------------------------------------+----------------+
 {"coreId":"0x8fd765d000000001","local":"/127.0.0.1:60136","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent] 
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 37 0d 0a 7b 22 72 6f 77 73 22 3a 5b 0d 0a 7b |27..{"rows":[..{|
|00000010| 22 6b 65 79 22 3a 6e 75 6c 6c 2c 22 76 61 6c 75 |"key":null,"valu|
|00000020| 65 22 3a 31 7d 0d 0a 5d 0d 0a 7d 0d 0a          |e":1}..]..}..   |
+--------+-------------------------------------------------+----------------+
 {"coreId":"0x8fd765d000000001","local":"/127.0.0.1:60136","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent] 
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 31 0d 0a 0a 0d 0a                               |1.....          |
+--------+-------------------------------------------------+----------------+
 {"coreId":"0x8fd765d000000001","local":"/127.0.0.1:60136","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent] 
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 30 0d 0a 0d 0a                                  |0....           |
+--------+-------------------------------------------------+----------------+
 {"coreId":"0x8fd765d000000001","local":"/127.0.0.1:60136","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from DEGRADED to CONNECTED {"coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from DEGRADED to CONNECTED {"coreId":"0x8fd765d000000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTED to DISCONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60137","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTING to DISCONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60137","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointDisconnectedEvent][1940us] Endpoint disconnected successfully {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60137","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][IdleEndpointRemovedEvent] Endpoint removed from pool because it reached the idle http connection timeout. {"actualIdleTimeMillis":6635,"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60137","remote":"127.0.0.1:8092","service":{"remainingEndpoints":0,"state":"IDLE"},"type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTED to DISCONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60138","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][IdleEndpointRemovedEvent] Endpoint removed from pool because it reached the idle http connection timeout. {"actualIdleTimeMillis":6638,"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60138","remote":"127.0.0.1:8092","service":{"remainingEndpoints":0,"state":"IDLE"},"type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTED to IDLE {"coreId":"0x8fd765d000000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTED to DISCONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60136","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][IdleEndpointRemovedEvent] Endpoint removed from pool because it reached the idle http connection timeout. {"actualIdleTimeMillis":6522,"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60136","remote":"127.0.0.1:8092","service":{"remainingEndpoints":0,"state":"IDLE"},"type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTING to DISCONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60138","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointDisconnectedEvent][252us] Endpoint disconnected successfully {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60138","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTING to DISCONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60136","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointDisconnectedEvent][264us] Endpoint disconnected successfully {"circuitBreaker":"DISABLED","coreId":"0x8fd765d000000001","local":"127.0.0.1:60136","remote":"127.0.0.1:8092","type":"VIEWS"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"}


com.couchbase.client.core.error.UnambiguousTimeoutException: ViewRequest, Reason: TIMEOUT
 {"cancelled":true,"completed":true,"coreId":"0x8fd765d000000001","idempotent":true,"lastDispatchedFrom":"127.0.0.1:60136","lastDispatchedTo":"127.0.0.1:8092","reason":"TIMEOUT","requestId":11,"requestType":"ViewRequest","retried":3,"retryReasons":["ENDPOINT_TEMPORARILY_NOT_AVAILABLE"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":15000,"timings":{"dispatchMicros":32943,"totalMicros":15011289}}
	at com.couchbase.client.java.AsyncUtils.block(AsyncUtils.java:51)
	at com.couchbase.client.java.Bucket.viewQuery(Bucket.java:193)
	at com.couchbase.client.java.Bucket.viewQuery(Bucket.java:178)
	at co.benx.weverse.my.MyDocTest.03 pbost like count(MyDocTest.kt:84)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:686)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:212)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:208)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:137)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:71)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1510)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1510)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:248)
	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$5(DefaultLauncher.java:211)
	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:226)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:199)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:132)
	at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71)
	at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
	at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:220)
	at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:53)
	Suppressed: java.lang.Exception: The above exception was originally thrown by another thread at the following location.
		at com.couchbase.client.core.msg.BaseRequest.cancel(BaseRequest.java:163)
		at com.couchbase.client.core.Timer.lambda$register$2(Timer.java:157)
		at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
		at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
		at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
		at com.couchbase.client.core.deps.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
		at java.base/java.lang.Thread.run(Thread.java:832)

@daschl I’ve test again simply.

public static void main(String[] args) {
    ClusterOptions options = ClusterOptions.clusterOptions(PasswordAuthenticator.create("Administrator", "123456"))
            .environment(ClusterEnvironment.builder().ioConfig(IoConfig.builder().captureTraffic(ServiceType.VIEWS)).build());
    ViewResult viewResult = Cluster.connect("127.0.0.1", options)
            .bucket("my")
            .viewQuery("myDoc_like_count", "post");

    List<ViewRow> rows = viewResult.rows();
    System.out.println("########################## >>> " + rows.size());
}

log below

{"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":2,"requestType":"CarrierBucketConfigRequest","retried":8,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"bucket":"my","collection":"_default","opaque":"0x1","scope":"_default","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][32ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: BUCKET_OPEN_IN_PROGRESS) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":8,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.io][SaslMechanismsSelectedEvent] SASL Mechanism SCRAM_SHA512 selected. Allowed: [SCRAM_SHA1, SCRAM_SHA256, SCRAM_SHA512] {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SaslMechanismsSelectedEvent] SASL Mechanism SCRAM_SHA512 selected. Allowed: [SCRAM_SHA1, SCRAM_SHA256, SCRAM_SHA512] {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][FeaturesNegotiatedEvent][115ms] Negotiated [MUTATION_SEQNO, XATTR, XERROR, SELECT_BUCKET, SNAPPY, UNORDERED_EXECUTION, ALT_REQUEST, SYNC_REPLICATION, VATTR] {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][FeaturesNegotiatedEvent][126ms] Negotiated [MUTATION_SEQNO, XATTR, XERROR, SELECT_BUCKET, SNAPPY, UNORDERED_EXECUTION, ALT_REQUEST, SYNC_REPLICATION, VATTR] {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][64ms] Request CarrierBucketConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":2,"requestType":"CarrierBucketConfigRequest","retried":9,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"bucket":"my","collection":"_default","opaque":"0x1","scope":"_default","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][64ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: BUCKET_OPEN_IN_PROGRESS) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":8,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][128ms] Request CarrierGlobalConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":1,"requestType":"CarrierGlobalConfigRequest","retried":9,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"opaque":"0x0","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][128ms] Request CarrierBucketConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":2,"requestType":"CarrierBucketConfigRequest","retried":9,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"bucket":"my","collection":"_default","opaque":"0x1","scope":"_default","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][128ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: BUCKET_OPEN_IN_PROGRESS) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":9,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][256ms] Request CarrierGlobalConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":1,"requestType":"CarrierGlobalConfigRequest","retried":10,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"opaque":"0x0","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.io][ErrorMapLoadedEvent][37ms] KV Error Map successfully loaded. Map Version: 1, Revision: 2 {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][ErrorMapLoadedEvent][37ms] KV Error Map successfully loaded. Map Version: 1, Revision: 2 {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SaslMechanismsListedEvent][198ms] Listed SASL mechanisms: [SCRAM_SHA256, PLAIN, SCRAM_SHA1, SCRAM_SHA512] {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SaslMechanismsListedEvent][198ms] Listed SASL mechanisms: [SCRAM_SHA256, PLAIN, SCRAM_SHA1, SCRAM_SHA512] {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][256ms] Request CarrierBucketConfigRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":2,"requestType":"CarrierBucketConfigRequest","retried":10,"retryReasons":["NODE_NOT_AVAILABLE"],"service":{"bucket":"my","collection":"_default","opaque":"0x1","scope":"_default","target":"127.0.0.1","type":"kv"},"timeoutMs":10000}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][256ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: BUCKET_OPEN_IN_PROGRESS) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":10,"retryReasons":["BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.io][SaslAuthenticationCompletedEvent][383ms] SASL Authentication completed {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SelectBucketCompletedEvent][19ms] Bucket "my" selected {"bucket":"my","coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60579","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.io][SaslAuthenticationCompletedEvent][389ms] SASL Authentication completed {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60578","remote":"127.0.0.1/127.0.0.1:11210"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointConnectedEvent][620ms] Endpoint connected successfully (Timings: {ErrorMapLoadingHandler=PT0.037553942S, FeatureNegotiatingHandler=PT0.126882587S, SaslAuthenticationHandler=PT0.389469287S, SaslListMechanismsHandler=PT0.198628083S}) {"channelId":"8FC1EC9400000001/00000000BEF882CF","circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60578","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointConnectedEvent][480ms] Endpoint connected successfully (Timings: {ErrorMapLoadingHandler=PT0.037569172S, FeatureNegotiatingHandler=PT0.115542205S, SaslAuthenticationHandler=PT0.383989649S, SaslListMechanismsHandler=PT0.198625785S, SelectBucketHandler=PT0.01943519S}) {"bucket":"my","channelId":"8FC1EC9400000001/00000000D0194A9B","circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60579","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTING to CONNECTED {"channelId":"8FC1EC9400000001/00000000BEF882CF","circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60578","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTING to CONNECTED {"bucket":"my","channelId":"8FC1EC9400000001/00000000D0194A9B","circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60579","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTING to CONNECTED {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTING to CONNECTED {"bucket":"my","coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:11210","type":"KV"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from CONNECTING to CONNECTED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from CONNECTING to CONNECTED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.config][GlobalConfigUpdatedEvent] Global configuration updated: GlobalConfig{rev=23, portInfos=[PortInfo{ports={SEARCH=8094, KV=11210, QUERY=8093, MANAGER=8091, VIEWS=8092}, sslPorts={}, hostname='127.0.0.1, alternateAddresses={}'}], clusterCapabilities={SEARCH=[], ANALYTICS=[], QUERY=[ENHANCED_PREPARED_STATEMENTS], KV=[], MANAGER=[], VIEWS=[]}} {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.config][SeedNodesUpdatedEvent] Seed nodes updated from [SeedNode{address='127.0.0.1', kvPort=Optional.empty, mgmtPort=Optional.empty}] to [SeedNode{address='127.0.0.1', kvPort=Optional[11210], mgmtPort=Optional[8091]}] {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceAddedEvent][1588us] Service added to Node {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8094","type":"SEARCH"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceAddedEvent][724us] Service added to Node {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8093","type":"QUERY"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceAddedEvent][520us] Service added to Node {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8091","type":"MANAGER"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceAddedEvent][727us] Service added to Node {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.core][ReconfigurationCompletedEvent][13ms] Reconfiguration attempt completed. {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][512ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: NODE_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":11,"retryReasons":["NODE_NOT_AVAILABLE","BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.config][BucketConfigUpdatedEvent] Bucket configuration updated: CouchbaseBucketConfig{name='my', locator=VBUCKET, uri='/pools/default/buckets/my?bucket_uuid=575b0433fc5fccb01578a57132e40b69', streamingUri='/pools/default/bucketsStreaming/my?bucket_uuid=575b0433fc5fccb01578a57132e40b69', nodes=[NodeInfo{host=127.0.0.1, ports={SEARCH=8094, KV=11210, QUERY=8093, MANAGER=8091, VIEWS=8092}, securePorts={}, aa={}, configPort=0}], partitionInfo=PartitionInfo{numberOfReplicas=1, partitionHosts=[127.0.0.1:11210], partitions=[[0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], 
...
 [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1], [0,-1]], tainted=false}, tainted=false, rev=28} {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.config][SeedNodesUpdatedEvent] Seed nodes updated from [SeedNode{address='127.0.0.1', kvPort=Optional[11210], mgmtPort=Optional[8091]}] to [SeedNode{address='127.0.0.1', kvPort=Optional[11210], mgmtPort=Optional[8091]}] {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
...
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[TRACE] (cb-events) [com.couchbase.service][ServiceAddIgnoredEvent] Service not added to Node. Reason: ALREADY_ADDED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.core][ReconfigurationCompletedEvent][10ms] Reconfiguration attempt completed. {"coreId":"0x8fc1ec9400000001"}
[ INFO] (cb-events) [com.couchbase.core][BucketOpenedEvent][652ms] Opened bucket "my" {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from IDLE to DISCONNECTED {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from CONNECTED to DEGRADED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTED to CONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from DISCONNECTED to CONNECTING {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.request][RequestRetryScheduledEvent][1000ms] Request ViewRequest retry scheduled per RetryStrategy (Reason: ENDPOINT_TEMPORARILY_NOT_AVAILABLE) {"completed":false,"coreId":"0x8fc1ec9400000001","idempotent":true,"requestId":3,"requestType":"ViewRequest","retried":12,"retryReasons":["ENDPOINT_TEMPORARILY_NOT_AVAILABLE","NODE_NOT_AVAILABLE","BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointConnectedEvent][20ms] Endpoint connected successfully (no timings) {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTING to CONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTING to CONNECTED {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.node][NodeStateChangedEvent] Node changed state from DEGRADED to CONNECTED {"coreId":"0x8fc1ec9400000001","managerPort":"8091","remote":"127.0.0.1"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.io][WriteTrafficCapturedEvent] 
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 47 45 54 20 2f 6d 79 2f 5f 64 65 73 69 67 6e 2f |GET /my/_design/|
|00000010| 6d 79 44 6f 63 5f 6c 69 6b 65 5f 63 6f 75 6e 74 |myDoc_like_count|
|00000020| 2f 5f 76 69 65 77 2f 70 6f 73 74 3f 20 48 54 54 |/_view/post? HTT|
|00000030| 50 2f 31 2e 31 0d 0a 63 6f 6e 74 65 6e 74 2d 74 |P/1.1..content-t|
|00000040| 79 70 65 3a 20 61 70 70 6c 69 63 61 74 69 6f 6e |ype: application|
|00000050| 2f 6a 73 6f 6e 0d 0a 63 6f 6e 74 65 6e 74 2d 6c |/json..content-l|
|00000060| 65 6e 67 74 68 3a 20 30 0d 0a 61 75 74 68 6f 72 |ength: 0..author|
|00000070| 69 7a 61 74 69 6f 6e 3a 20 42 61 73 69 63 20 51 |ization: Basic Q|
|00000080| 57 52 74 61 57 35 70 63 33 52 79 59 58 52 76 63 |WRtaW5pc3RyYXRvc|
|00000090| 6a 6f 78 4d 44 49 77 4d 7a 41 3d 0d 0a 68 6f 73 |joxMDIwMzA=..hos|
|000000a0| 74 3a 20 31 32 37 2e 30 2e 30 2e 31 3a 38 30 39 |t: 127.0.0.1:809|
|000000b0| 32 0d 0a 75 73 65 72 2d 61 67 65 6e 74 3a 20 63 |2..user-agent: c|
|000000c0| 6f 75 63 68 62 61 73 65 2d 6a 61 76 61 2f 33 2e |ouchbase-java/3.|
|000000d0| 30 2e 36 20 28 4d 61 63 20 4f 53 20 58 20 31 30 |0.6 (Mac OS X 10|
|000000e0| 2e 31 35 2e 36 20 78 38 36 5f 36 34 3b 20 4f 70 |.15.6 x86_64; Op|
|000000f0| 65 6e 4a 44 4b 20 36 34 2d 42 69 74 20 53 65 72 |enJDK 64-Bit Ser|
|00000100| 76 65 72 20 56 4d 20 31 34 2e 30 2e 31 2b 31 34 |ver VM 14.0.1+14|
|00000110| 29 0d 0a 0d 0a                                  |)....           |
+--------+-------------------------------------------------+----------------+
 {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60581","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent] 
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d |HTTP/1.1 200 OK.|
|00000010| 0a 58 2d 58 53 53 2d 50 72 6f 74 65 63 74 69 6f |.X-XSS-Protectio|
|00000020| 6e 3a 20 31 3b 20 6d 6f 64 65 3d 62 6c 6f 63 6b |n: 1; mode=block|
|00000030| 0d 0a 58 2d 50 65 72 6d 69 74 74 65 64 2d 43 72 |..X-Permitted-Cr|
|00000040| 6f 73 73 2d 44 6f 6d 61 69 6e 2d 50 6f 6c 69 63 |oss-Domain-Polic|
|00000050| 69 65 73 3a 20 6e 6f 6e 65 0d 0a 58 2d 46 72 61 |ies: none..X-Fra|
|00000060| 6d 65 2d 4f 70 74 69 6f 6e 73 3a 20 44 45 4e 59 |me-Options: DENY|
|00000070| 0d 0a 58 2d 43 6f 6e 74 65 6e 74 2d 54 79 70 65 |..X-Content-Type|
|00000080| 2d 4f 70 74 69 6f 6e 73 3a 20 6e 6f 73 6e 69 66 |-Options: nosnif|
|00000090| 66 0d 0a 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f |f..Transfer-Enco|
|000000a0| 64 69 6e 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 53 |ding: chunked..S|
|000000b0| 65 72 76 65 72 3a 20 4d 6f 63 68 69 57 65 62 2f |erver: MochiWeb/|
|000000c0| 31 2e 30 20 28 41 6e 79 20 6f 66 20 79 6f 75 20 |1.0 (Any of you |
|000000d0| 71 75 61 69 64 73 20 67 6f 74 20 61 20 73 6d 69 |quaids got a smi|
|000000e0| 6e 74 3f 29 0d 0a 44 61 74 65 3a 20 54 68 75 2c |nt?)..Date: Thu,|
|000000f0| 20 33 30 20 4a 75 6c 20 32 30 32 30 20 31 30 3a | 30 Jul 2020 10:|
|00000100| 33 33 3a 33 35 20 47 4d 54 0d 0a 43 6f 6e 74 65 |33:35 GMT..Conte|
|00000110| 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 6c |nt-Type: text/pl|
|00000120| 61 69 6e 3b 63 68 61 72 73 65 74 3d 75 74 66 2d |ain;charset=utf-|
|00000130| 38 0d 0a 43 61 63 68 65 2d 43 6f 6e 74 72 6f 6c |8..Cache-Control|
|00000140| 3a 20 6d 75 73 74 2d 72 65 76 61 6c 69 64 61 74 |: must-revalidat|
|00000150| 65 0d 0a 0d 0a                                  |e....           |
+--------+-------------------------------------------------+----------------+
 {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60581","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent] 
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 32 37 0d 0a 7b 22 72 6f 77 73 22 3a 5b 0d 0a 7b |27..{"rows":[..{|
|00000010| 22 6b 65 79 22 3a 6e 75 6c 6c 2c 22 76 61 6c 75 |"key":null,"valu|
|00000020| 65 22 3a 31 7d 0d 0a 5d 0d 0a 7d 0d 0a          |e":1}..]..}..   |
+--------+-------------------------------------------------+----------------+
 {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60581","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.io][ReadTrafficCapturedEvent] 
         +-------------------------------------------------+
         |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |
+--------+-------------------------------------------------+----------------+
|00000000| 31 0d 0a 0a 0d 0a 30 0d 0a 0d 0a                |1.....0....     |
+--------+-------------------------------------------------+----------------+
 {"coreId":"0x8fc1ec9400000001","local":"/127.0.0.1:60581","remote":"127.0.0.1/127.0.0.1:8092"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
...
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[DEBUG] (cb-events) [com.couchbase.service][ServiceStateChangedEvent] Service changed state from CONNECTED to IDLE {"coreId":"0x8fc1ec9400000001","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from CONNECTED to DISCONNECTING {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointStateChangedEvent] Endpoint changed state from DISCONNECTING to DISCONNECTED {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.endpoint][EndpointDisconnectedEvent][1014us] Endpoint disconnected successfully {"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","type":"VIEWS"}
[DEBUG] (cb-events) [com.couchbase.service][IdleEndpointRemovedEvent] Endpoint removed from pool because it reached the idle http connection timeout. {"actualIdleTimeMillis":8420,"circuitBreaker":"DISABLED","coreId":"0x8fc1ec9400000001","local":"127.0.0.1:60581","remote":"127.0.0.1:8092","service":{"remainingEndpoints":0,"state":"IDLE"},"type":"VIEWS"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
...
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
[TRACE] (cb-events) [com.couchbase.config][ConfigIgnoredEvent] The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fc1ec9400000001"}
Exception in thread "main" com.couchbase.client.core.error.UnambiguousTimeoutException: ViewRequest, Reason: TIMEOUT {"cancelled":true,"completed":true,"coreId":"0x8fc1ec9400000001","idempotent":true,"lastDispatchedFrom":"127.0.0.1:60581","lastDispatchedTo":"127.0.0.1:8092","reason":"TIMEOUT","requestId":3,"requestType":"ViewRequest","retried":12,"retryReasons":["ENDPOINT_TEMPORARILY_NOT_AVAILABLE","NODE_NOT_AVAILABLE","BUCKET_OPEN_IN_PROGRESS"],"service":{"bucket":"my","designDoc":"myDoc_like_count","development":false,"type":"views","viewName":"post"},"timeoutMs":75000,"timings":{"dispatchMicros":22346,"totalMicros":75009575}}
	at com.couchbase.client.java.AsyncUtils.block(AsyncUtils.java:51)
	at com.couchbase.client.java.Bucket.viewQuery(Bucket.java:193)
	at com.couchbase.client.java.Bucket.viewQuery(Bucket.java:178)
	at TestCouchbase.main(TestCouchbase.java:21)
	Suppressed: java.lang.Exception: The above exception was originally thrown by another thread at the following location.
		at com.couchbase.client.core.msg.BaseRequest.cancel(BaseRequest.java:163)
		at com.couchbase.client.core.Timer.lambda$register$2(Timer.java:157)
		at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
		at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
		at com.couchbase.client.core.deps.io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
		at com.couchbase.client.core.deps.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
		at java.base/java.lang.Thread.run(Thread.java:832)

Process finished with exit code 1

@Dong-iL_Kim ok thanks this is really helpful. we can see the server sent a response but for some reason the client didn’t take it and respond. I’ll investigate and report back.

@Dong-iL_Kim ok I am not able to reproduce locally. To expedite figuring out what’s going on I have a couple follow up asks if you don’t mind:

  • would it be possible to provide a tcpdump / net capture so we can see if this is actually coming from the server or if it is an artifact from the client side
  • also, do you by chance have a standalone code to reproduce? (maybe with the design doc/view definition and some sample docs)? also on which OS is your server running?

@daschl so weird. it works well in browser
http://127.0.0.1:8092/my/_design/myDoc_like_count/_view/post?limit=6&stale=false&connection_timeout=60000&inclusive_end=true&reduce=true&skip=0&full_set=&group=true

  • my simple code below.
 public static void main(String[] args) {
        ClusterOptions options = ClusterOptions.clusterOptions(PasswordAuthenticator.create("Administrator", "123456"))
                .environment(ClusterEnvironment.builder().ioConfig(IoConfig.builder().captureTraffic(ServiceType.VIEWS))
                        .loggerConfig(LoggerConfig.builder().fallbackToConsole(true).disableSlf4J(true))
                        .build());
        ViewResult viewResult = Cluster.connect("127.0.0.1", options)
                .bucket("my")
                .viewQuery("myDoc_like_count", "post");

        List<ViewRow> rows = viewResult.rows();
        System.out.println("########################## >>> " + rows.size());
    }
  • view definition
function (doc, meta) {
  if(doc._class == "co.benx.weverse.my.documents.MyDoc" && doc.likePost && doc.likePost.length > 0) {
    doc.likePost.forEach(function(like) {
      if(like.postId) {
        emit(like.postId, null);
      }
    });
  }
}

reduce : _count

  • sample doc
{
  "_class": "co.benx.weverse.my.documents.MyDoc",
  "prefix": "MY",
  "userId": 3,
  "type": "MY",
  "communities": [],
  "postBookmark": [{
    "post": {
      "postId": 123,
      "communityId": 1,
      "artistId": 2,
      "type": "NORMAL",
      "timestamp": 1596103847901
    },
    "bookmarkAt": 1596103847902
  }],
  "artistPostBookmark": [],
  "likePost": [{
    "postId": 123,
    "communityId": 1,
    "artistId": 2,
    "type": "NORMAL",
    "timestamp": 1596103847901
  }],
  "likeComment": [],
  "likeMedia": [],
  "myPost": [{
    "postId": 123,
    "communityId": 1,
    "artistId": 2,
    "type": "NORMAL",
    "timestamp": 1596103847901
  }],
  "myComment": [{
    "commentId": 1212,
    "postId": 123,
    "communityId": 1,
    "artistId": null
  }],
  "myPurchase": [],
  "id": null
}
  • response from browser
{"rows":[
{"key":123,"value":1}
]
}
  • log file

@daschl I’ve setup other pc today. it works neither.

@Dong-iL_Kim thanks much - with your code I could reproduce it locally. I’ll let you know when I find the cause - thanks!

@Dong-iL_Kim good news! I fixed the issue and it will be in the next release (likely next week): You can follow https://issues.couchbase.com/browse/JVMCBC-870 if you are interested.

thanks again for reporting and helping me reproduce!

@daschl oh that’s really good news. I’ll look forwart to it.
thanks a lot~~ :slight_smile:

@Dong-iL_Kim 3.0.7 is released which has the fix - can you see if it works?

@daschl oh ye~ it works~~ thanks a lot.

Hi @daschl ,
I’m getting a lot of The proposed configuration was ignored because of: OLD_OR_SAME_REVISION {"coreId":"0x8fd765d000000001"} messages, probably 6 per second in my logs. Can you tell me what it means and how I can get rid of them.

those are at a very verbose logging level and are for debugging purposes. It just means that the config we got has not changed and is ignored because of that. Pure debugging info. Just increase your log level to INFO for the couchbase SDK and that’s it.

@mehak28 not sure why you get six of them. Do you have more than one Cluster instance?

@daschl I’ve 2 cluster instances