Skip to content
  • Jan Wedvik's avatar
    744d807e
    This commit makes the following changes to NdbObjectIdMap: · 744d807e
    Jan Wedvik authored
    1. It puts unmapped objects at the end of the free list instead of at the front.
    This postpones reuse of object ids as long as possible, and thus minimizes 
    the chance of sending a late arriving message to the wrong recipient.
    
    2. It removes a redundant mutex (the class was not thread safe anyway).
    
    3. It refactors the code a bit, hopefully making it more readable.
    744d807e
    This commit makes the following changes to NdbObjectIdMap:
    Jan Wedvik authored
    1. It puts unmapped objects at the end of the free list instead of at the front.
    This postpones reuse of object ids as long as possible, and thus minimizes 
    the chance of sending a late arriving message to the wrong recipient.
    
    2. It removes a redundant mutex (the class was not thread safe anyway).
    
    3. It refactors the code a bit, hopefully making it more readable.
Loading