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

Don't clear channels on writer close() #1194

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kyle-basis
Copy link
Contributor

@kyle-basis kyle-basis commented Jul 12, 2024

Changelog

Don't clear channels on writer close(). This matches the behavior schemas has, allowing for stable ids after closing and opening a new file with the same reader. See https://foxglove.slack.com/archives/C02H1JXG3C3/p1720827358364829?thread_ts=1720825408.044619&cid=C02H1JXG3C3

Alternatives to this involve more bookkeeping on the recorder implementation side to re-register all schemas/channels on split.

Docs

None

Description

Manual testing, using Basis. YMMV.

BeforeAfter

This matches the behavior schemas has, allowing for stable ids after closing and opening a new file with the same reader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants