Skip to content

drpcmanager: use atomic counter for client stream ID generation#46

Open
shubhamdhama wants to merge 1 commit intoshubham/use-stream-finishedfrom
shubham/use-atomic-counter
Open

drpcmanager: use atomic counter for client stream ID generation#46
shubhamdhama wants to merge 1 commit intoshubham/use-stream-finishedfrom
shubham/use-atomic-counter

Conversation

@shubhamdhama
Copy link
Copy Markdown

Decouple client stream ID assignment from sbuf, which tracks the latest
stream object. This is a step toward removing sbuf in favor of the stream
registry.

@shubhamdhama shubhamdhama force-pushed the shubham/use-stream-finished branch from 779b184 to 341397a Compare March 30, 2026 14:07
@shubhamdhama shubhamdhama force-pushed the shubham/use-atomic-counter branch from f5869a5 to f204e04 Compare March 30, 2026 14:07
Decouple client stream ID assignment from sbuf, which tracks the latest
stream object. This is a step toward removing sbuf in favor of the stream
registry.
@shubhamdhama shubhamdhama force-pushed the shubham/use-stream-finished branch from 341397a to dcda07e Compare March 30, 2026 14:25
@shubhamdhama shubhamdhama force-pushed the shubham/use-atomic-counter branch from f204e04 to 6abe605 Compare March 30, 2026 14:25
Copy link
Copy Markdown

@cthumuluru-crdb cthumuluru-crdb left a comment

Choose a reason for hiding this comment

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

I wish it was not called the lastStreamID since it is capturing the stream ID that's latest. Lets add some comments on the variable for now to suggest it's the latest stream ID that's consumed.

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