Closed kujukuju closed 8 years ago
This is truly mystifying. In my testing on other servers this does not occur.
On other servers as in other shards? Or other servers as in testing servers?
This issue has been happening in Aleph. Have you been able to verify that I'm not just crazy?
EDIT: Maybe it's relevant that we have multiple subgroups. I don't remember this happening when we just had 1, but I could be wrong.
When I checked the db a few days ago it seemed to confirm. I do need to do some controlled testing, however. To my knowledge there is nothing that should be unlinking well-formed groups on start or stop, but I'll keep looking.
Same for me in Bet, all linked groups get unlinked on every restart.
are links not stored with the main group data? maybe its just not being loaded.
They are a separate table. I think something is explicitly calling unlink when data is unloaded for save... possibly.
Just want mention that this seems to be intermittent. I've currently got two supergroups I manage, one with three subgroups and one with one. Sometimes all of them unlink, but occasionally one or two of them will stay linked across a restart. Something sharding-related, maybe?
that's possible, I have you tried doing this with a group that's never touched in another shard and then a group that is?
That sounds like the fastest way to test that idea.
I'm currently at the group limit, however, from what I've observed:
super: a (created in aleph) / sub: chansn (created in bet) / sometimes unlinks
super: a (created in aleph) / sub: nixsn (created in bet) / sometimes unlinks
super: a (created in aleph) / sub: nixdef (created in bet) / sometimes unlinks
super: nic (created in bet) / sub: nic-1 (created in zion) / has never unlinked so far
edit: nic-1 finally unlinked from nic today (2016-03-30), so I guess it wasn't immune to the bug. I wasn't online for a lot of the day so I'm not sure exactly which restart it happened on, though.
@PatchyKnowly It's been a while, but could you set up a retest of this issue to ensure that Maxopoly's changes have fixed it?
Just tried on CivTemp and it seemed to persist completly fine across restarts.
Assuming this isn't an issue any longer, re-open if it is.
https://github.com/Civcraft/NameLayer/pull/225 will completly remove group linking anyway
Cool.
Just as the title says. When the server restarts, all links between groups are dropped.