-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
added a stream init time field #590
added a stream init time field #590
Conversation
cargo tests are passing, but should test once during runtime to cover any edge cases
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
.get_whole_json(&stream_name) | ||
.await | ||
.unwrap()["created-at"]; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't have to get this from object store every time. There is an in-memory map maintained at Parseable server to avoid this exact same situation. Please use the map.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resolved it in the latest commit .... now the created at data is loaded from the file either on load or once the file is created
@giripriyadarshan there are some more issues with the PR. We can discuss on Slack. Closing this one for now, in favor of #632 |
Fixes #587 .
Description
adds a feature requested
as it is part of the stream's metadata, this was the only approach I thought of
adds a stream_init_time field to LogStreamMetadata struct. the field is initialized with current epoch time
This PR has: