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

server: cleanup span download function #117017

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

dt
Copy link
Member

@dt dt commented Dec 22, 2023

  • Move the tasks into their own free functions for readability and future testability.
  • Use GoAndWait to avoid mistakes around what runs in/out of group.
  • Use a nested group instead of counting channel sends for worker termination check.
  • Add commentary throughout.

Release note: none.
Epic: none.

@dt dt requested review from stevendanna and adityamaru December 22, 2023 16:14
Copy link

blathers-crl bot commented Dec 22, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@dt
Copy link
Member Author

dt commented Dec 22, 2023

This is one where hide whitespace makes the side-by-side diff a good deal cleaner.

@dt dt requested a review from msbutler December 22, 2023 17:26
@dt dt force-pushed the or/download-cleanup branch from c6974b5 to cbc151d Compare December 22, 2023 17:31
Release note: none.
Epic: none.
@dt dt force-pushed the or/download-cleanup branch from cbc151d to 82baeca Compare January 9, 2024 18:50
Copy link
Collaborator

@msbutler msbutler left a comment

Choose a reason for hiding this comment

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

Nice!

@dt
Copy link
Member Author

dt commented Jan 9, 2024

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Jan 9, 2024

Build succeeded:

@craig craig bot merged commit 8793a26 into cockroachdb:master Jan 9, 2024
9 checks passed
@dt dt deleted the or/download-cleanup branch January 10, 2024 12:18
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.

3 participants