Skip to content

refactor: simply store StreamType#1136

Merged
nitisht merged 5 commits into
parseablehq:mainfrom
de-sh:stream-type
Jan 29, 2025
Merged

refactor: simply store StreamType#1136
nitisht merged 5 commits into
parseablehq:mainfrom
de-sh:stream-type

Conversation

@de-sh

@de-sh de-sh commented Jan 27, 2025

Copy link
Copy Markdown
Contributor

Fixes #XXXX.

Description

No functional changes, just saves on cost of conversion into String


How to test

  1. Start a parseable instance without this change.
  2. Create a stream, push data onto it.
  3. Shutdown parseable, update binary with this change.
  4. Restart parseable with same config as before, ensure internal streams are considered as such and no conflicts in working.

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.

@coveralls

coveralls commented Jan 27, 2025

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 13025754244

Details

  • 0 of 21 (0.0%) changed or added relevant lines in 6 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.002%) to 12.949%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/handlers/http/modal/utils/logstream_utils.rs 0 1 0.0%
src/storage/mod.rs 0 1 0.0%
src/storage/object_storage.rs 0 1 0.0%
src/handlers/http/modal/query/querier_logstream.rs 0 3 0.0%
src/metadata.rs 0 7 0.0%
src/handlers/http/logstream.rs 0 8 0.0%
Totals Coverage Status
Change from base Build 13025432081: -0.002%
Covered Lines: 2477
Relevant Lines: 19129

💛 - Coveralls

@nikhilsinhaparseable nikhilsinhaparseable left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good

@nitisht nitisht merged commit 5294779 into parseablehq:main Jan 29, 2025
@de-sh de-sh deleted the stream-type branch January 29, 2025 18:25
nitisht pushed a commit that referenced this pull request Feb 1, 2025
Signed-off-by: Devdutt Shenoi <devdutt@parseable.com>
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.

4 participants