[ https://issues.apache.org/jira/browse/CASSANDRA-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691621#comment-13691621 ]
Vijay edited comment on CASSANDRA-5014 at 6/23/13 9:57 PM: ----------------------------------------------------------- Attached patch gets input from the user in micro second and converts it to nano second precision for internal use. Outliers: * I have changed the Messaging service to send the long (earlier was sending lower part of Long) which i think is too small for nano second. All the tests passes, Not sure if we want to change the scope of this ticket to speculative retry alone, Let me know. Thanks! was (Author: vijay2...@yahoo.com): Attached patch gets input from the user in micro second and converts it to nano second precision for internal use. Outliers: * I have changed the Messaging service to send the long (earlier was sending lower part of integer) which i think is too small for nano second. All the tests passes, Not sure if we want to change the scope of this ticket to speculative retry alone, Let me know. Thanks! > Convert timeout from milli second to micro second. > -------------------------------------------------- > > Key: CASSANDRA-5014 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5014 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 2.0 beta 1 > Reporter: Vijay > Assignee: Vijay > Priority: Trivial > Fix For: 2.0 beta 1 > > Attachments: 0001-CASSANDRA-5014.patch > > > Convert all the timeouts to microseconds. > Jonathan's comment from CASSANDRA-4705 > {quote} > millis may be too coarse a grain here, especially for Custom settings. > Currently an in-memory read will typically be under 2ms and it's quite > possible we can get that down to 1 if we can purge some of the latency > between stages. Might as well use micros since Timer gives it to us for free > {quote} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira