1
0
Fork 0
arangodb/arangod/Transaction
Jan 65dc15bc61
Bug fix/misc issues (#8013)
* added missing return statements

* only spend up to 10 seconds for initially fetching the list of collections in arangosh

fetching the list of collections is a blocking operation, and the default timeout for this is very high.
If the server is blocked by whatever reason, then the shell is unusable until the collections list request returns.
To avoid this, the initial request is limited to 10 seconds, so the shell can be used afterwards.

* if an index cannot be used for sorting, its sort

cost was previously returned as 0. this will in fact favor
indexes that can be used for filtering but not for sorting
over indexes that can be used for both.

this change is to report the sort cost for indexes that
cannot be used for sorting to n * log(n), where n is the
number of documents that optimizer expects to come out of the
index after filtering
2019-01-28 08:55:22 +01:00
..
Context.cpp big reformat 2018-12-26 00:54:03 +01:00
Context.h big reformat 2018-12-26 00:54:03 +01:00
ContextData.h big reformat 2018-12-26 00:54:03 +01:00
CountCache.cpp big reformat 2018-12-26 00:54:03 +01:00
CountCache.h big reformat 2018-12-26 00:54:03 +01:00
Helpers.cpp big reformat 2018-12-26 00:54:03 +01:00
Helpers.h big reformat 2018-12-26 00:54:03 +01:00
Hints.h big reformat 2018-12-26 00:54:03 +01:00
Methods.cpp Bug fix/misc issues (#8013) 2019-01-28 08:55:22 +01:00
Methods.h big reformat 2018-12-26 00:54:03 +01:00
Options.cpp big reformat 2018-12-26 00:54:03 +01:00
Options.h big reformat 2018-12-26 00:54:03 +01:00
SmartContext.cpp big reformat 2018-12-26 00:54:03 +01:00
SmartContext.h big reformat 2018-12-26 00:54:03 +01:00
StandaloneContext.cpp big reformat 2018-12-26 00:54:03 +01:00
StandaloneContext.h big reformat 2018-12-26 00:54:03 +01:00
Status.cpp big reformat 2018-12-26 00:54:03 +01:00
Status.h big reformat 2018-12-26 00:54:03 +01:00
V8Context.cpp big reformat 2018-12-26 00:54:03 +01:00
V8Context.h big reformat 2018-12-26 00:54:03 +01:00