Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

SecretStore: remove session on master node #5545

Merged
merged 103 commits into from
May 12, 2017

Conversation

svyatonik
Copy link
Collaborator

On top of #5439
Previously successfully completed session was only removed on 'slave' nodes

@svyatonik svyatonik added A0-pleasereview 🤓 Pull request needs code review. M4-core ⛓ Core client code / Rust. labels May 3, 2017
@ngotchac
Copy link
Contributor

ngotchac commented May 5, 2017

This fixes the hanging issue, thanks @svyatonik !

@keorn
Copy link

keorn commented May 9, 2017

I think the diff covers lots of old changes, if its only 805040b5a121f8ae96bf30d13c0db111eb54b90d then its good.

@keorn keorn added A7-looksgoodcantmerge 🙄 Pull request is reviewed well, but cannot be merged due to conflicts. and removed A0-pleasereview 🤓 Pull request needs code review. labels May 9, 2017
@@ -1043,6 +1065,64 @@ impl ClusterClient for ClusterClientImpl {
}
}

impl EncryptionSessionWrapper {
pub fn new(cluster: &Arc<ClusterData>, session_id: SessionId, session: Arc<EncryptionSession>) -> Arc<Self> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typical style is to pass a Weak directly, this way it's more evident from the function signature that it's the caller's responsibility to keep the Arc alive.

@svyatonik svyatonik added A0-pleasereview 🤓 Pull request needs code review. and removed A7-looksgoodcantmerge 🙄 Pull request is reviewed well, but cannot be merged due to conflicts. labels May 10, 2017
@keorn keorn added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels May 11, 2017
@debris debris merged commit e6ecd05 into master May 12, 2017
@debris debris deleted the secretstore_mastersessionremoval branch May 12, 2017 12:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants