Skip to content

Commit

Permalink
Upgrade to netty 3.10.6.Final (#19235)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1monw authored Jul 5, 2016
1 parent 84efaf4 commit a4ec0ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ dependencies {
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${versions.jackson}"

// network stack
compile 'io.netty:netty:3.10.5.Final'
compile 'io.netty:netty:3.10.6.Final'
// percentiles aggregation
compile 'com.tdunning:t-digest:3.0'
// precentil ranks aggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.elasticsearch.common.transport.TransportAddress;
import org.elasticsearch.common.unit.TimeValue;
import org.elasticsearch.common.util.BigArrays;
import org.elasticsearch.common.util.concurrent.ConcurrentCollections;
import org.elasticsearch.discovery.zen.elect.ElectMasterService;
import org.elasticsearch.discovery.zen.ping.PingContextProvider;
import org.elasticsearch.discovery.zen.ping.ZenPing;
Expand All @@ -42,7 +43,6 @@
import org.elasticsearch.transport.TransportService;
import org.elasticsearch.transport.TransportSettings;
import org.elasticsearch.transport.netty.NettyTransport;
import org.jboss.netty.util.internal.ConcurrentHashMap;

import java.net.InetSocketAddress;
import java.util.concurrent.ConcurrentMap;
Expand Down Expand Up @@ -208,7 +208,7 @@ protected Version getCurrentVersion() {
final TransportService transportService = new TransportService(settings, transport, threadPool);
transportService.start();
transportService.acceptIncomingRequests();
ConcurrentMap<TransportAddress, AtomicInteger> counters = new ConcurrentHashMap<>();
ConcurrentMap<TransportAddress, AtomicInteger> counters = ConcurrentCollections.newConcurrentMap();
transportService.addConnectionListener(new TransportConnectionListener() {
@Override
public void onNodeConnected(DiscoveryNode node) {
Expand Down
1 change: 0 additions & 1 deletion distribution/licenses/netty-3.10.5.Final.jar.sha1

This file was deleted.

1 change: 1 addition & 0 deletions distribution/licenses/netty-3.10.6.Final.jar.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18ed04a0e502896552854926e908509db2987a00

0 comments on commit a4ec0ac

Please sign in to comment.