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: Implement basic in-memory store and change handling. #165

Merged
merged 40 commits into from
Jul 12, 2023

Conversation

kinyoklion
Copy link
Member

@kinyoklion kinyoklion commented Jul 10, 2023

feat: Move boost signal implementation to the internal library.

@kinyoklion kinyoklion changed the title chore: Implement architecture diagram for data store. feat: Implement basic in-memory store and change handling. Jul 10, 2023
@kinyoklion kinyoklion marked this pull request as ready for review July 10, 2023 22:51
@kinyoklion kinyoklion requested a review from a team July 10, 2023 22:51
@kinyoklion kinyoklion marked this pull request as draft July 11, 2023 16:00
@kinyoklion
Copy link
Member Author

kinyoklion commented Jul 11, 2023

Converted to draft because I missed some testing and found a couple issues. Fixed.

@kinyoklion kinyoklion marked this pull request as ready for review July 11, 2023 16:19
libs/server-sdk/src/data_store/data_store.hpp Outdated Show resolved Hide resolved
libs/server-sdk/src/data_store/data_store.hpp Outdated Show resolved Hide resolved
libs/server-sdk/src/data_store/data_store.hpp Outdated Show resolved Hide resolved
libs/server-sdk/src/data_store/data_store.hpp Outdated Show resolved Hide resolved
libs/server-sdk/src/data_store/data_store.hpp Outdated Show resolved Hide resolved
libs/server-sdk/src/data_store/dependency_tracker.cpp Outdated Show resolved Hide resolved
libs/server-sdk/src/data_store/dependency_tracker.cpp Outdated Show resolved Hide resolved
libs/server-sdk/src/data_store/dependency_tracker.cpp Outdated Show resolved Hide resolved
libs/server-sdk/src/data_store/dependency_tracker.hpp Outdated Show resolved Hide resolved
sink_->Upsert(key, updated);
}

template <typename FlagOrSegment>
Copy link
Member Author

Choose a reason for hiding this comment

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

Still FlagOrSegment, because DataKind is a type, which is also used by this same method. Which is inconvenient.

Copy link
Contributor

@cwaldren-ld cwaldren-ld left a comment

Choose a reason for hiding this comment

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

Couple lints on libs/server-sdk/src/data_store/dependency_tracker.cpp seem legit, but otherwise looks good!

@kinyoklion kinyoklion merged commit f2d96a4 into server-side Jul 12, 2023
@kinyoklion kinyoklion deleted the rlamb/basic-store-implementation branch July 12, 2023 18:19
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