Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support protocol: Cassandra #1959

Merged
merged 30 commits into from
Aug 17, 2016
Merged

Support protocol: Cassandra #1959

merged 30 commits into from
Aug 17, 2016

Conversation

medcl
Copy link
Contributor

@medcl medcl commented Jul 5, 2016

This PR is for this issue:
#1958

@medcl medcl force-pushed the cassandra branch 5 times, most recently from 5f26019 to 9e4ce7e Compare July 5, 2016 13:13
@andrewkroh
Copy link
Member

jenkins, test it again, please

- package: https://github.com/go-inf/inf
version: v0.9.0
- package: github.com/golang/snappy
version: d9eb7a3d35ec988b8585d4a0068e462c27d28380
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

snappy is already included at line 53.

@urso
Copy link

urso commented Jul 8, 2016

run make clean-vendor to remove some vendored files introduced. e.g. make clean-vendor will remove unit tests from vendored packages.

}
cassandra.pub.results = results

isDebug = logp.IsDebug("http")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace 'http' with cassandra!

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug in generator!

@urso
Copy link

urso commented Jul 8, 2016

Looks quite good. Just some minor issues.

Have you considered to fork the 'framer' of from gocql (or refactor gocql a little to make Framer available)? Would be nice to have the backing CQL parser vendored instead code being copied right into the module.

@medcl medcl added in progress Pull request is currently in progress. and removed review labels Jul 22, 2016
logp.Debug("cassandra", "start to parse header")
}
if !p.buf.Avail(9) {
logp.Err("not enough head bytes, ignore")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is no error, but an indicator no complete frame header being in buffer. downgrade to Debug

@medcl medcl force-pushed the cassandra branch 2 times, most recently from fbceb7b to b647852 Compare August 17, 2016 13:06
@urso urso merged commit 1e96bd0 into elastic:master Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants