mirror of https://gitee.com/bigwinds/arangodb
increase the maximum allowed number of collections in an AQL query (#7154)
This commit is contained in:
parent
7cfc63f007
commit
4bc646f207
49
CHANGELOG
49
CHANGELOG
|
@ -62,9 +62,56 @@ devel
|
|||
* use `-std=c++14` for ArangoDB compilation
|
||||
|
||||
|
||||
v3.4.0-rc.3 (XXXX-XX-XX)
|
||||
v3.4.0-rc.4 (XXXX-XX-XX)
|
||||
------------------------
|
||||
|
||||
* do not rely on `_modules` collection being present at arangod startup
|
||||
|
||||
* fixes a routing issue within the web ui after the use of views
|
||||
|
||||
* fixes some graph data parsing issues in the ui, e.g. cleaning up duplicate
|
||||
edges inside the graph viewer.
|
||||
|
||||
* in a cluster environment, the arangod process now exits if wrong credentials
|
||||
are used during the startup process.
|
||||
|
||||
* added option `--rocksdb.total-write-buffer-size` to limit total memory usage
|
||||
across all RocksDB in-memory write buffers
|
||||
|
||||
* suppress warnings from statistics background threads such as
|
||||
`WARNING caught exception during statistics processing: Expecting Object`
|
||||
during version upgrade
|
||||
|
||||
|
||||
v3.4.0-rc.3 (2018-10-23)
|
||||
------------------------
|
||||
|
||||
* fixed handling of broken Foxx services
|
||||
|
||||
Installation now also fails when the service encounters an error when
|
||||
executed. Upgrading or replacing with a broken service will still result
|
||||
in the broken services being installed.
|
||||
|
||||
* restored error pages for broken Foxx services
|
||||
|
||||
Services that could not be executed will now show an error page (with helpful
|
||||
information if development mode is enabled) instead of a generic 404 response.
|
||||
Requests to the service that do not prefer HTML (i.e. not a browser window)
|
||||
will receive a JSON formatted 503 error response instead.
|
||||
|
||||
* added support for `force` flag when upgrading Foxx services
|
||||
|
||||
Using the `force` flag when upgrading or replacing a service falls back to
|
||||
installing the service if it does not already exist.
|
||||
|
||||
* The order of JSON object attribute keys in JSON return values will now be
|
||||
"random" in more cases. In JSON, there is no defined order for object attribute
|
||||
keys anyway, so ArangoDB is taking the freedom to return the attribute keys in
|
||||
a non-deterministic, seemingly unordered way.
|
||||
|
||||
* Fixed an AQL bug where the `optimize-traversals` rule was falsely applied to
|
||||
extensions with inline expressions and thereby ignoring them
|
||||
|
||||
* fix side-effects of sorting larger arrays (>= 16 members) of constant literal
|
||||
values in AQL, when the array was not used only for IN-value filtering but also
|
||||
later in the query.
|
||||
|
|
|
@ -59,7 +59,7 @@ class Collections {
|
|||
|
||||
std::map<std::string, Collection*> _collections;
|
||||
|
||||
static size_t const MaxCollections = 256;
|
||||
static size_t const MaxCollections = 2048;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -192,7 +192,7 @@
|
|||
"ERROR_QUERY_VARIABLE_REDECLARED" : { "code" : 1511, "message" : "variable '%s' is assigned multiple times" },
|
||||
"ERROR_QUERY_VARIABLE_NAME_UNKNOWN" : { "code" : 1512, "message" : "unknown variable '%s'" },
|
||||
"ERROR_QUERY_COLLECTION_LOCK_FAILED" : { "code" : 1521, "message" : "unable to read-lock collection %s" },
|
||||
"ERROR_QUERY_TOO_MANY_COLLECTIONS" : { "code" : 1522, "message" : "too many collections" },
|
||||
"ERROR_QUERY_TOO_MANY_COLLECTIONS" : { "code" : 1522, "message" : "too many collections/shards" },
|
||||
"ERROR_QUERY_DOCUMENT_ATTRIBUTE_REDECLARED" : { "code" : 1530, "message" : "document attribute '%s' is assigned multiple times" },
|
||||
"ERROR_QUERY_FUNCTION_NAME_UNKNOWN" : { "code" : 1540, "message" : "usage of unknown function '%s()'" },
|
||||
"ERROR_QUERY_FUNCTION_ARGUMENT_NUMBER_MISMATCH" : { "code" : 1541, "message" : "invalid number of arguments for function '%s()', expected number of arguments: minimum: %d, maximum: %d" },
|
||||
|
|
|
@ -235,7 +235,7 @@ ERROR_QUERY_VARIABLE_NAME_INVALID,1510,"variable name '%s' has an invalid format
|
|||
ERROR_QUERY_VARIABLE_REDECLARED,1511,"variable '%s' is assigned multiple times","Will be raised when a variable gets re-assigned in a query."
|
||||
ERROR_QUERY_VARIABLE_NAME_UNKNOWN,1512,"unknown variable '%s'","Will be raised when an unknown variable is used or the variable is undefined the context it is used."
|
||||
ERROR_QUERY_COLLECTION_LOCK_FAILED,1521,"unable to read-lock collection %s","Will be raised when a read lock on the collection cannot be acquired."
|
||||
ERROR_QUERY_TOO_MANY_COLLECTIONS,1522,"too many collections","Will be raised when the number of collections in a query is beyond the allowed value."
|
||||
ERROR_QUERY_TOO_MANY_COLLECTIONS,1522,"too many collections/shards","Will be raised when the number of collections or shards in a query is beyond the allowed value."
|
||||
ERROR_QUERY_DOCUMENT_ATTRIBUTE_REDECLARED,1530,"document attribute '%s' is assigned multiple times","Will be raised when a document attribute is re-assigned."
|
||||
ERROR_QUERY_FUNCTION_NAME_UNKNOWN,1540,"usage of unknown function '%s()'","Will be raised when an undefined function is called."
|
||||
ERROR_QUERY_FUNCTION_ARGUMENT_NUMBER_MISMATCH,1541,"invalid number of arguments for function '%s()', expected number of arguments: minimum: %d, maximum: %d","Will be raised when the number of arguments used in a function call does not match the expected number of arguments for the function."
|
||||
|
|
|
@ -191,7 +191,7 @@ void TRI_InitializeErrorMessages() {
|
|||
REG_ERROR(ERROR_QUERY_VARIABLE_REDECLARED, "variable '%s' is assigned multiple times");
|
||||
REG_ERROR(ERROR_QUERY_VARIABLE_NAME_UNKNOWN, "unknown variable '%s'");
|
||||
REG_ERROR(ERROR_QUERY_COLLECTION_LOCK_FAILED, "unable to read-lock collection %s");
|
||||
REG_ERROR(ERROR_QUERY_TOO_MANY_COLLECTIONS, "too many collections");
|
||||
REG_ERROR(ERROR_QUERY_TOO_MANY_COLLECTIONS, "too many collections/shards");
|
||||
REG_ERROR(ERROR_QUERY_DOCUMENT_ATTRIBUTE_REDECLARED, "document attribute '%s' is assigned multiple times");
|
||||
REG_ERROR(ERROR_QUERY_FUNCTION_NAME_UNKNOWN, "usage of unknown function '%s()'");
|
||||
REG_ERROR(ERROR_QUERY_FUNCTION_ARGUMENT_NUMBER_MISMATCH, "invalid number of arguments for function '%s()', expected number of arguments: minimum: %d, maximum: %d");
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue