rhymu8354 / OmniaRegna

This holds public information about OmniaRegna (https://omniaregna.com/), an online RPG. Issues for the game may be reported here or in the game itself.
8 stars 1 forks source link

Installing a snapshot results in bogus item dup error messages #262

Open rhymu8354 opened 4 years ago

rhymu8354 commented 4 years ago

If a server is tracking items being held, and then receives a snapshot from the cluster leader, it reports bogus item dup error messages like this:

[1580784135.236673 Akandunal-10:3] 1580784134.662540: Raft::Server: Received InstallSnapshot (27320944 entries up to term 2825) from server 12 in term 2825 (we are in term 2825)
[1580784135.236675 Akandunal-10:10] error: 1580784134.705620: ECS: Entity 29618 is being held by two other entities (523 and 523)
[1580784135.236676 Akandunal-10:10] error: 1580784134.705630: ECS: Entity 37036 is being held by two other entities (523 and 523)
[1580784135.236677 Akandunal-10:10] error: 1580784134.705630: ECS: Entity 26619 is being held by two other entities (523 and 523)
[1580784135.236678 Akandunal-10:10] error: 1580784134.705630: ECS: Entity 29568 is being held by two other entities (523 and 523)
[1580784135.236679 Akandunal-10:10] error: 1580784134.705660: ECS: Entity 37021 is being held by two other entities (36847 and 36847)
[1580784135.236680 Akandunal-10:10] error: 1580784134.705670: ECS: Entity 37025 is being held by two other entities (37021 and 37021)
[1580784135.236683 Akandunal-10:10] error: 1580784134.705670: ECS: Entity 37026 is being held by two other entities (36847 and 36847)