From 7b390a5f57f2d48303ceb1d4b9c652f8d4b503f5 Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Tue, 24 Oct 2017 02:35:50 -0700 Subject: [PATCH] Issue 224: listing logs should exclude --- .../src/main/java/org/apache/distributedlog/util/DLUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distributedlog-core/src/main/java/org/apache/distributedlog/util/DLUtils.java b/distributedlog-core/src/main/java/org/apache/distributedlog/util/DLUtils.java index 833c9f31b..a0083b244 100644 --- a/distributedlog-core/src/main/java/org/apache/distributedlog/util/DLUtils.java +++ b/distributedlog-core/src/main/java/org/apache/distributedlog/util/DLUtils.java @@ -279,7 +279,7 @@ public static String normalizeClientId(String clientId) { * @return true if it is reserved name, otherwise false. */ public static boolean isReservedStreamName(String name) { - return name.startsWith("."); + return name.startsWith(".") || name.startsWith("<"); } /**