Entered an invalid command and received a socket closed error. the correct behavior is the command should be rejected early and return an invalid command exception.
Category (in the spreadsheet):
1.2 Was there exception thrown? (Exception column in the spreadsheet)
Socket closed error
1.2.1 Were there multiple exceptions?
1.3 Was there a long propagation of the failure?
1.4 Scope of the failure (e.g., single client, all clients, single file, entire fs, etc.)
All client performing this action
Catastrophic? (spreadsheet column)
2. How to reproduce this failure
0.8.0 beta 2
# of Nodes?
2.2 Reproduction procedure
enter invalid create keyspace CQL command (feature start)
2.2.1 Timing order (Order important column)
2.2.2 Events order externally controllable? (Order externally controllable? column)
2.3 Can the logs tell how to reproduce the failure?
2.4 How many machines needed?
Total # of msgs (spreadsheet column)
3. Diagnosis procedure
3.1 Detailed Symptom (where you start)
After entering create keyspace invalid command, immediately received a socket closed error
3.2 Backward inference
Found out the command is invalid.
4. Root cause
Entered invalid command. No error handling.
4.2 Can we automatically test it?
Blocked the invalid command and throws InvalidREquestException.