Skip to content

Commit

Permalink
[Improvement] Replace ConfigEntry with ConfigOption in RssSparkConfig a…
Browse files Browse the repository at this point in the history
  • Loading branch information
guixiaowen committed Nov 26, 2023
1 parent bebce29 commit f2aee93
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,7 @@ public static <T> List<T> loadExtensions(Class<T> extClass, List<String> classes
public static void checkQuorumSetting(int replica, int replicaWrite, int replicaRead) {
if (replica < 1 || replicaWrite > replica || replicaRead > replica) {
throw new RssException(
"Replica config is invalid, it cannot be less than 1" +
" or less than replica.write " +
" or less than replica.read. " +
" Please check it.");
"Replica config is invalid, it cannot be less than 1 or less than replica.write or less than replica.read. Please check it.");
}
if (replicaWrite + replicaRead <= replica) {
throw new RssException(
Expand Down

0 comments on commit f2aee93

Please sign in to comment.