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

kvserver: account for replica follower write bytes #94444

Closed

Conversation

kvoli
Copy link
Collaborator

@kvoli kvoli commented Dec 29, 2022

Previously, only bytes written at the leaseholder were accounted for on a replica. Now, follower replicas will record the bytes written.

Informs: #91152

Release note: None

@kvoli kvoli self-assigned this Dec 29, 2022
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@kvoli kvoli marked this pull request as ready for review January 3, 2023 19:44
@kvoli kvoli requested a review from a team January 3, 2023 19:44
Copy link
Contributor

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

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

Is this going to double-count the written bytes on the leaseholder, because we're counting them both above and below Raft?

Previously, only bytes written at the leaseholder were accounted for on
a replica. Now, follower replicas will record the bytes written.

Informs: cockroachdb#91152

Release note: None
@kvoli kvoli force-pushed the 221229.correct-replica-write-bytes branch from 8cefe53 to a0604b7 Compare January 12, 2023 15:30
@kvoli
Copy link
Collaborator Author

kvoli commented Aug 29, 2024

We should still tackle this. The patch is stale, closing for now.

@kvoli kvoli closed this Aug 29, 2024
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