Skip to content

Conversation

@maedhroz
Copy link
Contributor

No description provided.

@maedhroz
Copy link
Contributor Author

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This codepath seems to be actuated by writes on the MV's base table, so it didn't seem correct to record anything around these metrics.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If this host is a replica, applyCounterMutationOnCoordinator() -> performWrite(), and there we'll mark a local request against the metrics.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it worth being explicit in this comment that the other path will ultimately update the localRequests

@jonmeredith
Copy link
Contributor

Looks like the original test is missing anything to test the counter path.

Copy link
Contributor

Choose a reason for hiding this comment

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

Out of order import

…quests against the client request metrics

patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-17424

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
@maedhroz
Copy link
Contributor Author

Committed as 57ab3af

@maedhroz maedhroz closed this Mar 29, 2022
blambov pushed a commit to blambov/cassandra that referenced this pull request Feb 20, 2025
michaelsembwever pushed a commit to thelastpickle/cassandra that referenced this pull request Jan 7, 2026
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