Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOLR-14371 Zk StatusHandler should know about dynamic zk config #1392

Merged
merged 18 commits into from
Apr 17, 2020
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Return 400 error instead of 500 error if parsing of zk config line fails
  • Loading branch information
janhoy committed Apr 1, 2020
commit c7288b3c825e32c64120d09c28dc99aa76ed44d7
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ public static List<ZkConfigDyn> parseLines(String lines) {
private static ZkConfigDyn parseLine(String line) {
Matcher m = linePattern.matcher(line);
if (!m.matches()) {
throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Could not parse bad dynamic zk config " + line);
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Could not parse dynamic zk config line: " + line);
}
return new ZkConfigDyn(
Integer.parseInt(m.group("serverId")),
Expand Down