Python Orientdb挂起用于使用群集的插入查询

Python Orientdb挂起用于使用群集的插入查询,python,orientdb,Python,Orientdb,我是OrientDB的新手。我们试图在orientDB上创建多个集群。我们用来实现相同功能的代码片段如下所示 client.command("ALTER CLASS sample_class ADDCLUSTER sample_cluster") client.command("insert into sample_class cluster sample_cluster set x = '1'") 第一个命令执行良好。但orientDB在尝试执行第二个命令时挂起。我正在使用OrientDB

我是OrientDB的新手。我们试图在orientDB上创建多个集群。我们用来实现相同功能的代码片段如下所示

client.command("ALTER CLASS sample_class ADDCLUSTER sample_cluster")
client.command("insert into sample_class cluster  sample_cluster set x = '1'")

第一个命令执行良好。但orientDB在尝试执行第二个命令时挂起。我正在使用OrientDB“pyorient”的python包运行这些sql查询。有人能帮我调试这个问题吗?

我想您要查找的命令是:

insert into cluster:sample_cluster set x = '1'