Menu

#1 MoveOwner() and synchronization problem on GObjectTable

open
nobody
None
9
2007-05-23
2007-05-23
No

NGrid.Plasma.Agc.MoveOwner() sometimes fails. There is a problem with the GObjectTable that is not updated correctly : sometimes guid are deleted from it while a reference to them is in Agc.AckPin.locations.Guids. Accessing this reference subsequently fails in GObjectTable.InitializeAsSurrogate. Ignoring this error, leads to insertion error in GObjectTable.Add.

An other option is to remove the table.Remove line in "GObjectBody this[Guid]" but in this case other insertion errors also occur.

Finally it seems that there is an error in the logic of the object displacement process. Preventing this process to happen in GObjectActivity reduces the frequency of the bug. Totally disabling the MoveOwner function in Agc.cs allows the bug to vanish. But in this case, all the objects of the grid lie on the same worker.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB