whatyouhide/xandra

java.lang.AssertionError on SELECT query

Closed this issue · 3 comments

Hi,
I'm using Xandra in production with AWS Keyspaces and everything seems to work fine.
I just have a bug with every SELECT query that returns the following error:

{:error, %Xandra.Error{message: "java.lang.AssertionError", reason: :server_failure}}

I've been using Xandra in production for two weeks, and this is happening since 2 days ago.
I'm not able to reproduce the error using a CQL client (TablePlus in my case) or the native AWS Keyspaces CQL editor.

INSERT queries works well, the problem appears only with any SELECT query.

Any idea?
Thanks!

What changed between when you were getting not getting the error and when you started getting the error? Sorry, this is not enough information to debug anything yet :(

That's the problem, I haven't deployed new code nor changed Keyspaces configuration after pushing my Phoenix app to production.
I'm really sorry, I can't provide more information 'cause that's all I have 😞

I'll make some tests with cqerl just to make sure that the error is on the client (or on the server, who knows!)

We can close the ticket 'till I have more info

@micheleriva okay, sounds good, I'll close this. If you will figure out that the problem is Xandra itself, feel free to let us know here. Thanks!