-
Notifications
You must be signed in to change notification settings - Fork 302
Monitor heartbeat attempt can time out, but succeed #750
Comments
Somewhat related: #615 |
@jonboulle @bcwaldon It's not totally same as #615.
|
Does anyone know how to reproduce this issue? |
The 1st one, preventing other machines from being registered with the same ID, was addressed by #1561. Let me get the 2nd one straight, Though I'm not sure if this is supposed to be done inside the milestone v0.13. |
At first I thought 3) would be addressed by the fix for 1) too -- but I realised now that it is indeed a separate issue: if you start two fleetds on the same machine, they will be "fighting" for the machine ID... Not sure this is really a problem that needs to be fixed though -- at least not an urgent one. Anyway, this issue here is clearly about case 2. |
When beating the Heart for the 1st time, call Heart.Register() to avoid such a case of registering machine with the same ID. Starting from the next heartbeat, however, call Heart.Beat() to allow registration with the same ID. That way fleetd can handle the machine presence in a graceful way. Suggested-by: wuqixuan <wuqixuan@huawei.com> Fixes: coreos#750
The 1st one is already fixed by #1561. So I think this issue can be closed. |
Closing this one. Thanks all! |
An attempt to heartbeat machine presence can succeed, but timeout client-side. This causes all subsequent attempts to fail as the presence is created using prevExist=false.
The text was updated successfully, but these errors were encountered: