Skip to content

Commit 98254dc

Browse files
committed
Revert upgrade to Netty 4.1.25.Final (#31282)
This reverts upgrading to Netty 4.1.25.Final until we have a cleaner solution to dealing with the object cleaner thread.
1 parent fe4ca0f commit 98254dc

File tree

69 files changed

+74
-323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+74
-323
lines changed

modules/reindex/src/test/java/org/elasticsearch/index/reindex/ReindexFromRemoteWithAuthTests.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
package org.elasticsearch.index.reindex;
2121

22-
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
2322
import org.apache.lucene.util.SetOnce;
2423
import org.elasticsearch.ElasticsearchSecurityException;
2524
import org.elasticsearch.ElasticsearchStatusException;
@@ -42,7 +41,6 @@
4241
import org.elasticsearch.common.xcontent.NamedXContentRegistry;
4342
import org.elasticsearch.env.Environment;
4443
import org.elasticsearch.env.NodeEnvironment;
45-
import org.elasticsearch.index.reindex.test.ObjectCleanerThreadThreadFilter;
4644
import org.elasticsearch.plugins.ActionPlugin;
4745
import org.elasticsearch.plugins.Plugin;
4846
import org.elasticsearch.rest.RestStatus;
@@ -66,7 +64,6 @@
6664
import static org.elasticsearch.index.reindex.ReindexTestCase.matcher;
6765
import static org.hamcrest.Matchers.containsString;
6866

69-
@ThreadLeakFilters(filters = {ObjectCleanerThreadThreadFilter.class})
7067
public class ReindexFromRemoteWithAuthTests extends ESSingleNodeTestCase {
7168
private TransportAddress address;
7269

modules/reindex/src/test/java/org/elasticsearch/index/reindex/RetryTests.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
package org.elasticsearch.index.reindex;
2121

22-
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
2322
import org.elasticsearch.action.ActionFuture;
2423
import org.elasticsearch.action.admin.cluster.node.info.NodeInfo;
2524
import org.elasticsearch.action.admin.cluster.node.tasks.list.ListTasksResponse;
@@ -34,7 +33,6 @@
3433
import org.elasticsearch.common.transport.TransportAddress;
3534
import org.elasticsearch.common.util.concurrent.EsRejectedExecutionException;
3635
import org.elasticsearch.index.query.QueryBuilders;
37-
import org.elasticsearch.index.reindex.test.ObjectCleanerThreadThreadFilter;
3836
import org.elasticsearch.plugins.Plugin;
3937
import org.elasticsearch.test.ESIntegTestCase;
4038
import org.elasticsearch.threadpool.ThreadPool;
@@ -58,7 +56,6 @@
5856
* Integration test for retry behavior. Useful because retrying relies on the way that the
5957
* rest of Elasticsearch throws exceptions and unit tests won't verify that.
6058
*/
61-
@ThreadLeakFilters(filters = {ObjectCleanerThreadThreadFilter.class})
6259
public class RetryTests extends ESIntegTestCase {
6360

6461
private static final int DOC_COUNT = 20;

modules/reindex/src/test/java/org/elasticsearch/index/reindex/test/ObjectCleanerThreadThreadFilter.java

Lines changed: 0 additions & 32 deletions
This file was deleted.

modules/transport-netty4/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ compileTestJava.options.compilerArgs << "-Xlint:-cast,-deprecation,-rawtypes,-tr
3434

3535
dependencies {
3636
// network stack
37-
compile "io.netty:netty-buffer:4.1.25.Final"
38-
compile "io.netty:netty-codec:4.1.25.Final"
39-
compile "io.netty:netty-codec-http:4.1.25.Final"
40-
compile "io.netty:netty-common:4.1.25.Final"
41-
compile "io.netty:netty-handler:4.1.25.Final"
42-
compile "io.netty:netty-resolver:4.1.25.Final"
43-
compile "io.netty:netty-transport:4.1.25.Final"
37+
compile "io.netty:netty-buffer:4.1.16.Final"
38+
compile "io.netty:netty-codec:4.1.16.Final"
39+
compile "io.netty:netty-codec-http:4.1.16.Final"
40+
compile "io.netty:netty-common:4.1.16.Final"
41+
compile "io.netty:netty-handler:4.1.16.Final"
42+
compile "io.netty:netty-resolver:4.1.16.Final"
43+
compile "io.netty:netty-transport:4.1.16.Final"
4444
}
4545

4646
dependencyLicenses {
@@ -161,6 +161,6 @@ thirdPartyAudit.excludes = [
161161

162162
'org.conscrypt.AllocatedBuffer',
163163
'org.conscrypt.BufferAllocator',
164-
'org.conscrypt.Conscrypt',
164+
'org.conscrypt.Conscrypt$Engines',
165165
'org.conscrypt.HandshakeListener'
166166
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
63b5fa95c74785e16f2c30ce268bc222e35c8cb5

modules/transport-netty4/licenses/netty-buffer-4.1.25.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
d84a1f21768b7309c2954521cf5a1f46c2309eb1

modules/transport-netty4/licenses/netty-codec-4.1.25.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
d64312378b438dfdad84267c599a053327c6f02a

modules/transport-netty4/licenses/netty-codec-http-4.1.25.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)