inconsistent-schema-changes

Bug #1382593 reported by Illia Khudoshyn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MagnetoDB
Fix Released
Critical
Illia Khudoshyn

Bug Description

MagnetoDB seems to create/delete tables with default consistency level which is not 'QUORUM'

Changed in magnetodb:
assignee: nobody → Illia Khudoshyn (ikhudoshyn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnetodb (master)

Fix proposed to branch: master
Review: https://review.openstack.org/129300

Changed in magnetodb:
status: New → In Progress
Changed in magnetodb:
milestone: none → kilo-1
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnetodb (master)

Reviewed: https://review.openstack.org/129300
Committed: https://git.openstack.org/cgit/stackforge/magnetodb/commit/?id=3bcf0fcbfaa2a2cb964c7b43196b4a53fe8da7dd
Submitter: Jenkins
Branch: master

commit 3bcf0fcbfaa2a2cb964c7b43196b4a53fe8da7dd
Author: Illia Khudoshyn <email address hidden>
Date: Fri Oct 17 18:30:57 2014 +0300

    Use consistency level QUORUM for table operations

    Change-Id: I52c05b8636842a0076e2cfa03de68155d2594355
    Fixes-bug: 1382593

Changed in magnetodb:
status: In Progress → Fix Committed
Revision history for this message
Ilya Sviridov (isviridov) wrote :
Download full text (786.2 KiB)

2014-10-17 13:26:12.775 1032 ERROR magnetodb.common.cassandra.cluster_handler [-] Error executing query CREATE TABLE "u_9b06a6ee4f154d53b1d80ea3f84142d6"."u_d.x.d" ("u_hash" text,dyn_attr_dat map<text, blob>,dyn_attr_typ map<text, text>,attr_exist map<text, int>,PRIMARY KEY ("u_hash")):code=2200 [Invalid query] message=""u_d.x.d" is not a valid column family name (must be alphanumeric character only: [0-9A-Za-z]+)"
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/magnetodb/common/cassandra/cluster_handler.py", line 117, in execute_query
    return self.__session.execute(query)
  File "/usr/lib/python2.7/dist-packages/cassandra/cluster.py", line 1281, in execute
    result = future.result(timeout)
  File "/usr/lib/python2.7/dist-packages/cassandra/cluster.py", line 2744, in result
    raise self._final_exception
InvalidRequest: code=2200 [Invalid query] message=""u_d.x.d" is not a valid column family name (must be alphanumeric character only: [0-9A-Za-z]+)"

2014-10-17 13:26:12.776 1032 ERROR oslo.messaging.notification.magnetodb.table.create.error [-] {"priority": "ERROR", "event_type": "magnetodb.table.create.error", "timestamp": "2014-10-17 13:26:12.776313", "publisher_id": "magnetodb.kvsmgntdb0001", "payload": {"message": "code=2200 [Invalid query] message=\"\"u_d.x.d\" is not a valid column family name (must be alphanumeric character only: [0-9A-Za-z]+)\"", "table_name": "d.x.d"}, "message_id": "d8bbb74b-1713-4fe2-afd9-dff804c0f02a"}
2014-10-17 13:26:12.808 1032 ERROR __main__ [-] Create table 'd.x.d' failed. code=2200 [Invalid query] message=""u_d.x.d" is not a valid column family name (must be alphanumeric character only: [0-9A-Za-z]+)"
2014-10-17 13:52:58.532 1032 ERROR magnetodb.common.cassandra.cluster_handler [-] Error executing query DROP TABLE "u_9b06a6ee4f154d53b1d80ea3f84142d6"."u_testtest1":code=2200 [Invalid query] message="unconfigured columnfamily u_testtest1"
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/magnetodb/common/cassandra/cluster_handler.py", line 117, in execute_query
    return self.__session.execute(query)
  File "/usr/lib/python2.7/dist-packages/cassandra/cluster.py", line 1281, in execute
    result = future.result(timeout)
  File "/usr/lib/python2.7/dist-packages/cassandra/cluster.py", line 2744, in result
    raise self._final_exception
InvalidRequest: code=2200 [Invalid query] message="unconfigured columnfamily u_testtest1"

2014-10-17 13:52:58.533 1032 ERROR oslo.messaging.notification.magnetodb.table.delete.error [-] {"priority": "ERROR", "event_type": "magnetodb.table.delete.error", "timestamp": "2014-10-17 13:52:58.533494", "publisher_id": "magnetodb.kvsmgntdb0001", "payload": {"message": "code=2200 [Invalid query] message=\"unconfigured columnfamily u_testtest1\"", "table_name": "testtest1"}, "message_id": "de9fa0c9-f485-4d0b-a8bd-82ff2e344bce"}
2014-10-17 13:52:58.565 1032 ERROR __main__ [-] Delete table 'testtest1' failed. code=2200 [Invalid query] message="unconfigured columnfamily u_testtest1"
2014-10-17 14:27:44.934 15004 DEBUG stevedore.extension [-] found extension EntryPoint.parse('qpid = oslo.messaging._drivers.impl_qpid:QpidDriver') _lo...

Changed in magnetodb:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.