limowang commented on issue #2297:
URL: 
https://github.com/apache/incubator-pegasus/issues/2297#issuecomment-3310705962

   In the wait_manual_compact function of the pegasus_manual_compact.sh script, 
the earliest_finish_time variable is calculated using date -d @${trigger_time} 
+"%Y-%m-%d %H:%M:%S" at the millisecond level, whereas the last_finish variable 
is in seconds. Using the start timestamp 1757318865 as an example, the value of 
earliest_finish_time is "2025-09-08 16:07:45.000". If the operation ends 
immediately, the last_finsh value is "2025-09-08 16:07:45". In this case, the 
condition finish[1] >= date is not satisfied, so the shard is mistakenly judged 
as never completed, causing the operation to hang.


-- 
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: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to