From 8206afa0b12b07845285ab447907145e697407cf Mon Sep 17 00:00:00 2001 From: jsteemann Date: Tue, 4 Apr 2017 11:47:34 +0200 Subject: [PATCH] re-enable index --- js/server/modules/@arangodb/statistics.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/server/modules/@arangodb/statistics.js b/js/server/modules/@arangodb/statistics.js index c8f3fadcc9..ed20a48e9f 100644 --- a/js/server/modules/@arangodb/statistics.js +++ b/js/server/modules/@arangodb/statistics.js @@ -65,9 +65,7 @@ function createStatisticsCollection (name) { } if (collection !== null) { - if (db._engine().name != "rocksdb") { - collection.ensureIndex({ type: 'skiplist', fields: [ 'time' ] }); - } + collection.ensureIndex({ type: 'skiplist', fields: [ 'time' ] }); } return true;