-
Notifications
You must be signed in to change notification settings - Fork 7
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
storage modules #272
Merged
Merged
storage modules #272
Conversation
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
macpie
reviewed
Nov 20, 2023
|
michaeldjeffrey
force-pushed
the
mj/storage-modules
branch
from
November 30, 2023 20:11
9e85d3b
to
d80223c
Compare
- stream worker main test passing
- all tests passing
- ets - lookup - insert - update - delete - delete all
Co-authored-by: macpie <[email protected]>
* move cli functions to their modules * config rehydrate, and updates since - rehydrate config from dets files upon startup - when starting the config update stream, send the timestamp of the last update we recieved - todo: if any of the config cannot be rehydrated, remove everything and start from the beginning. * fix table names and tests passing use with_open_dets helpers. Keeping them in individual files so it doesn't become unneccassarily generic * add some timing around ets initialization in supervisor * do not spawn skf rehydration to avoid conflicts of rehydrating while updates are streaming in. * make sure all the ets/dets config is consistent * remove from merge * rebase test service rename * process routes before other updates * Start the checkpoint timer when a stream is successfully initialized. maybe cancel any previouss timers so we don't build up checkpoints if a disconnect happens. * don't get caught in a checkpoint loop or race condition - add helpers for manually running checkpoints. - cancel timers correctly. - Don't make a timer until we have a connection. * helpers for checking next checkpoint * delete dets file when route is deleted * Route Delete, ensure skf file deletion A Route Delete can come through as part of the restreaming of events. The Route may not exist in the ets table, and we want to make sure teh skf file does not stick around. * HPR only deals in milliseconds timestamps from routing responses are unix epoch seconds, requests are sent in milliseconds. * helper counts function for metrics CLI * fix counts table name * return message to log and print * reset connection by killing the worker * add cli commands * proto has been merged upstream
michaeldjeffrey
force-pushed
the
mj/storage-modules
branch
from
January 16, 2024 17:11
0b1ef6e
to
7b554a1
Compare
macpie
approved these changes
Feb 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.