Skip to content

Conversation

@michalhosna
Copy link
Contributor

@michalhosna michalhosna commented Nov 6, 2025

#1315 Follow up.

Resubmitting my late-review proposal. I suspect my comment was ignored because getting a wire-format change into main without late unnecessary editorial discussion is good. That's why I am resubmitting. Editors, if I got that wrong, and you like the current wording, feel free to close this.

I am not sure where the last-minute change of 2^62-1 to 2^64-1 came from. I think allowing bigger value than is encodable in a single delta is wrong. It doesn't really add any value and makes the handling complex, how is one supposed to encode it if needed without prior pairs? If I understand that wrongly and there is need for 2^64-1 I think there should be an explanation somewhere.

I do think the size limit should be enforced for all Key-Value-Pairs.

@afrind
Copy link
Collaborator

afrind commented Nov 7, 2025

We bumped it to 2^64-1 now so we wouldn't forget when we made VARINT_MAX bigger in #1016

@michalhosna michalhosna force-pushed the mh/kvpair-delta-encoding-editorial branch from 7b87fd8 to e611172 Compare November 7, 2025 12:09
@michalhosna
Copy link
Contributor Author

We bumped it to 2^64-1 now so we wouldn't forget when we made VARINT_MAX bigger in #1016

Ok, that makes sense. Sorry. I didn't know that merging that is close.

@afrind afrind added the Editorial The draft is difficult to understand on a specific point, or it is open to multiple interpretations. label Nov 8, 2025
@afrind afrind added the Merge Ready Has the requisite number of approvals; all comments addressed. label Nov 8, 2025
Copy link
Collaborator

@ianswett ianswett left a comment

Choose a reason for hiding this comment

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

Thanks, this looks good. I didn't realize quite how much text ended up in the Parameters section.

@afrind afrind merged commit ebbed92 into moq-wg:main Nov 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Editorial The draft is difficult to understand on a specific point, or it is open to multiple interpretations. Merge Ready Has the requisite number of approvals; all comments addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants