mirror of https://gitee.com/bigwinds/arangodb
only offer indexes of type "persistent" in the web UI for the RocksDB (#9046)
This commit is contained in:
parent
d5ecdd143a
commit
a61dd2895e
|
@ -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
|
||||
|
|
|
@ -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"},
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue