jiangxinlingdu opened a new issue #541: broker在存储数据并发问题 URL: https://github.com/apache/rocketmq/issues/541 在CommitLog类中,putMessage的时候, MappedFile mappedFile = this.mappedFileQueue.getLastMappedFile(); 之后在putMessageLock.lock();在 if (null == mappedFile || mappedFile.isFull()) { mappedFile = this.mappedFileQueue.getLastMappedFile(0); // Mark: NewFile may be cause noise } 如果有多个同时取到mappedFile 为null之后进入lock之后会创建2个MappedFile 详情看:https://github.com/apache/rocketmq/pull/540
---------------------------------------------------------------- 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
