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

c2c: teach event stream to decode and send span config updates #107400

Closed
wants to merge 3 commits into from

Conversation

msbutler
Copy link
Collaborator

@msbutler msbutler commented Jul 21, 2023

If the user creates a stream client for span config updates, they will now
receive span config updates in their subscription.

Informs #106823

Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@msbutler msbutler changed the title Butler c2c mr zone c2c: teach event stream to decode and send span config updates Jul 21, 2023
@msbutler
Copy link
Collaborator Author

only the last commit is relevant. The first two are included in #107077

// - delete a span config record
// - add several span config records in one accessor batch
// - update a subset of the tenant key space

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

noting to myself the additional test cases I want to add.

@msbutler
Copy link
Collaborator Author

unrelated flakes

@msbutler msbutler marked this pull request as ready for review July 24, 2023 10:29
@msbutler msbutler requested review from a team as code owners July 24, 2023 10:29
@rafiss rafiss removed the request for review from a team July 26, 2023 14:46
This patch fixes a papercut where we were storing pointers to spans in the
producer job proto. This isn't a correctness bug, as protocol buffers will
dereference pointers to objects during unmarshalling, but rather, it seems
dangerous to work with slices of pointers to spans.

Release note: None
@msbutler msbutler force-pushed the butler-c2c-mr-zone branch 5 times, most recently from bc2c83f to 6979adb Compare July 26, 2023 23:41
@msbutler msbutler marked this pull request as draft July 26, 2023 23:53
If the user creates a stream client for span config updates, they will now
receive span config updates in their subscription.

Informs cockroachdb#106823

Release note: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants