jsteemann
782bc0fb4a
fix compile warnings
2018-11-10 23:11:44 +01:00
Andrey Abramov
779809d3e1
Feature/arangosearch optimize documents reading ( #7280 )
...
* optimize reading documents from arangosearch index
* simplify code
* get rid of useless interface
* even more simplifications
* update iresearch to commit 40128bf50cea3546313fbfd71e5a32bb88e418a2
* optimize PK reading
* cleanup
* minor refactoring
* address review comments
* micro optimization
2018-11-09 18:10:22 +03:00
Wilfried Goesgens
0ce4c715b2
rather use null-pointers than try/catch for control flow ( #7271 )
2018-11-08 16:27:44 +01:00
Max Neunhöffer
ffd40088ed
Greylist moving-shards-with-arangosearch-view-cluster. ( #7273 )
...
* Greylist moving-shards-with-arangosearch-view-cluster.
* Add documentation for greylisted tests.
2018-11-08 16:26:15 +01:00
Dan Larkin-York
48c3fd3b7f
Fix nullptr dereference in SynchronizeShard. ( #7268 )
2018-11-08 14:13:00 +01:00
Dan Larkin-York
f5043b69eb
Fix error message when adding link to non-existent collection. ( #7270 )
2018-11-08 14:27:02 +03:00
Wilfried Goesgens
bfde87751c
add more information when timeout failing the index creation tests ( #7265 )
2018-11-08 11:50:30 +01:00
Frank Celler
a6e4c844ad
Feature-3.4/whiteblacklist ( #7259 )
...
* add blacklist
* added --skipGrey
2018-11-08 00:01:29 +01:00
Max Neunhöffer
a74330250f
Port bug fix 3.4/cluster comm threads start stop ( #6939 ) to devel. ( #7253 )
...
* Start ClusterComm threads in `ClusterFeature::start`. Stop ClusterComm threads in `ClusterFeature::stop`.
* Do not free objects in `Scheduler::shutdown`. Let the `unique_ptr` do their job. Stop ClusterComm threads in `ClusterFeature::stop`, but free instance in `ClusterFeature::unprepare`.
* `io_context` may contains lambdas that hold `shared_ptr`s to `Tasks` the required a functional `VocBase` in their destructor.
2018-11-07 21:42:34 +01:00
Andrey Abramov
194bc1b254
make ArangoSearch error messages more descriptive ( #7252 )
2018-11-07 19:45:52 +03:00
Wilfried Goesgens
6fe9b774f8
fix typo ( #7254 )
2018-11-07 17:37:12 +01:00
Dan Larkin-York
b447f98a7a
Upgrade old MMFiles collections for compatibility with ArangoSearch. ( #7248 )
2018-11-07 15:52:37 +01:00
Jan
7306cdaa03
try not to throw so many exceptions from Supervision ( #7227 )
2018-11-07 15:36:41 +01:00
Andrey Abramov
733b2a4574
bug-fix/internal-issue-#6289 ( #7249 )
...
* improve troubleshooting
* fix tests
2018-11-07 15:17:04 +03:00
Jan
41a12626c7
turn off warnings about `overcommit_memory` settings ( #7234 )
2018-11-07 11:07:31 +01:00
KVS85
e67690c554
Fix update-view-arangosearch-spec tests ( #7245 )
2018-11-07 00:30:21 +03:00
Simon
386fc0e9ad
Simplify dropDatabaseCoordinator & fix some bugs ( #7211 )
2018-11-06 15:26:33 +01:00
KVS85
4646ff28b2
Add view profiling tests ( #7229 )
...
* Add view profiling tests
* Fix jslint errors
2018-11-06 17:15:46 +03:00
Dan Larkin-York
0bc6a4d7a2
Fix query profiling discrepancy in console. ( #7241 )
2018-11-06 14:50:32 +01:00
Tobias Gödderz
1de42118b7
Fix "Duplicate testsuite" error ( #7238 )
2018-11-06 13:10:29 +01:00
Tobias Gödderz
cc30bc1585
Fix teardown, improved assertion & error message ( #7219 )
2018-11-06 13:09:51 +01:00
Vasiliy
facb4043a1
issue 496.5: minor API cleanup and error reportin enhancements, update iresearch to commit d69f7bd184e009da7bf0a478efd34a0c85b74291 ( #7216 )
...
* issue 496.5: minor API cleanup and error reportin enhancements, update iresearch to commit d69f7bd184e009da7bf0a478efd34a0c85b74291
* add workaround for shell-collection-rocksdb-noncluster.js::testSystemSpecial test failure
* fix typo
2018-11-06 13:59:18 +03:00
Tobias Gödderz
b096d3b6e4
Restore /_api/view to return internal view names again ( #7222 )
2018-11-06 11:40:55 +01:00
Matthew Von-Maszewski
0d39ff66f5
Bugfix: backport defensive Communicator change and revert constant change in Scheduler ( #7214 )
...
* revert accidental change to MIN_SECONDS
* from bugfix-3.4/mv-communicator-defensive: simplify lambda usage to static functions.
2018-11-05 15:18:31 -06:00
Simon
0eb5142df8
Use shared_ptr for LogicalCollection ( #7220 )
2018-11-05 18:31:57 +01:00
Simon
311fb717f2
Bug fix/refactor query optimizer ( #7228 )
2018-11-05 18:30:12 +01:00
Vasiliy
68953ae33a
issue 496.4.1: move StorageEngine-specific flag out of the genric API and closer to the storage engine ( #7212 )
2018-11-04 16:52:28 +03:00
Simon
40f54aebc8
Fix a crash in DBServerAgencySync ( #7207 )
...
(cherry picked from commit 99ba608be98a44b8ce1d0e681107271a22f42761)
2018-11-03 20:18:15 +01:00
Jan
5853344237
add ge goodbye ( #7205 )
2018-11-03 20:17:03 +01:00
Jan
c7d76c5da4
fix some issues reported by codescan ( #7195 )
2018-11-02 19:04:39 +01:00
Jan
2115abdce9
smaller changes for replication ( #7200 )
2018-11-02 18:38:32 +01:00
Jan
1973022d00
Bug fix/refactor find emplace ( #7197 )
2018-11-02 17:18:47 +01:00
Simon
512e690e10
Add a missing release operation ( #7202 )
2018-11-02 16:25:57 +01:00
Simon
b883026f45
Server stream cursor ( #7186 )
2018-11-02 16:19:48 +01:00
Jan
f7251b12f7
calculate SHA1 sum for JS files on installation ( #7168 )
2018-11-02 13:14:58 +01:00
Wilfried Goesgens
ecade47aaf
don't spawn additional arangosh processes to run the tests ( #7185 )
2018-11-02 13:08:04 +01:00
Jan
e96f591495
fix premature replicatin context deletion in case the context has no iterators ( #7188 )
2018-11-02 12:14:27 +01:00
Jan
976cc38e7c
remove OpenFilesTracker ( #7189 )
2018-11-02 11:38:38 +01:00
Vasiliy
f088733420
issue 496.3: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca ( #7166 )
...
* issue 496.3: move more coordinator-related logic out of TRI_vocbase_t, rename some arangosearch view configuration parameters, remove some consolidation policies, update iresearch to revision 6fd9760d81b136f769e277ea5b8f53996ed7a1ca
* address potential deadlock between link creation and FlushThread
* remove code causing nullptr access
* add back lock around reader reopen
* revert: address potential deadlock between link creation and FlushThread
* invalidate payload for each field in FieldIterator before setting a value
2018-11-01 23:10:01 +03:00
Jan
7e78f85f61
add separate option `--query.slow-streaming-threshold` ( #7181 )
2018-10-31 21:31:52 +01:00
Jan
1e27f47b50
Truncate Fix (Nr 6) ( #7176 ) ( #7184 )
2018-10-31 21:30:54 +01:00
Jan
dc03e370f9
stop printing `connection class corrupted` in arangosh ( #7180 )
...
when just starting the arangosh without a connection to a server
and running code such as `require("internal")`, the shell always
printed "connection class corrupted", which is somewhat misleading.
just don't print this error here, as it is useless
2018-10-31 18:46:47 +01:00
Jan
4bc646f207
increase the maximum allowed number of collections in an AQL query ( #7154 )
2018-10-31 17:20:30 +01:00
Jan
7cfc63f007
patch collection counts on the slave in case it is off ( #7147 )
2018-10-31 17:20:14 +01:00
Max Neunhöffer
37359821cb
Fix arangorestore by adjusting timeouts in write ops. ( #7083 )
...
* Improve logging on coordinator when doing `arangorestore`.
* Return more error information in `mergeResults`.
* Longer timeout for communication coordinator -> leader for writes.
This is taking into account possible write stops from followers needed
to get in sync.
* Fix compilation.
* Get rid of numbers in exception log messages.
* Fix a typo.
* Fix compilation.
2018-10-31 14:39:58 +01:00
Andrey Abramov
6a4f462fa2
reduce number of heap allocations for removals ( #7157 )
2018-10-31 01:21:25 +03:00
jsteemann
b2748eb1e5
added some comments
2018-10-30 22:48:02 +01:00
Vasiliy
21a89c9270
issue 496.2: allow customization of segmentsize lmts on arangosearch view creation, minor code cleanup ( #7140 )
...
* issue 496.2: allow customization of segmentsize lmts on arangosearch view creation, minor code clanup
* fix incorrect condition
2018-10-30 23:41:30 +03:00
Matthew Von-Maszewski
a054e31f73
port 3.4 changes that give libcurl time to retry a failed DNS query. Also add changes to vocbase.cpp that were missed in previous PR. ( #7132 )
2018-10-30 21:00:13 +01:00
Simon
c8961b2faa
Remove unused bindings ( #7143 )
2018-10-30 19:42:45 +01:00