-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Hi,
We meet a problem when starting.
When syncd starting and enter RUNNING state, the start.sh should exit almost immediately. But between the two events, the time changed by ntpd. so when the process.py run the code to exit the process, it find it quit too quickly, but its state is not STARTING (but RUNNING), so asserted.
In my opinion, in SONIC system, we should use monotonic time to control the interval-related process, maybe standarnd python library do not have it? although it seems not a difficult problem, we can install it if needed. I think it is not an isolation problem.
Of course, if we only deal with this question, we can modify the process.py, i.e, not assert the state to STARTING.
Hope to know the thought of the writer: What is your opinion about it?