Skip to content

change BSUP version to use major-minor pattern - #7532

Merged
mccanne merged 2 commits into
mainfrom
bsup-version
Oct 26, 2026
Merged

mccanne merged 2 commits into
mainfrom
bsup-version

Conversation

@mccanne

@mccanne mccanne commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread bsup/header.go Outdated
func (r *RowHeader) Deserialize(bytes [RowHeaderSize]byte) {
r.Version = binary.LittleEndian.Uint16(bytes[4:])
r.Version.Major = bytes[4]
r.Version.Minor = bytes[5]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm a little concerned that we are boxed in with only have 256 minor changes until we have to bump the major- perhaps we should make the minor version field a uint16?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

How about 10 bits for minor and 6 bits for major?

@mccanne
mccanne merged commit f4e0157 into main Oct 26, 2026
4 checks passed
@mccanne
mccanne deleted the bsup-version branch October 26, 2026 22:00
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.

2 participants