Recycling of object IDs

Bug #329874 reported by Manuel Moos on 2009-02-15
Affects Status Importance Assigned to Milestone
Armagetron Advanced
Manuel Moos
Manuel Moos

Bug Description

While more severe problems were fixed recently, the following netobject ID problem still exists. It can happen that:
- a netobject gets destroyed, sending destroy messages to connected peers
- its ID gets recycled for a new object
- the creation message for the new object arrives before the destruction message of the old object, triggering an error on the receiver.

Possible solutions:
- try not to recycle IDs with pending destruction messages
- try not to send object creation messages for objects with IDs with pending destruction messages.

Related branches

Manuel Moos (z-man) wrote :

A fix was committed to 0.2.8. It may have ill side effects, in which case it will be reverted.
Definitely, a proper solution should be developed for the trunk. Pending deletion messages need to be tracked and object IDs used in them must not be reused.

Manuel Moos (z-man) on 2009-02-27
Changed in armagetronad:
assignee: nobody → z-man
Changed in armagetronad:
milestone: none → 0.4.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers