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

Fetch schema and stream from obj store #745

Merged
merged 5 commits into from
Apr 8, 2024

Conversation

Eshanatnight
Copy link
Contributor

Description

Schema now is fetched from the Object Store
And Stream Info for ingesters is no longer synced/updated at creation time, rather at ingest time, if stream info does not exists
Ingester Updates the stream info from store


This PR has:

  • been tested to ensure log ingestion and log query works.
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added documentation for new or modified features or behaviors.

fetch stream info from store if stream info is not present in memory.
error if stream info does not exist in s3 and memory
Copy link
Contributor

@nikhilsinhaparseable nikhilsinhaparseable left a comment

Choose a reason for hiding this comment

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

looks good to merge

@nitisht nitisht merged commit eddd332 into parseablehq:main Apr 8, 2024
6 checks passed
@Eshanatnight Eshanatnight deleted the fetch-schema-from-obj-store branch April 8, 2024 11:46
nikhilsinhaparseable pushed a commit to nikhilsinhaparseable/parseable that referenced this pull request Apr 20, 2024
* Refactor object storage to use filter_func instead of 
starts_with_pattern in get_objects method
* Refactor fetch_schema method to use object storage instead of HTTP requests
* Refactor metadata.rs and storage.rs
* refactor ingest logic
* fetch stream info from store if stream info is not present in memory.
error if stream info does not exist in S3 and memory
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.

3 participants