cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Patterson (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-5096) Transient schema disagreement error while under high concurrency
Date Tue, 01 Jan 2013 09:42:12 GMT
Tyler Patterson created CASSANDRA-5096:

             Summary: Transient schema disagreement error while under high concurrency
                 Key: CASSANDRA-5096
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.1.8
         Environment: ccm, dtest, ubuntu, C*1.1 (commit 8a3b291)
            Reporter: Tyler Patterson

To duplicate:
 - Create a 4-node cluster
 - Create 4 threads, then create keyspaces or columnfamilies as fast as possible from each
 - You will usually get an error "Schema versions disagree, (try again later)"
 - Here is example code to duplicate the issue:

 - Hamilton originally found this error while testing solr:
 - No errors were observed in the log of any of the nodes
 - The schemas do not disagree after the failure

ERROR: apply changes to many nodes concurrently.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/", line 197, in runTest
  File "/home/automaton/cassandra-dtest/", line 206, in wrapped
  File "/home/automaton/cassandra-dtest/", line 398, in inner_func
    self.create_ks(cursor, ks_name, node_num)
  File "/home/automaton/cassandra-dtest/", line 191, in create_ks
    cursor.execute(query % (name, 'SimpleStrategy', 'strategy_options:replication_factor=%d'
% rf))
  File "/usr/local/lib/python2.7/dist-packages/cql/", line 80, in execute
    response = self.get_response(prepared_q, cl)
  File "/usr/local/lib/python2.7/dist-packages/cql/", line 80, in get_response
    return self.handle_cql_execution_errors(doquery, compressed_q, compress)
  File "/usr/local/lib/python2.7/dist-packages/cql/", line 100, in handle_cql_execution_errors
    raise cql.IntegrityError("Schema versions disagree, (try again later).")
IntegrityError: Schema versions disagree, (try again later).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message