Infinite loop to get new gnode #4
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
yannweb/netsukuku#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Nodes can be stuck in an infinite loop with the following message
This messages came from the function
void hook_first_radar_scan(map_gnode * hook_gnode, int hook_level, quadro_group * old_quadg)in the filehook.cline 1166.It may result when two nodes are synchronized in trying to elect a new gnode. Random could solve it, however it may already exists :
Radar scan have a maximum attempt (
MAX_FIRST_RADAR_SCANS) that is ignored during this "collision" :Removing this
i--make the hook signaling a success, but with no link effective.It may be related to the state, however avoiding to loop on rhook_retry in making a loop on the whole function is not sufficient either.