sunxi92 opened a new issue #2949:
URL: https://github.com/apache/rocketmq/issues/2949


   In ScheduleMessageService, the function of the 
DeliverDelayedMessageTimerTask is to deliver msg to commitlog. Before send the 
msg, DeliverDelayedMessageTimerTask will check whether it's time to send msg. 
The deliverTimestamp is stored in the tagsCode,I think we can compute the time 
difference between the current time and deliverTimestamp, but the 
implementation in the source code,it will call the method of 
correctDeliverTimestamp to correct the deliverTimestamp. I don't understand the 
method of correctDeliverTimestamp. Trouble everybody to help explain the reason.
   
![image](https://user-images.githubusercontent.com/25401190/119628076-5ac4dc00-be3f-11eb-87a8-739efbf67fb6.png)
   
   I don't understand the meaning of the comparison in the picture below.
   
![image](https://user-images.githubusercontent.com/25401190/119628214-792ad780-be3f-11eb-8844-06f3f0905e6a.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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to