worryg0d commented on code in PR #1822:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1822#discussion_r1805051532


##########
conn.go:
##########
@@ -378,10 +379,19 @@ func (s *startupCoordinator) setupConn(ctx 
context.Context) error {
        }
        defer cancel()
 
+       // Only for proto v5+.
+       // Indicates if STARTUP has been completed.
+       // github.com/apache/cassandra/blob/trunk/doc/native_protocol_v5.spec
+       // 2.3.1 Initial Handshake
+       //      In order to support both v5 and earlier formats, the v5 framing 
format is not
+       //  applied to message exchanges before an initial handshake is 
completed.
+       startupCompleted := &atomic.Bool{}

Review Comment:
   Then I'll leave it by the time when we receive some feedback on it



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