Open Pheotis opened 1 year ago
This is a great idea, here's some issues we would need to face for even trying to deal with interserver conflict management:
And, yes. This would require quite a refactor to work, including loads of testing. This should really not be in the parity update, but later on, so that we can release some kind of beta version
Also, when I think about it, conflict management could be exactly the same as for interserver portals, that is if we implement the same functionalities as I mentioned above.
The main logic behind this post is (when I think about it) whether to have network centered behavior, or portal centered behavior, generally portal centered behavior might make more sense, as it's easier to see the status of a portal, rather than that for a network.
Currently, it is possible to make interserver networks that either do not integrate with, or outright conflict with, matching local networks. See issue #255.
The long-term solution to this should probably be to just extend local networks into interserver networks:
Take local custom network
(foo)
. Also take interserver network❪foo❫
.Given:
Test1
on ❪foo❫ on Server1foo I
Test2
foo I
Test3
foo
Test4
foo
TestA
central
TestB
central
TestC
central I
TestD
default I
For personal portals, the functionality should be identical to that described above for local custom networks. For terminal portals, the functionality is not yet defined, but should likely be identical to that described above for default networks.
The general conflict handling for duplicate network names (as identified by our conflict management diagram in #237) should be extended for all interserver network gates.
This likely reflects a sweeping change in how interserver networks are implemented. If this change is too extensive given the upcoming beta push, we can probably expand conflict management to treat the interserver scope as functionally independent for the interim.
Also, this change is probably expansive enough to require its own branch.