gocql
gocql copied to clipboard
[#591] Merge upstream commit `63b6d78`: "CASSGO 1 Support for Native Protocol 5"
Merging upstream commit 63b6d78:
Native Protocol 5 was introduced with the release of C* 4.0. This PR provides full support for a newer version including new format frames (segments), and new fields for QUERY, BATCH, and EXECUTE messages. Also, this PR brings changes to the Compressor interface to follow an append-like design. One more thing, it bumps Go version to the newer 1.19.
Patch by Bohdan Siryk; Reviewed by João Reis, James Hartig for CASSGO-1 CASSGO-30
These changes introduce functionality necessary to implement SCYLLA_USE_METADATA_ID protocol extension (see #527).
Extra changes:
- Extracting CRC functionality into a package.
- Removing
headSizefromframer. - Adding validation to
ReadTimeoutvalue inClusterConfig - Adding
.vscodeto.gitignore.