Skip to content

Conversation

@kim
Copy link
Contributor

@kim kim commented Mar 31, 2025

Add a ctor for StreamWriter that returns the segment::Metada alongside the writer. The metadata is extracted anyway, returning it allows callers to avoid a second segment traversal if they want to inspect the it.

Expected complexity level and risk

1

Testing

No functional changes.

Add a ctor for `StreamWriter` that returns the `segment::Metada`
alongside the writer. The metadata is extracted anyway, returning it
allows callers to avoid a second segment traversal if they want to
inspect the it.
@kim kim requested a review from Shubham8287 March 31, 2025 12:56
Copy link
Contributor

@Centril Centril left a comment

Choose a reason for hiding this comment

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

Seems straightforward.

@bfops bfops added the release-any To be landed in any release window label Mar 31, 2025
@kim kim added this pull request to the merge queue Mar 31, 2025
Merged via the queue into master with commit 8dfab1c Mar 31, 2025
15 of 16 checks passed
@kim kim deleted the kim/commitlog/stream-writer-with-meta branch March 31, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants