Improve local discovery reaction time at startup #3278
Labels
enhancement
New features or improvements of some kind, as opposed to a problem (bug)
frozen-due-to-age
Issues closed and untouched for a long time, together with being locked for discussion
protocol
Issues that require a change to the protocol (BEP, relay, discovery)
Milestone
Once we refactor the local discovery protocol we should provide a reliable mechanism to detect a device that is restarting, and provide it with up to date local discovery information.
One idea on how to do this is to include a sequence number in our announcement packets. When a device receives an announcement from another device that it hasn't seen before, or an announcement with a lower sequence number that what it has previously seen for that device, it will respond with an announcement packet of it's own.
This resolves an issue where devices that restart would otherwise only have global discovery data for the first few moments and thus prefer external connections over local ones.
The text was updated successfully, but these errors were encountered: