Outdated: Quick Replacement Of Items
There needs to be a way to replace an item on a server with the same item, but the new item is cached from another server. It should not be necessary to transfer any data.
Server A is master and server B is secondary. They want to switch.
- Server B creates a new item
- Server B empties the dict of the new item and sends it to server A
- Server B sets the dict of the new item to the dict of the old item (removing the broker attribute)
- Server A gets the new item and sets the dict to the old item
Server B isn't subscribed anywhere. Server A is subscribed to the new object on server A.
Back to TechnicalDocumentation.
