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

Use cqerl as cassandra client library #1145

Merged
merged 2 commits into from
Jan 17, 2017

Conversation

rslota
Copy link
Contributor

@rslota rslota commented Jan 10, 2017

This PR changes Cassandra backend to use cqerl client library instead seestar.

@@ -1,4 +1,5 @@
language: erlang
dist: trusty
Copy link
Member

Choose a reason for hiding this comment

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

Why Trusty specifically?

Copy link
Contributor

Choose a reason for hiding this comment

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

Here's the answer: #1133 (comment) :)

Copy link
Member

Choose a reason for hiding this comment

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

Merci. :)

row_to_uniform_format(#{from_jid := FromJID, message := Msg, id := Id}) ->
SrcJID = unserialize_jid(FromJID),
Packet = stored_binary_to_packet(Msg),
MsgID = Id,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need MsgID? Can we simply return Id or assign id from the input map to MsgID?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, it's just an artefact of refactoring. It'll be gone after next push.

@rslota rslota force-pushed the feature/use-cqerl-as-cassandra-driver branch from d2096a5 to 46eebec Compare January 16, 2017 10:45
@rslota rslota force-pushed the feature/use-cqerl-as-cassandra-driver branch 3 times, most recently from 6fd4c5c to 1e3a3c7 Compare January 16, 2017 14:56
@michalwski michalwski merged commit 17b130c into master Jan 17, 2017
@michalwski
Copy link
Contributor

Thanks!

@michalwski michalwski deleted the feature/use-cqerl-as-cassandra-driver branch January 18, 2017 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants