You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/08/16 03:29:23 UTC

[GitHub] [rocketmq] RapperCL opened a new issue, #4827: Why not get data from commitLog in batches when checking transaction messages?

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

   When the transaction message is checked back, why not get data from commitLog in batches, but only get one piece at a time for processing, and then get another one for processing
   ![image](https://user-images.githubusercontent.com/44110731/184792055-11752595-31d8-4711-b385-7e34610ea74f.png)
   ![image](https://user-images.githubusercontent.com/44110731/184792072-d4f78110-4825-47cd-8620-73d6e0c8bd35.png)
   


-- 
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: dev-unsubscribe@rocketmq.apache.org.apache.org

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


[GitHub] [rocketmq] RapperCL commented on issue #4827: Why not get data from commitLog in batches when checking transaction messages?

Posted by GitBox <gi...@apache.org>.
RapperCL commented on issue #4827:
URL: https://github.com/apache/rocketmq/issues/4827#issuecomment-1253178105

   > For most transaction messages, they are in the committed state and will be found in the remove map。 Only a small number of transaction messages in the prepare(half) state will go to this logic(get half msg and check back), and the check back of transaction messages itself is carried out one by one. If batch check back is used, the code logic will become very complicated
   
   Yes, but I think we can actually get it in batches and iteratively check


-- 
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: dev-unsubscribe@rocketmq.apache.org

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


[GitHub] [rocketmq] hill007299 closed issue #4827: Why not get data from commitLog in batches when checking transaction messages?

Posted by GitBox <gi...@apache.org>.
hill007299 closed issue #4827: Why not get data from commitLog in batches when checking transaction messages?
URL: https://github.com/apache/rocketmq/issues/4827


-- 
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: dev-unsubscribe@rocketmq.apache.org

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


[GitHub] [rocketmq] hill007299 commented on issue #4827: Why not get data from commitLog in batches when checking transaction messages?

Posted by GitBox <gi...@apache.org>.
hill007299 commented on issue #4827:
URL: https://github.com/apache/rocketmq/issues/4827#issuecomment-1223465854

   For most transaction messages, they are in the committed state and will be found in the remove map。 Only a small number of transaction messages in the prepare(half) state will go to this logic(get half msg and check back), and the check back of transaction messages itself is carried out one by one. If batch check back is used, the code logic will become very complicated


-- 
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: dev-unsubscribe@rocketmq.apache.org

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


[GitHub] [rocketmq] hill007299 commented on issue #4827: Why not get data from commitLog in batches when checking transaction messages?

Posted by GitBox <gi...@apache.org>.
hill007299 commented on issue #4827:
URL: https://github.com/apache/rocketmq/issues/4827#issuecomment-1277115051

   If in doubt, consider reopening it and continuing the conversation


-- 
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: dev-unsubscribe@rocketmq.apache.org

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