forked from apache/cassandra
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add coordinator MEMORY_BYTES sensor for reads #1452
Draft
aymkhalil
wants to merge
56
commits into
main
Choose a base branch
from
cndb-11544
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
54b3b28
CNDB-8501 Propagate request sensors via native CQL custom payload
aymkhalil 7613307
Propagate READ_BYTES only
aymkhalil c755d86
Merge branch 'main' into cndb-8501
aymkhalil ee9566e
Add WRITE_BYTES and customize header prefix
aymkhalil 8bf72a9
Fix typo
aymkhalil 1e3092a
Fix CounterMutationCallbackTest
aymkhalil 55454d9
Track replica sensors in ResponseVerbHandler + refactor custom sensor…
aymkhalil f8a1fc6
Add ReplicaSensorsTrackedTest unit tests, more tests in SensorsTest d…
aymkhalil 7c19ca5
Fix CounterMutationCallbackTest
aymkhalil 2373ede
Cleanup
aymkhalil 1311836
Remove unnecessary instanceof check
aymkhalil 78ef0b5
SensorEncoder java docs
aymkhalil 42a41f2
Address generic feedback (javadocs, code style, leftovers, class pack…
aymkhalil 31dfa8f
Add SensorEncoder interface
aymkhalil fe0628b
table -> global everywhere
aymkhalil 7a9c72f
Register sensors before the mutate call
aymkhalil 42b8ebf
Add to instead of replacing custom payload
aymkhalil 0a9b1c9
Avpid copying customPayload map for now
aymkhalil 32ee16e
Refactor RequestSensorsFactory to SensorsFactory
aymkhalil 034183f
SensorsCustomParams java docs
aymkhalil d39b40a
Propagate CAS sensors
aymkhalil bd952b4
Propagate batch insert sensors
aymkhalil dfafba6
Propagate range query sensors
aymkhalil b9b4f53
Refactor SensorsTest dtest
aymkhalil e01c266
Minor types + refactoring of raw type usages
aymkhalil 26b8500
Merge branch 'main' into cndb-8501
aymkhalil f137fa4
Fix race condition when RequestCallback signals completion before sen…
aymkhalil f9c7af5
Update SensorsFactory#createRequestSensors to accept array of keyspac…
aymkhalil 833fd89
Decouple WriteCallbackInfo#shouldHint from mutation nullability & int…
aymkhalil 0b74852
erge branch 'main' into cndb-8501
aymkhalil 6287335
Add Counter mutation dtest
aymkhalil d4a3d6e
Fix Invalid test class 'org.apache.cassandra.distributed.test.sensors…
aymkhalil 35ba7ce
Squash AbstractSensorsTest & SensorsTest into one class
aymkhalil bc11b24
Rename REQUEST_SENSORS_VIA_NATIVE_PROTOCOL -> REQUEST_VIA_NATIVE_PROT…
aymkhalil 0bc81cd
Fix typos acutal -> actual
aymkhalil b752ae8
Collect unique contexts from batch statements for adding sensors
aymkhalil e082a6f
Don't inline if for readability
aymkhalil 118d27c
Reuse addSensorsToInternodeResponse in CounterMutationCallback
aymkhalil d9d70c0
Refactor RequestCallbacks#getIMutaiton to iMutation()
aymkhalil e4e18fc
Fix ActiveSensorsFactory javadocs
aymkhalil a77b5e6
Switch from ByteBuffer.allocate to ByteBuffer.wrap to spare some memo…
aymkhalil 425d27b
Fix SensorsFactory javadocs
aymkhalil be77507
Fix SensorsCustomParams javadocs
aymkhalil b4b0076
Remove leading li tag spaces in SensorsFactory
aymkhalil 6682ba8
Remove extra colon in StorageProxy
aymkhalil 670f755
Better methods names in ReplicaSensorsTrackingTest
aymkhalil 795d089
Merge branch 'main' into cndb-8501
aymkhalil 98c0731
Refactor SensorEncoder methods to return optional & have better names
aymkhalil ff97dec
CNDB-11544 Add coordinator MEMORY_BYTES sensor for reads
aymkhalil e65faa9
Add coordinator INTERNODE_BYTES sensor for reads
aymkhalil 4123198
Sync sensors on finally blocks
aymkhalil 050ea94
Revert "Add coordinator INTERNODE_BYTES sensor for reads"
aymkhalil 9f345e8
Add dtest for read
aymkhalil bc05df7
MEMORY_BYTES -> IN_MEMORY_BYTES
aymkhalil c56d960
Fix testSensorsTrackedForReadCallback by creating concrete DataResponse
aymkhalil cfc8278
Fix NPE when calling message#serializedSize
aymkhalil File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed this is legacy verb
REQUEST_RSP
: