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

feat(pkger): make stacks event sourced #18888

Merged
merged 1 commit into from
Jul 8, 2020
Merged

Conversation

jsteenb2
Copy link
Contributor

@jsteenb2 jsteenb2 commented Jul 8, 2020

this PR is a bit of a monster. It upends all the stacks to be event sourced (sorta). The idea is this. We track each change to a stack, create/update/delete. When we retrieve the stack, it has all the details for that stack's operations.

Things that are painful... working with a kv store here. Having a relational store here would have been super nice. We can order stacks listed coherently without having to force the app layer to get into the kv store weeds. Will take this as a follow up action item to see if I can make this a forcing function for using a relational store. Boy would that make this a thing of beauty.

closes: #18874

@jsteenb2 jsteenb2 requested a review from a team as a code owner July 8, 2020 19:07
@jsteenb2 jsteenb2 requested review from bthesorceror and removed request for a team July 8, 2020 19:07
@jsteenb2 jsteenb2 force-pushed the 18874/stacks_event_sourced branch from 031ba6f to 9daff71 Compare July 8, 2020 19:13
@jsteenb2 jsteenb2 requested a review from a team as a code owner July 8, 2020 19:13
@jsteenb2 jsteenb2 requested review from hoorayimhelping and removed request for a team July 8, 2020 19:13
@jsteenb2 jsteenb2 force-pushed the 18874/stacks_event_sourced branch from 9daff71 to a1a4b19 Compare July 8, 2020 19:33
@jsteenb2 jsteenb2 force-pushed the 18874/stacks_event_sourced branch from a1a4b19 to 6877eaa Compare July 8, 2020 19:35
@jsteenb2 jsteenb2 merged commit 8b6788f into master Jul 8, 2020
@jsteenb2 jsteenb2 deleted the 18874/stacks_event_sourced branch July 8, 2020 20:40
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.

Stack Event Sourcing: tracking all changes to stacks
2 participants