HDFS-16435. Remove no need TODO comment for ObserverReadProxyProvider (#3912). Contributed by tomscut.
Reviewed-by: Chao Sun <sunchao@apache.org> Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
parent
ed44662968
commit
b5b07af605
|
@ -214,7 +214,6 @@ public class ObserverReadProxyProvider<T>
|
||||||
OBSERVER_PROBE_RETRY_PERIOD_KEY,
|
OBSERVER_PROBE_RETRY_PERIOD_KEY,
|
||||||
OBSERVER_PROBE_RETRY_PERIOD_DEFAULT, TimeUnit.MILLISECONDS);
|
OBSERVER_PROBE_RETRY_PERIOD_DEFAULT, TimeUnit.MILLISECONDS);
|
||||||
|
|
||||||
// TODO : make this configurable or remove this variable
|
|
||||||
if (wrappedProxy instanceof ClientProtocol) {
|
if (wrappedProxy instanceof ClientProtocol) {
|
||||||
this.observerReadEnabled = true;
|
this.observerReadEnabled = true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue