Skip to content

kv/bulk: track send-wait by store#79612

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
dt:wait-by-store
Apr 9, 2022
Merged

kv/bulk: track send-wait by store#79612
craig[bot] merged 2 commits intocockroachdb:masterfrom
dt:wait-by-store

Conversation

@dt
Copy link
Copy Markdown
Contributor

@dt dt commented Apr 7, 2022

No description provided.

@dt dt requested a review from tbg April 7, 2022 20:20
@dt dt requested a review from a team as a code owner April 7, 2022 20:20
@dt dt requested a review from a team April 7, 2022 20:20
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Member

@tbg tbg left a comment

Choose a reason for hiding this comment

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

Looks good, had a few comments. We could argue about whether it's good for above-KV clients to set the ClientRangeInfo struct, but I think what you've chosen to do is pragmatic. Adding a new top-level bool doesn't really make it any better, if we really wanted to be super clean, then the ClientRangeInfo field wouldn't exist on the datastructures above DistSender, but here it is, so might as well use it.
I also glanced over the other stuff in this PR and it looked good but you'll want someone else to sign off on it.

@dt dt requested a review from adityamaru April 8, 2022 11:54
@dt
Copy link
Copy Markdown
Contributor Author

dt commented Apr 8, 2022

Adding @adityamaru to look at the first, non-kv commit that just combines the two stats structs.

@adityamaru
Copy link
Copy Markdown
Contributor

First commit LGTM, thanks for the cleanup it's much more readable.

@dt dt force-pushed the wait-by-store branch 2 times, most recently from 502472b to 940adc6 Compare April 8, 2022 17:32
Copy link
Copy Markdown
Member

@tbg tbg left a comment

Choose a reason for hiding this comment

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

Thanks!

Reviewed 2 of 5 files at r1, 6 of 6 files at r3, 9 of 9 files at r4, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @adityamaru)

@dt dt force-pushed the wait-by-store branch from 940adc6 to a36a8d8 Compare April 8, 2022 18:48
@dt
Copy link
Copy Markdown
Contributor Author

dt commented Apr 8, 2022

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 8, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 9, 2022

Build succeeded:

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.

4 participants