Opened 16 months ago
Last modified 3 months ago
#2537 new enhancement
failed upgrades should preserve sockets
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | future |
Component: | network | Version: | 3.0.x |
Keywords: | Cc: |
Description
We currently delete the previous server sockets and if the upgrade fails then we are left with no sockets..
Not easy to solve.
Options:
- pass sockets from the old server to the new one with sendfd - would require connecting to the old server using unix-domain-sockets, which may not be possible or require authentication, but this would allow us to preserve all the different sockets
- delay creating sockets until we have taken over the display - but if we fail to create them, then we will have to exit and leave the vfb running?
- temporarily move them out of the way, and move them back if we fail - easier?
Other issues:
- backwards and forwards compatibility
- request clients to re-connect? (to the same address only?)
Note: See
TracTickets for help on using
tickets.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2537