tolbertam commented on code in PR #4699:
URL: https://github.com/apache/cassandra/pull/4699#discussion_r3070164804


##########
conf/cassandra.yaml:
##########
@@ -2682,6 +2682,20 @@ max_security_label_length: 48
 # compressed by dictionary compressor and training_min_frequency is set to 0m 
(the default when unset).
 #unset_training_min_frequency_enabled: true
 
+# Minimum client driver versions. Connections from drivers whose version is 
below
+# the configured minimum will be warned or rejected. Connections that do not 
report
+# a driver name or version are considered valid. The map key is the driver name

Review Comment:
   "unknown"/"unset" implementation looks great to me, thank you!
   
   ```
   2026/04/12 15:21:31 Host: 127.0.0.1
   2026/04/12 15:21:31 Username: cassandra
   2026/04/12 15:21:31 Driver name: Andys Custom Driver
   2026/04/12 15:21:31 Driver version: 3.6.0
   2026/04/12 15:21:31 gocql: received 1 warning(s) from server for frame 
op=ERROR stream=64
   2026/04/12 15:21:31 gocql: warning - Guardrail 
minimum_client_driver_versions violated: Detected unknown driver id: Andys 
Custom Driver.
   2026/04/12 15:21:31 Failed to connect to Cassandra: gocql: unable to create 
session: unable to discover protocol version: Guardrail 
minimum_client_driver_versions violated: Detected unknown driver id: Andys 
Custom Driver.
   ```
   
   ```
   2026/04/12 15:59:04 Host: 127.0.0.1
   2026/04/12 15:59:04 Username: cassandra
   2026/04/12 15:59:04 gocql: received 1 warning(s) from server for frame 
op=ERROR stream=64
   2026/04/12 15:59:04 gocql: warning - Guardrail 
minimum_client_driver_versions violated: Connections with unset driver id's are 
forbidden.
   2026/04/12 15:59:04 Failed to connect to Cassandra: gocql: unable to create 
session: unable to discover protocol version: Guardrail 
minimum_client_driver_versions violated: Connections with unset driver id's are 
forbidden.
   exit status 1
   ```



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