Skip to content

Avoid infinite loop on ProtoTree removal when corrupted - #53

Merged
bebopagogo merged 1 commit into
USNavalResearchLaboratory:masterfrom
sleepybishop:fix-issue-70
Aug 28, 2026
Merged

Avoid infinite loop on ProtoTree removal when corrupted#53
bebopagogo merged 1 commit into
USNavalResearchLaboratory:masterfrom
sleepybishop:fix-issue-70

Conversation

@sleepybishop

Copy link
Copy Markdown
Contributor

This PR prevents an infinite loop in ProtoTree when keys are corrupted, fixing issue USNavalResearchLaboratory/norm#70

@sleepybishop sleepybishop changed the title fix: avoid infinite loop on ProtoTree removal when corrupted Avoid infinite loop on ProtoTree removal when corrupted Aug 12, 2026
@bebopagogo

Copy link
Copy Markdown
Collaborator

Thanks for the improvement here. I think this is a worthwhile safety measure even if it doesn't address the issue in the NORM code that highlights this. I think case there may be some race condition I haven't gotten my head around yet (I did try to replicate the reported problem but couldn't). Since it's occurring during shutdown in that case, this fix/improvement will avoid the infinite loop problem there. I hope to eventually track down the root cause there. I may use some of the new "tools" to analyze how that situation might be occurrring

@bebopagogo bebopagogo closed this Aug 28, 2026
@bebopagogo bebopagogo reopened this Aug 28, 2026
@bebopagogo
bebopagogo merged commit baf28e4 into USNavalResearchLaboratory:master Aug 28, 2026
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.

2 participants