2016-07-15 5 views
1

にインデックスを作成するときに、私は次のように使用して、私のArangoDBクラスタのコーディネータに接続することができる午前:ロック・タイムアウトArangoDB

sudo arangosh --server.endpoint tcp://10.32.0.15:1027 

すべては、私が作成しようとする場合を除き、(CRUD、クエリなど)の作品インデックスIは、 "ロック・タイムアウト" のエラーが表示されます。

10.32.0.15:[email protected]_system> db.imdb_vertices.ensureIndex({ type: "skiplist", fields: ["name"] }) 
JavaScript exception in file '/usr/share/arangodb3/js/client/modules/@arangodb/arangosh.js' at 100,7: ArangoError 18: : lock timeout 
!  throw error; 
! ^
stacktrace: ArangoError: : lock timeout 
    at Object.exports.checkRequestResult (/usr/share/arangodb3/js/client/modules/@arangodb/arangosh.js:98:21) 
    at ArangoCollection.ensureIndex (/usr/share/arangodb3/js/client/modules/@arangodb/arango-collection.js:738:12) 
    at <shell command>:1:18 

10.32.0.15:[email protected]_system> 

私はHTTPを介してインデックスを作成しようとすると、私は同じエラーを取得:

$ curl -X POST --data-binary @- --dump - http://10.32.0.15:1027/_api/index?collection=imdb_vertices << EOF 
{ 
    "type" : "skiplist", 
    "fields" : [ 
     "name", 
     "genre" 
    ] 
} 
EOF 

HTTP/1.1 400 Bad Request 
Content-Type: application/json; charset=utf-8 
Server: ArangoDB 
Connection: Keep-Alive 
Content-Length: 71 

{"error":true,"code":400,"errorNum":18,"errorMessage":": lock timeout"} 

ドキュメントからは、「ロックを待っているタイムアウトが発生したときに発生します」と表示されます。エラーの原因としてリストされています。しかし、私は解決策を見つけることができません。何かヒント?

ありがとうございます!

答えて

1

解決済みArangoDB Google Groupフォーラムのhereです。

関連する問題