-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon: Share Transaction address for identical requests
If a client makes a request that is identical (that is, same method name and same parameters) to an ongoing transaction, return the bus address of that transaction. The client can then "tune in" to the progress messages. (Remember the Transaction.Start() method returns a boolean to distinguish a newly-started transaction from an ongoing transaction.) The driving use case for this is a dropped ssh connection during a long running transaction -- like "upgrade" -- and being able to reattach to the transaction's progress messages mid-stream.
- Loading branch information
Showing
3 changed files
with
141 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters