arjunashok commented on code in PR #185:
URL: https://github.com/apache/cassandra-sidecar/pull/185#discussion_r1942003135


##########
server/src/test/integration/org/apache/cassandra/sidecar/routes/StreamStatsIntegrationTest.java:
##########
@@ -123,11 +123,9 @@ void assertStreamStatsResponseOK(HttpResponse<Buffer> 
response, AtomicBoolean ha
         if (streamProgress.totalFilesToReceive() > 0)
         {
             hasStats.set(true);
-            if (streamProgress.totalFilesToReceive() == 
streamProgress.totalFilesReceived() &&
-                streamProgress.totalFilesReceived() > 0)

Review Comment:
   As discussed offline, this is not a bug in Cassandra, but the bytes/files 
metrics reset to 0 once the session is completed. The failure is because the 
files received is 0 at this point, so it's purely a timing issue.



-- 
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]

Reply via email to