jakubzytka commented on code in PR #3064:
URL: https://github.com/apache/cassandra/pull/3064#discussion_r1467732945
##########
src/java/org/apache/cassandra/transport/Dispatcher.java:
##########
@@ -191,7 +220,20 @@ else if (backpressure == Overload.BYTES_IN_FLIGHT)
Message.logger.trace("Received: {}, v={}", request,
connection.getVersion());
connection.requests.inc();
- Message.Response response = request.execute(qstate, startTimeNanos);
+ long cqlStartTimeNanos;
+ Config.CQLStartTime cqlStartTime =
DatabaseDescriptor.getCQLStartTime();
+ switch (cqlStartTime)
+ {
+ case QUEUE:
+ cqlStartTimeNanos = request.createdAtNanos;
Review Comment:
While I'll support this change, it makes
https://issues.apache.org/jira/browse/CASSANDRA-19330 very easy to hit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]