lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joakim Erdfelt (JIRA)" <>
Subject [jira] [Commented] (SOLR-7339) Upgrade Jetty from 9.2 to 9.3
Date Wed, 02 Dec 2015 17:24:11 GMT


Joakim Erdfelt commented on SOLR-7339:

The Jetty Project developers took a look at this and ...

If you turn on DEBUG logging for Jetty, you'll see that the test does not send correct data
to the server.
The request that fails sends data using chunked encoding, but sends one chunk of length 0x59,
but does not send the terminal chunk.
The logs show Jetty reporting that the processing is complete but with unconsumed input, and
therefore closes the connection.
Could this be a Solr client bug in disguise?

Look at the attached SolrExampleStreamingBinaryTest.testUpdateField-jetty93.pcapng

Filter: eq 4

POST /solr/collection1/update?wt=javabin&version=2 HTTP/1.1
User-Agent: Solr[org.apache.solr.client.solrj.impl.HttpSolrClient] 1.0
Content-Type: application/javabin
Transfer-Encoding: chunked
Connection: Keep-Alive

HTTP/1.1 409 Conflict
Date: Tue, 01 Dec 2015 19:44:38 GMT
Content-Type: application/octet-stream
Content-Length: 144
Server: Jetty(9.3.6.v20151106)

....responseHeader..&statusY..%QTimeP..%error..#msg?4version conflict for unique expected=1519385657324077057

> Upgrade Jetty from 9.2 to 9.3
> -----------------------------
>                 Key: SOLR-7339
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Gregg Donovan
>            Assignee: Shalin Shekhar Mangar
>             Fix For: Trunk, 6.0
>         Attachments: SOLR-7339.patch, SOLR-7339.patch, SolrExampleStreamingBinaryTest.testUpdateField-jetty92.pcapng,
> Jetty 9.3 offers support for HTTP/2. Interest in HTTP/2 or its predecessor SPDY was shown
in [SOLR-6699|] and [on the mailing list|].
> Among the HTTP/2 benefits over HTTP/1.1 relevant to Solr are:
> * multiplexing requests over a single TCP connection ("streams")
> * canceling a single request without closing the TCP connection
> * removing [head-of-line blocking|]
> * header compression
> Caveats:
> * Jetty 9.3 is at M2, not released.
> * Full Solr support for HTTP/2 would require more work than just upgrading Jetty. The
server configuration would need to change and a new HTTP client ([Jetty's own client|],
[Square's OkHttp|], [etc.|])
would need to be selected and wired up. Perhaps this is worthy of a branch?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message