You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Paul Chibulcuteanu (Jira)" <ji...@apache.org> on 2021/07/20 11:06:00 UTC

[jira] [Created] (OAK-9503) List documents on elastic search bulk update failure

Paul Chibulcuteanu created OAK-9503:
---------------------------------------

             Summary: List documents on elastic search bulk update failure
                 Key: OAK-9503
                 URL: https://issues.apache.org/jira/browse/OAK-9503
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: elastic-search, indexing
    Affects Versions: 1.40.0
            Reporter: Paul Chibulcuteanu


Currently, if there is a failure to update elasticsearch indexes such as:
{code}
[pool-12-thread-1] org.apache.jackrabbit.oak.plugins.index.elastic.index.ElasticBulkProcessorHandler ElasticIndex Update Bulk Failure : Bulk with id 1 threw an error
java.net.ConnectException: Timeout connecting to [<ES_SERVER>:<ES_PORT>]
	at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:169) [org.apache.jackrabbit.oak-search-elastic:1.40.0.T20210628142906-c91e018]
	at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:628) [org.apache.jackrabbit.oak-search-elastic:1.40.0.T20210628142906-c91e018]
	at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:894) [org.apache.jackrabbit.oak-search-elastic:1.40.0.T20210628142906-c91e018]
	at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:184) [org.apache.jackrabbit.oak-search-elastic:1.40.0.T20210628142906-c91e018]
	at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processTimeouts(DefaultConnectingIOReactor.java:214) [org.apache.jackrabbit.oak-search-elastic:1.40.0.T20210628142906-c91e018]
{code}
there is no way of knowing if there is any data loss or not. We should enahance this exception to include the list of documents that were part of the bulk update



--
This message was sent by Atlassian Jira
(v8.3.4#803005)