You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "wangshaojie4039 (via GitHub)" <gi...@apache.org> on 2024/12/20 01:51:45 UTC

[I] [Bug] tiered store ConstructIndexFile ConcurrentModificationException [rocketmq]

wangshaojie4039 opened a new issue, #9069:
URL: https://github.com/apache/rocketmq/issues/9069

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions)  of this repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   linux
   
   ### RocketMQ version
   
   devlop|5.3.x
   
   ### JDK Version
   
   jdk1.8
   
   ### Describe the Bug
   
   
       public CompletableFuture<Void> commitAsync(FlatFileInterface flatFile) {
           return flatFile.commitAsync().thenAcceptAsync(success -> {
               if (success) {
                   if (storeConfig.isMessageIndexEnable()) {
                       flatFile.getDispatchRequestList().forEach(
                           request -> constructIndexFile(flatFile.getTopicId(), request));
                   }
                   flatFile.release();
               }
           }, storeExecutor.bufferCommitExecutor);
       }
   -------------------------------------------
   I found this issue while conducting stress testing on tieredstore. When the TPS reached 100000, the Messenger Dispatcher # ConstructIndexFile call threw an exception
   ”java.util. ConcurrentModificationException“
   
   ### Steps to Reproduce
   
   Tested again, it still appears, as shown in the screenshot below
   
   ### What Did You Expect to See?
   
   Index construction without errors
   
   ### What Did You See Instead?
   
   --
   
   ### Additional Context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] tiered store ConstructIndexFile ConcurrentModificationException [rocketmq]

Posted by "humkum (via GitHub)" <gi...@apache.org>.
humkum commented on issue #9069:
URL: https://github.com/apache/rocketmq/issues/9069#issuecomment-2556147746

   you can submit a pr to fix this bug


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] tiered store ConstructIndexFile ConcurrentModificationException [rocketmq]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #9069: [Bug] tiered store  ConstructIndexFile ConcurrentModificationException
URL: https://github.com/apache/rocketmq/issues/9069


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org