Community
Participate
Working Groups
Build Identifier: CDO - streams/4.0-mainenance The Query indication when responding flushes at to points to quickly send info to the client. 1st part: contains only request id. 2d part: the revisions/cdoidreferences last part: boolean false. indicating end. However it seems that this also can have a negative impact on the client. The client sometimes needs to wait for the following packets to arrive. In case of XREF queries the functionality to flush everything as quickly to the client asap is not needed as there is no API for client to a CloseableIterator. So, this an xref query cannot be closed/canceled. This, also means that in case of an xref query the QueryCancelRequest is not needed. Reproducible: Always
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
org.eclipse.emf.cdo.common.util.CDOQueryInfo.PARAM_DISABLE_RESPONSE_FLUSHING: /** * The name of a {@link Boolean} typed {@link #getParameters() parameter} to influence automatic response flushing (the default) after each query result. * * @since 4.2 */ public static final String PARAM_DISABLE_RESPONSE_FLUSHING = "disable.response.flushing";
(In reply to comment #0) > In case of XREF queries the functionality to flush everything as quickly to the > client asap is not needed as there is no API for client to a CloseableIterator. > So, this an xref query cannot be closed/canceled. That's not true according to org.eclipse.emf.cdo.view.CDOView.queryXRefsAsync(Set<CDOObject>, EReference...).
commit 4b532ef33bc8fcfa968830333130a380496698c1
Available in R20130613-1157 (4.2)