Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: PasswordResetTokens #179

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

jggoebel
Copy link
Member

What this PR does / why we need it:
This PR is a proposal for leader election in microservices when controllers are needed.
In this PR i create a PasswordResetToken controller (That is supposed to delete Password Reset Tokens after a given time - it is not yet finally implemented and i worked more on leader election)

Which issue(s) this PR fixes:
Leader Election inside a microservice world

@jggoebel jggoebel changed the title First proposal for leader election in microservices: PasswordResetToken WIP: Proposal for leader election in microservices: PasswordResetToken Jan 29, 2024
@jggoebel jggoebel changed the title WIP: Proposal for leader election in microservices: PasswordResetToken WIP: Proposal for distributed controllers in microservices: PasswordResetToken Feb 2, 2024
@jggoebel jggoebel changed the title WIP: Proposal for distributed controllers in microservices: PasswordResetToken WIP: Proposal for sharded controllers in microservices Feb 5, 2024
@@ -90,19 +91,43 @@ func (c *DistributedController) getReplicaPlacement(obj interface{}) (int, error
}

// RunDistributed will start a distributed controller concept
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// RunDistributed will start a distributed controller concept
// RunSharded will start a sharded controller concept

@jggoebel jggoebel changed the title WIP: Proposal for sharded controllers in microservices Proposal for sharded controllers in microservices Feb 13, 2024
@jggoebel jggoebel mentioned this pull request Feb 13, 2024
@jggoebel jggoebel changed the title Proposal for sharded controllers in microservices WIP: PassworddResetTokens Feb 13, 2024
@jggoebel jggoebel changed the title WIP: PassworddResetTokens WIP: PasswordResetTokens Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants