Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Broken test_speculative_data_request
patch by Berenguer Blasi; reviewed by Brandon Williams for CASSANDRA-17119
- Loading branch information
Showing
3 changed files
with
19 additions
and
3 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
RULE timing of request messages broken down by verb | ||
CLASS org.apache.cassandra.net.MessagingService | ||
METHOD doSend | ||
AT ENTRY | ||
BIND prefix:String = "org.jboss.byteman."; # byteman in strict mode requires the o.j.b prefix | ||
toHost:String = $to.getAddress().toString(); | ||
verb:String = $message.header.verb.toString(); | ||
prop:String = prefix + "|request_verb_timing|" + toHost + "|" + verb; | ||
IF true | ||
DO | ||
System.setProperty(prop, String.valueOf(System.currentTimeMillis())); | ||
ENDRULE |
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