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

Versioned log streams streams #1420

Merged
merged 5 commits into from
Feb 28, 2023
Merged

Versioned log streams streams #1420

merged 5 commits into from
Feb 28, 2023

Conversation

emilk
Copy link
Member

@emilk emilk commented Feb 27, 2023

This encodes the full Rerun version in our log streams (networked and .rrd files). When loading a stream a warning will be logged if the versions are potentially incompatible.

This PR also constrains the Rerun version to always be on the pattern X.Y.Z[-alpha.W]. With (X,Y,Z,W)<255. This allows us to always encode the version in 32 bits.

Closes #873

Checklist

@emilk emilk added enhancement New feature or request 🐍 Python API Python logging API 🦀 Rust API Rust logging API 📺 re_viewer affects re_viewer itself labels Feb 27, 2023
@teh-cmc teh-cmc self-requested a review February 28, 2023 07:26
@emilk emilk merged commit c09cb41 into main Feb 28, 2023
@emilk emilk deleted the emilk/versioned-streams branch February 28, 2023 08:07
emilk added a commit that referenced this pull request Mar 2, 2023
* Parse the rust version into a semver-like struct

* Encode rust version in LogMsg streams, and warn on incompatibility

* Add explanation of how to treat alpha-releases

* Better error message

* Fix link in docstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🐍 Python API Python logging API 📺 re_viewer affects re_viewer itself 🦀 Rust API Rust logging API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Versioned .rrd files and streams
2 participants