You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/04/02 14:58:05 UTC
[tomcat] branch 8.5.x updated: Deprecate the
org.apache.catalina.tribes.dns_lookups system property
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 72c5ba8 Deprecate the org.apache.catalina.tribes.dns_lookups system property
72c5ba8 is described below
commit 72c5ba860f53201116d00adc34a06daab36d6b37
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 2 15:56:09 2020 +0100
Deprecate the org.apache.catalina.tribes.dns_lookups system property
---
java/org/apache/catalina/tribes/membership/MemberImpl.java | 3 +++
webapps/docs/config/systemprops.xml | 2 ++
2 files changed, 5 insertions(+)
diff --git a/java/org/apache/catalina/tribes/membership/MemberImpl.java b/java/org/apache/catalina/tribes/membership/MemberImpl.java
index 1c6c82d..eb52eae 100644
--- a/java/org/apache/catalina/tribes/membership/MemberImpl.java
+++ b/java/org/apache/catalina/tribes/membership/MemberImpl.java
@@ -38,7 +38,10 @@ public class MemberImpl implements Member, java.io.Externalizable {
/**
* Should a call to getName or getHostName try to do a DNS lookup?
* default is false
+ *
+ * @deprecated This will be removed without replacement in Tomact 10 onwards
*/
+ @Deprecated
public static final boolean DO_DNS_LOOKUPS = Boolean.parseBoolean(System.getProperty("org.apache.catalina.tribes.dns_lookups","false"));
public static final transient byte[] TRIBES_MBR_BEGIN = new byte[] {84, 82, 73, 66, 69, 83, 45, 66, 1, 0};
diff --git a/webapps/docs/config/systemprops.xml b/webapps/docs/config/systemprops.xml
index 2ffcce1..f047a39 100644
--- a/webapps/docs/config/systemprops.xml
+++ b/webapps/docs/config/systemprops.xml
@@ -69,6 +69,8 @@
<properties>
<property name="org.apache.catalina. tribes.dns_lookups">
+ <p>This system property is deprecated and will be removed without
+ replacement in Apache Tomcat 10 onwards.</p>
<p>If <code>true</code>, the clustering module will attempt to use DNS to
resolve any host names provided in the cluster configuration.</p>
<p>If not specified, the default value of <code>false</code> will be used.</p>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org