jiazhai closed pull request #229: Issue 224: listing logs should exclude
<default>
URL: https://github.com/apache/distributedlog/pull/229
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
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 833c9f31..a0083b24 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("<");
}
/**
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services