-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[fix](user manager) Add rwlock for userManager #34699
Merged
Merged
Commits on May 11, 2024
-
[fix](user manager) Add rwlock for userManager
fix ``` 2024-05-10 14:33:55,005 mysql-nio-pool-67 ERROR An exception occurred processing Appender Sys java.util.ConcurrentModificationException at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1597) at java.base/java.util.HashMap$EntryIterator.next(HashMap.java:1630) at java.base/java.util.HashMap$EntryIterator.next(HashMap.java:1628) at org.apache.logging.log4j.message.ParameterFormatter.appendMap(ParameterFormatter.java:581) at org.apache.logging.log4j.message.ParameterFormatter.appendPotentiallyRecursiveValue(ParameterFormatter.java:512) at org.apache.logging.log4j.message.ParameterFormatter.recursiveDeepToString(ParameterFormatter.java:477) at org.apache.logging.log4j.message.ParameterFormatter.recursiveDeepToString(ParameterFormatter.java:448) at org.apache.logging.log4j.message.ParameterFormatter.formatMessage2(ParameterFormatter.java:191) at org.apache.logging.log4j.message.ParameterizedMessage.formatTo(ParameterizedMessage.java:227) at org.apache.logging.log4j.core.pattern.MessagePatternConverter$SimpleMessagePatternConverter.format(MessagePatternConverter.java:121) at org.apache.logging.log4j.core.layout.PatternLayout$NoFormatPatternSerializer.toSerializable(PatternLayout.java:342) at org.apache.logging.log4j.core.layout.PatternLayout.toText(PatternLayout.java:240) at org.apache.logging.log4j.core.layout.PatternLayout.encode(PatternLayout.java:225) at org.apache.logging.log4j.core.layout.PatternLayout.encode(PatternLayout.java:59) at org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.directEncodeEvent(AbstractOutputStreamAppender.java:215) at org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.tryAppend(AbstractOutputStreamAppender.java:208) at org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:199) at org.apache.logging.log4j.core.appender.RollingFileAppender.append(RollingFileAppender.java:301) at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:161) at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:134) at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:125) at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:89) at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:675) at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:633) at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:616) at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:552) at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82) at org.apache.logging.log4j.core.Logger.log(Logger.java:161) at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2205) at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2159) at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2142) at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2040) at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1907) at org.apache.logging.log4j.spi.AbstractLogger.warn(AbstractLogger.java:2789) at org.apache.doris.mysql.privilege.UserManager.getUserId(UserManager.java:348) at org.apache.doris.mysql.privilege.Auth.getUserId(Auth.java:1950) at org.apache.doris.analysis.CreateUserStmt.<init>(CreateUserStmt.java:94) at org.apache.doris.analysis.CUP$SqlParser$actions.case209(SqlParser.java:51399) at org.apache.doris.analysis.CUP$SqlParser$actions.CUP$SqlParser$do_action(SqlParser.java:19433) at org.apache.doris.analysis.SqlParser.do_action(SqlParser.java:2972) at java_cup.runtime.lr_parser.parse(lr_parser.java:584) at org.apache.doris.common.util.SqlParserUtils.getMultiStmts(SqlParserUtils.java:60) at org.apache.doris.qe.ConnectProcessor.parse(ConnectProcessor.java:516) at org.apache.doris.qe.ConnectProcessor.executeQuery(ConnectProcessor.java:296) at org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:232) at org.apache.doris.qe.MysqlConnectProcessor.handleQuery(MysqlConnectProcessor.java:177) ```
Configuration menu - View commit details
-
Copy full SHA for 4d82d13 - Browse repository at this point
Copy the full SHA 4d82d13View commit details
Commits on May 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a41751f - Browse repository at this point
Copy the full SHA a41751fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88fa9dd - Browse repository at this point
Copy the full SHA 88fa9ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b79ef - Browse repository at this point
Copy the full SHA 45b79efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1764fc2 - Browse repository at this point
Copy the full SHA 1764fc2View commit details
Commits on May 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d10343e - Browse repository at this point
Copy the full SHA d10343eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.