Skip to content

Conversation

@geonnave
Copy link
Contributor

@geonnave geonnave commented Dec 12, 2025

Description

Fixes #147

Includes:

  • Clear queue just after successful join
  • Fix Mac layer timings (magic numbers)
  • and some other tiny fixes

Testing of Node / Gateway (if applicable)

TODO @ysong02

  • I tested this change with ___ nodes and ___ gateways.
  • I let it run for the following amount of time: ___

@ysong02
Copy link
Contributor

ysong02 commented Dec 12, 2025

  • I tested this change with 100 nodes and 1 gateways.

  • I let it run for the following amount of time: 5 mins.

100 nodes join in 6.5 seconds in average, with one node left once at 4:40 mins

@geonnave geonnave changed the title Clear queue just after successful join Fix join issues under contention Dec 12, 2025
@geonnave
Copy link
Contributor Author

Perfect, thanks for testing!

Before I merge, could you test handover?

@ysong02
Copy link
Contributor

ysong02 commented Dec 12, 2025

With help from @WilliamTakeshi , we tested the handover with 100 nodes and 2 gateways. We did the test three times, and I saw once one node was blinking without joining the closer gateway. 100 nodes finished the handover in around 12 seconds.

@geonnave geonnave changed the title Fix join issues under contention Fix (re-)join issues Dec 14, 2025
@geonnave geonnave merged commit 1e82eea into DotBots:main Dec 14, 2025
2 checks passed
@geonnave geonnave changed the title Fix (re-)join issues Fix (re-)oin issues Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nodes sometimes stay in leave/rejoin state (intermitent)

2 participants