You are viewing a plain text version of this content. The canonical link for it is here.
Posted to distributedlog-commits@bookkeeper.apache.org by zh...@apache.org on 2017/10/24 11:49:28 UTC
[distributedlog] branch master updated: ISSUE #224: listing logs
should exclude
This is an automated email from the ASF dual-hosted git repository.
zhaijia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/distributedlog.git
The following commit(s) were added to refs/heads/master by this push:
new 919b4df ISSUE #224: listing logs should exclude <default>
919b4df is described below
commit 919b4df4365dab9ec7b2e1311fb748eb554fca28
Author: Sijie Guo <si...@apache.org>
AuthorDate: Tue Oct 24 19:49:19 2017 +0800
ISSUE #224: listing logs should exclude <default>
Descriptions of the changes in this PR:
exclude `<default>` from listing logs
(the tests are covered by #227)
Author: Sijie Guo <si...@apache.org>
Reviewers: Jia Zhai <None>
This closes #229 from sijie/fix_listing_log_pr, closes #224
---
.../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 833c9f3..a0083b2 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 class DLUtils {
* @return true if it is reserved name, otherwise false.
*/
public static boolean isReservedStreamName(String name) {
- return name.startsWith(".");
+ return name.startsWith(".") || name.startsWith("<");
}
/**
--
To stop receiving notification emails like this one, please contact
['"distributedlog-commits@bookkeeper.apache.org" <di...@bookkeeper.apache.org>'].