Commit 93295ca5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

CMFActivity: use ROCKSDB instead of InnoDB.

parent 09344f72
...@@ -278,7 +278,7 @@ CREATE TABLE %s ( ...@@ -278,7 +278,7 @@ CREATE TABLE %s (
KEY (`active_process_uid`), KEY (`active_process_uid`),
KEY (`method_id`, `processing_node`), KEY (`method_id`, `processing_node`),
KEY (`tag`, `processing_node`) KEY (`tag`, `processing_node`)
) ENGINE=InnoDB""" % self.sql_table ) ENGINE=ROCKSDB""" % self.sql_table
def initialize(self, activity_tool, clear): def initialize(self, activity_tool, clear):
db = activity_tool.getSQLConnection() db = activity_tool.getSQLConnection()
......
...@@ -71,7 +71,7 @@ CREATE TABLE %s ( ...@@ -71,7 +71,7 @@ CREATE TABLE %s (
KEY (`active_process_uid`), KEY (`active_process_uid`),
KEY (`method_id`), KEY (`method_id`),
KEY (`tag`) KEY (`tag`)
) ENGINE=InnoDB""" % self.sql_table ) ENGINE=ROCKSDB""" % self.sql_table
def generateMessageUID(self, m): def generateMessageUID(self, m):
return (tuple(m.object_path), m.method_id, m.activity_kw.get('signature'), return (tuple(m.object_path), m.method_id, m.activity_kw.get('signature'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment