couchbase-scala icon indicating copy to clipboard operation
couchbase-scala copied to clipboard

IllegalStateException: The content of this Observable is already released exception after querying a deleted GSM index

Open arseny-fl opened this issue 8 years ago • 1 comments

we are using couchbase 4.1 with your driver.

after deleting a secondary index, we tried to run the query with adhoc = true and we received this exception:

java.lang.IllegalStateException: The content of this Observable (queryRow. / dbb8a1ed-d131-48a3-9f54-63e04973e260) is already released. Subscribe earlier or tune the CouchbaseEnvironment#autoreleaseAfter() setting. at com.couchbase.client.core.utils.UnicastAutoReleaseSubject$OnSubscribeAction.call(UnicastAutoReleaseSubject.java:243) at com.couchbase.client.core.utils.UnicastAutoReleaseSubject$OnSubscribeAction.call(UnicastAutoReleaseSubject.java:207) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.unsafeSubscribe(Observable.java:9861) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48) at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.subscribe(Observable.java:9957) at rx.Observable.subscribe(Observable.java:9924)

when we tried to run this query on the same cluster with the official java driver it worked flawlessly.

arseny-fl avatar Sep 06 '16 07:09 arseny-fl

Hello

Java client: 2.5.1 Java Rx: CB: V5 (it happens with other versions as well)

Im getting this error some times when reading a record using N1QL from CB. I think it happens after adding a record. Its non-deterministic.

It is fixed only after deleting the record

rabzu avatar Nov 08 '17 16:11 rabzu