Closed jennifer-richards closed 6 years ago
This was fixed by #70 - the iterator for the community membership table was entirely incorrect. After fixing that, all realms and community memberships expire as expected.
trmon
to examine the community table on the trust router that you are not going to shut down in the next step.trmon
to examine the community table on the running trust routerVerified!
While debugging #69, I discovered that not all of the communities that had been learned from a peer were ever removed.
When a peer is lost, the periodic updates to the community information stop coming, so all of the community memberships should eventually expire and be removed. Some were expiring, others were not and persisted indefinitely.
This may be related to #69 because it is possible this can leave the community table in an inconsistent state, perhaps containing pointers to previously freed membership records. I don't have a specific mechanism for that to happen, though.