cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12736) Update the bundled python driver on trunk
Date Tue, 04 Oct 2016 08:40:21 GMT


Stefania commented on CASSANDRA-12736:

The reason for the test hanging is that for some inserts no callback is called. 

I still don't know why commit {{d8d0456}} causes this when running against 4.0, whilst it
is perfectly fine when running against 3.X, however I have found the reason when using the
driver at the latest cassandra_test version and it seems to be fixed locally, once the fix
is applied. The problem is [this commit|]:
for a batch statement containing prepared statements, {{self.prepared_statement}} is None
when we handle a re-prepare answer, cc [~aholmber]. 

I've relaunched the tests using this driver branch:

|[patch|]|[cqlsh tests|]|

I've also made cqlsh copy-from more robust to error callbacks not invoked: if the parent process
detects no activity in 90 seconds, it will abort. We currently also don't set any request
timeout, we should probably use a very high timeout of 60 seconds. Please note: I've *temporarily*
enabled debug logging in the driver and changed {{}} with {{self.printmsg}}
because the test does not print stderr. These should not be committed in the final patch.

Let's see if the Jenkins results are fine now.

> Update the bundled python driver on trunk
> -----------------------------------------
>                 Key: CASSANDRA-12736
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Philip Thompson
>            Assignee: Stefania
>              Labels: cqlsh
>             Fix For: 4.x
> Trunk was recently updated to be version 4.0. The bundled python driver that cqlsh uses
has a bug where it fails to connect to a C* server with a major version number greater than
3. The driver was fixed upstream, and we should pull in the fix.
> [~pauloricardomg] or [~stefania]?

This message was sent by Atlassian JIRA

View raw message