1
0
Fork 0

only offer indexes of type "persistent" in the web UI for the RocksDB (#9046)

This commit is contained in:
Jan 2019-05-21 10:11:07 +02:00 committed by GitHub
parent d5ecdd143a
commit a61dd2895e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,12 @@
devel
-----
* disable selection of index types "hash" and "skiplist" in the web interface when
using the RocksDB engine. The index types "hash", "skiplist" and "persistent" are
just aliases of each other with the RocksDB engine, so there is no need to offer all
of them. After initially only offering "hash" indexes, we decided to only offer
indexes of type "persistent", as it is technically the most appropriate description.
* removed bug during start up with a single agent, that leads to dbserver crash.
* fixed issue #7011: description when replacing a foxx application was misleading

View File

@ -377,8 +377,8 @@ RocksDBIndexFactory::RocksDBIndexFactory() {
/// "hash") used to display storage engine capabilities
std::unordered_map<std::string, std::string> RocksDBIndexFactory::indexAliases() const {
return std::unordered_map<std::string, std::string>{
{"skiplist", "hash"},
{"persistent", "hash"},
{"hash", "persistent"},
{"skiplist", "persistent"},
};
}

View File

@ -62,7 +62,7 @@
</th>
<th class="tooltipInfoTh">
<div class="tooltipDiv">
<a class="index-tooltip" data-toggle="tooltip" data-placement="left" title="Type of index to create. <% if (supported.indexOf('persistent') <= -1) { %>Please note that for the RocksDB engine the index types hash, skiplist and persistent are identical, so that they are not offered seperately here.<% } %>">
<a class="index-tooltip" data-toggle="tooltip" data-placement="left" title="Type of index to create. <% if (supported.indexOf('hash') <= -1) { %>Please note that for the RocksDB engine the index types hash, skiplist and persistent are identical, so that they are not offered seperately here.<% } %>">
<span rel="tooltip" class="arangoicon icon_arangodb_info"></span>
</a>
</div>