Michael Hackstein
7cec7a4628
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-08 12:54:26 +01:00
Michael Hackstein
d47298d518
Removed JS_NEAR, JS_FULLTEXT, JS_WITHIN entirely. They have been replaced by simple queries
2017-02-08 12:54:10 +01:00
jsteemann
87d775f41f
decode suffixes!
2017-02-08 12:27:45 +01:00
Frank Celler
cab6ac044d
fixed compile warning
2017-02-08 12:05:32 +01:00
Max Neunhoeffer
bc9cb47b5d
Add assertion for nullptr in ClusterComm::instance()
2017-02-08 11:07:12 +01:00
Max Neunhoeffer
bde48d524d
Change undocumented behaviour in case of invalid rev in JS document ops.
...
An invalid rev should lead to a 1200 ("conflict") error rather than a
1239 ("illegal document revision") error. This is more intuitive and
in line with the corresponding change in the HTTP API. No tests needed
adjustment.
2017-02-08 10:59:04 +01:00
Frank Celler
0da95481ea
added locks for keep-alive
2017-02-08 09:41:18 +01:00
jsteemann
e75fe96546
try to fix compile warning
2017-02-08 09:33:01 +01:00
jsteemann
01d3ad67b1
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-08 00:59:16 +01:00
jsteemann
b76eeee92e
reuse more AqlItemBlocks
2017-02-08 00:59:06 +01:00
Max Neunhoeffer
cbcda7932c
Change undocumented behaviour in case of invalid rev in If-Match headers.
...
An invalid rev should lead to a 412 PRECONDITION FAILED rather than a
404 BAD error. This is more intuitive, in particular since we have
never documented what valid rev strings are. Also adjust tests and
CHANGELOG.
2017-02-07 22:37:38 +01:00
jsteemann
59b3967273
Merge branch 'reuse-itemblocks' of https://github.com/arangodb/arangodb into engine-api
2017-02-07 20:25:48 +01:00
jsteemann
1555b0a453
move engine-specific things out of public API
2017-02-07 17:36:53 +01:00
jsteemann
5bc2a3680c
move some MMFiles-specific things into MMFiles directory
2017-02-07 16:38:04 +01:00
Max Neunhoeffer
0a9c235530
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-02-07 15:32:30 +01:00
Max Neunhoeffer
883c11ea45
Handle the case that ClusterComm is already shut down gracefully.
...
This touches every single place where ClusterComm is being used.
2017-02-07 15:31:40 +01:00
jsteemann
b9f19bf64f
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-07 15:21:18 +01:00
Andreas Streichardt
8349f56e40
Properly check return valiue
2017-02-07 15:15:56 +01:00
jsteemann
073b53b20f
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-07 14:50:46 +01:00
Wilfried Goesgens
8089e62c2d
Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule
2017-02-07 14:49:49 +01:00
jsteemann
072183a964
make ctor explicit
2017-02-07 14:48:08 +01:00
Michael Hackstein
f206eba45b
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-07 14:40:45 +01:00
jsteemann
79bd3ec2fa
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-07 14:37:24 +01:00
jsteemann
d79d972b44
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-02-07 14:36:09 +01:00
jsteemann
2c9e220f03
refactoring
2017-02-07 14:36:03 +01:00
Frank Celler
b3b02b10d3
fixed nested JobGuards
2017-02-07 14:35:24 +01:00
Kaveh Vahedipour
a1650d6b76
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-07 14:16:33 +01:00
Kaveh Vahedipour
b931aa967a
new compaction thread for agency
2017-02-07 14:16:22 +01:00
Wilfried Goesgens
0932d51904
Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule
2017-02-07 13:48:57 +01:00
Michael Hackstein
ebddba07ec
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-07 13:47:07 +01:00
Frank Celler
00720cdd29
ignore the result of processAll, try to read more async
2017-02-07 13:33:03 +01:00
jsteemann
f213d67de0
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-07 13:04:40 +01:00
jsteemann
d468fffdcb
fix problems with rollback
2017-02-07 13:04:27 +01:00
jsteemann
d503a4d354
added reactor type
2017-02-07 12:41:41 +01:00
jsteemann
600af50bb1
added convenience method collectionName
2017-02-07 12:05:36 +01:00
jsteemann
4fccb56f93
make TransactionState a class and privatize some of its internals
2017-02-07 11:58:34 +01:00
jsteemann
4a7c3734e0
remove friend class declaration
2017-02-07 11:45:50 +01:00
Kaveh Vahedipour
8d66d69f83
supervision handles coordinator demise correctly
2017-02-07 11:29:37 +01:00
jsteemann
7d902a0e4e
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-02-07 11:25:14 +01:00
jsteemann
3b1e3fac52
make TransactionCollection more engine-specific
2017-02-07 11:24:58 +01:00
Frank Celler
9588595335
added more info about scheduler status
2017-02-07 11:22:23 +01:00
jsteemann
cbea3080c1
privatize TransactionCollection internals
2017-02-07 09:19:06 +01:00
jsteemann
37df6b069e
make most variables of TransactionCollection private
2017-02-07 09:09:25 +01:00
jsteemann
27113d2b8c
moved function into class
2017-02-07 08:55:20 +01:00
jsteemann
c8df58dcc6
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-06 23:35:12 +01:00
jsteemann
a3509aa041
centralize access to AqlItemBlocks memory management
2017-02-06 23:33:43 +01:00
jsteemann
a7bc1ad213
use std::unique_ptr
2017-02-06 23:24:00 +01:00
jsteemann
4a15c16550
replace expensive std::deques with much simpler RollingVectors
2017-02-06 23:23:18 +01:00
jsteemann
20715944ca
remove unused include
2017-02-06 22:51:10 +01:00
Michael Hackstein
a3aa963743
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-06 17:44:53 +01:00
Michael Hackstein
44647f2392
Moved Fulltext and geo functions into MMFiles StorageEngine and allowed the engines to register specific functions.
2017-02-06 17:44:17 +01:00
jsteemann
ac9e28d353
fix typo
2017-02-06 17:38:36 +01:00
jsteemann
8dfb97c0bd
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-06 17:04:35 +01:00
Frank Celler
e3fe51faa8
better threads working handling
2017-02-06 16:32:55 +01:00
Jan Christoph Uhde
eddfaa9e83
add some comment and inspect interface
2017-02-06 16:14:04 +01:00
Max Neunhoeffer
29ffe1ecb7
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-02-06 15:51:26 +01:00
Max Neunhoeffer
3f6ec436f8
Output a warning if Schmutz runs for longer than 30s.
2017-02-06 15:50:01 +01:00
Kaveh Vahedipour
9ca79d216a
checking agency failures for high catchup data
2017-02-06 15:49:55 +01:00
jsteemann
6b3a4d1dc3
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-06 15:48:54 +01:00
jsteemann
00dbf5aa9e
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-06 15:44:01 +01:00
jsteemann
ba44acdcff
simplify optimizer API a bit
2017-02-06 15:43:49 +01:00
Max Neunhoeffer
139abbaf0e
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-02-06 15:25:38 +01:00
Max Neunhoeffer
71dae630c3
Store ClusterComm singleton in shared_ptr.
2017-02-06 15:25:18 +01:00
Wilfried Goesgens
132ba8ba8e
finalize the work on the debug packages
2017-02-06 13:54:53 +01:00
jsteemann
ab11410911
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-06 13:05:11 +01:00
Kaveh Vahedipour
c49c853b01
back ports from 3.1
2017-02-06 10:18:40 +01:00
Max Neunhoeffer
61dcf8200f
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-02-06 09:46:20 +01:00
Max Neunhoeffer
20e2128a44
Fix shardDistribution in case of leader change.
2017-02-06 09:45:00 +01:00
jsteemann
93426ca720
fix sorting issue in cluster
2017-02-06 09:44:33 +01:00
Max Neunhoeffer
b6dbbfa444
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-02-06 09:40:32 +01:00
Kaveh Vahedipour
f846c0fd0f
backports from 3.1
2017-02-06 09:26:37 +01:00
Michael Hackstein
b3d457cd56
Merge branch 'devel' of github.com:arangodb/arangodb into engine-api
2017-02-05 15:01:58 +01:00
Frank Celler
37805f6bc9
safety check
2017-02-04 13:08:13 +01:00
Frank Celler
602795deea
safety check
2017-02-04 13:08:08 +01:00
jsteemann
ed613ac660
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-03 22:40:32 +01:00
jsteemann
c463955b68
re-added startup option compatibility with 3.1
2017-02-03 22:40:18 +01:00
jsteemann
e39a457e46
micro optimizations
2017-02-03 22:28:51 +01:00
jsteemann
945edacf3f
move connection info
2017-02-03 17:43:57 +01:00
Wilfried Goesgens
193f1213b3
fix generating of debug packages
2017-02-03 17:36:47 +01:00
Max Neunhoeffer
62521ee617
Fix synchronous replication.
...
It was possible that a follower got into sync after the list of
followers was retrieved, but before a single document was written.
This dropped this document for the new follower because the leader
forgot to replicate it. This lead to document loss in case of a
failover or planned leader change.
2017-02-03 16:51:51 +01:00
jsteemann
c2671d7ba3
micro optimizations
2017-02-03 16:51:41 +01:00
jsteemann
3c9c826210
make method protected
2017-02-03 16:44:30 +01:00
Michael Hackstein
63f0e52e49
Fixed a bug in primaryindex. In some cases it reported that it could not find more documents although there were more.
2017-02-03 16:15:41 +01:00
Michael Hackstein
eab6907678
Removed wrong assertion
2017-02-03 13:46:14 +01:00
Michael Hackstein
7083671116
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-03 13:22:43 +01:00
Michael Hackstein
5e4b9e42b3
Fixed minor bugs in usage of callback-based index-api. Remove unused old next and nextBabies index iterator functions.
2017-02-03 13:22:06 +01:00
jsteemann
512672b3a4
make geo index work with nested attributes
2017-02-03 13:07:20 +01:00
jsteemann
f9105e8393
mark the geo index as sorted
2017-02-03 11:48:05 +01:00
jsteemann
819eeb18f9
don't tell GatherNode to sort data from an unsorted index
2017-02-03 11:47:52 +01:00
jsteemann
3c5edeb9b2
fix cluster AQL statistics
2017-02-03 11:47:36 +01:00
jsteemann
6e0da7929b
simplify stats a bit
2017-02-03 11:47:09 +01:00
jsteemann
f7edf28599
mark the geo index as sorted
2017-02-03 11:42:19 +01:00
jsteemann
902429ddfd
less log spam at startup
2017-02-03 11:42:03 +01:00
jsteemann
f5a6818cdb
don't tell GatherNode to sort data from an unsorted index
2017-02-03 11:17:56 +01:00
jsteemann
eb89982279
reserve space
2017-02-03 11:17:47 +01:00
jsteemann
3f0855d793
remove unused variable
2017-02-03 10:53:16 +01:00
Kaveh Vahedipour
a100c45d1b
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-03 10:48:40 +01:00
Kaveh Vahedipour
f3cb1307a5
3.1 fixes backported to devel
2017-02-03 10:48:25 +01:00
Max Neunhoeffer
72fa45cc94
Port better reporting of longish Schmutz behaviour to devel.
2017-02-03 10:47:13 +01:00
jsteemann
952b9c00c2
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-03 10:43:56 +01:00
jsteemann
041da9685c
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-02-03 10:43:48 +01:00
jsteemann
950c3f40ad
fix cluster AQL statistics
2017-02-03 10:43:40 +01:00
Frank Celler
7e2e8bfee0
reset counter as well
2017-02-02 16:00:03 +01:00
Michael Hackstein
08ff23492f
Updated ShortestPathBlock to use the new callback based IndexApi
2017-02-02 15:51:54 +01:00
Michael Hackstein
da32eef2ca
RestEdgesHandler now uses Callback Based OpCursor API
2017-02-02 15:42:57 +01:00
Michael Hackstein
703199bc32
Fixed compiler error from previous commit.
2017-02-02 15:42:35 +01:00
Michael Hackstein
d250a3e12d
Replaced SingleServer EdgeCursor mit Callback based OpCursor API. This class is NOT future-proof. It assumes that Slice addresses stay valid
2017-02-02 15:32:45 +01:00
Michael Hackstein
d2b82165e2
Replaced trx->all|any with callback based IndexApi.
2017-02-02 15:32:00 +01:00
Michael Hackstein
d5d22ca93e
EnumerateCollectionBlock now uses callback to directly write indexoutput into AQLItemblock.
2017-02-02 14:41:33 +01:00
Michael Hackstein
e8f621450c
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-02 12:38:20 +01:00
jsteemann
072553d3f3
don't throw in dtor
2017-02-02 10:21:15 +01:00
jsteemann
0e908a9617
simplify stats a bit
2017-02-02 10:21:03 +01:00
jsteemann
6b78f6c1ac
fix negative value handling
2017-02-02 10:17:21 +01:00
jsteemann
a1b3bfcc80
dont include ServerState when not needed
2017-02-02 10:16:53 +01:00
jsteemann
0f80239a9d
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-02 08:40:30 +01:00
Michael Hackstein
364e07b164
Removed AQL::CollectionScanner. It can be drop-in replaced by OperationCursor
2017-02-01 20:57:44 +01:00
Michael Hackstein
0252addf3e
collection.toArray() is now the first API to use new callback-based OperationCurssor lookup.
2017-02-01 20:25:17 +01:00
jsteemann
88518f6bf8
added "httpRequests" execution stats figure
2017-02-01 18:03:26 +01:00
Michael Hackstein
2a3eae88bc
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-01 17:34:42 +01:00
Michael Hackstein
d920788a7f
The new index-callback API returns if it has more elements or not
2017-02-01 17:33:52 +01:00
jsteemann
4f1d588e0d
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-01 17:13:46 +01:00
jsteemann
abc1bd4d66
use SmallVector optimization
2017-02-01 16:51:35 +01:00
jsteemann
0156c5aec7
make database deletion more deterministic
2017-02-01 16:44:41 +01:00
Michael Hackstein
5f4027a75c
Removed further unnecessary includes
2017-02-01 16:39:37 +01:00
Michael Hackstein
1a863f522b
Removed unnecessary include and replaced by forward decl.
2017-02-01 16:35:11 +01:00
Michael Hackstein
2153999a26
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-02-01 16:09:25 +01:00
Michael Hackstein
0c3cada5b8
Added a new callback based option for IndexIterators to hand out DocumentTokens. This feature is not yet used anywhere
2017-02-01 16:07:37 +01:00
Michael Hackstein
4ee6f44f38
Fixed compile warning. Class was forward declarated as struct
2017-02-01 16:06:14 +01:00
jsteemann
fa917937c4
do not use namespaces in header files
2017-02-01 13:41:31 +01:00
jsteemann
2383548270
use initializer
2017-02-01 13:03:59 +01:00
jsteemann
fae1f7ba63
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-02-01 13:00:34 +01:00
jsteemann
e9709763f7
removed a left-over usleep
2017-02-01 13:00:18 +01:00
jsteemann
e2a312450f
fix out-of-memory handling at startup
2017-02-01 13:00:05 +01:00
jsteemann
5939ff249f
remove now unused files
2017-02-01 12:39:24 +01:00
jsteemann
c314f9190d
added assertions
2017-02-01 11:44:30 +01:00
jsteemann
769d58ec82
fix MSVC compile warning
2017-02-01 10:57:54 +01:00
Wilfried Goesgens
27956ce71f
Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule
2017-02-01 10:43:34 +01:00
jsteemann
9a8e2bc57a
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-02-01 10:39:42 +01:00
jsteemann
126f9a21fe
fix index ids
2017-02-01 10:39:21 +01:00
Max Neunhoeffer
48be25bdde
Add diagnostics to see background jobs that do not run.
...
If a job is only executed more than 5 seconds later than it was
scheduled, an error is logged.
2017-02-01 09:36:33 +01:00
Wilfried Goesgens
b91a7c0621
Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule
2017-01-31 18:02:30 +01:00
jsteemann
fc4977157d
fix static_assert in MSVC
2017-01-31 17:35:31 +01:00
Wilfried Goesgens
d0e38fe595
Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule
2017-01-31 17:07:30 +01:00
jsteemann
600bd60edd
fix MSVC compile warnings
2017-01-31 17:02:17 +01:00
jsteemann
b8e1eb8d47
fix compile warnings in MSVC
2017-01-31 16:47:22 +01:00
jsteemann
c62b952beb
fixed class/struct confusion
2017-01-31 16:46:59 +01:00
Wilfried Goesgens
bb80b5cf90
Merge branch 'devel' of github.com:arangodb/ArangoDB into v8_subsubmodule
2017-01-31 16:34:42 +01:00
jsteemann
62827583d4
try to fix compile error
2017-01-31 16:12:16 +01:00
jsteemann
62145baa2a
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-31 15:54:39 +01:00
Michael Hackstein
e98c7d3b7c
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-01-31 15:31:25 +01:00
Michael Hackstein
ef8ca78dfb
Added more tests for traversal optimization. Fixed an crash-error when optimizing .
2017-01-31 15:30:59 +01:00
jsteemann
fc5d7311b5
use general BlockCollector in all cases in which it is appropriate
2017-01-31 15:03:24 +01:00
jsteemann
4fa2a6a1d0
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-31 14:57:17 +01:00
jsteemann
4d06ac7648
use std::string
2017-01-31 14:57:05 +01:00
Max Neunhoeffer
460e27d31c
Log level down to debug for Schmutz-Startung.
2017-01-31 14:39:34 +01:00
Michael Hackstein
7ab8e823d6
Added a forgotten VPackBuilder.close() in Traversalnode to VPack. This caused the query planner to fail at certain cases
2017-01-31 14:33:10 +01:00
Max Neunhoeffer
c4d5d982c7
Fix bugs of threads not announcing that they are busy.
2017-01-31 14:07:54 +01:00
jsteemann
37b7a18040
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-31 13:55:55 +01:00
jsteemann
eec173c4ee
optimize `IS_NULL(x)` to `x == null`
2017-01-31 12:17:35 +01:00
jsteemann
3c2a466c48
use block collector for IndexBlock
2017-01-31 12:16:53 +01:00
jsteemann
8b62579789
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-31 10:04:56 +01:00
Kaveh Vahedipour
b7b8a6cf88
lowering log output in agencycomm
2017-01-31 09:37:47 +01:00
jsteemann
991e65dd37
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-31 09:07:47 +01:00
jsteemann
d7f2ee7e2f
fix comment
2017-01-31 09:07:34 +01:00
Max Neunhoeffer
d8171651bf
Fix assert.
2017-01-31 09:03:48 +01:00
Max Neunhoeffer
d8d8ef9755
Add an assertion.
2017-01-31 09:03:41 +01:00
jsteemann
5cb4e3e685
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-31 08:51:42 +01:00
jsteemann
6598828449
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-31 00:33:42 +01:00
Max Neunhoeffer
91c97d301a
Lower timeout in query registry to 10min from 1h.
2017-01-30 23:59:46 +01:00
Max Neunhoeffer
9525f46b2b
Some cleanup of comments for better understandability.
2017-01-30 23:22:58 +01:00
jsteemann
16c19ad927
cppcheck
2017-01-30 23:02:05 +01:00
jsteemann
52655b0cd9
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-30 22:54:18 +01:00
jsteemann
4172b3e0e4
turn down loglevel a bit
2017-01-30 22:54:00 +01:00
Max Neunhoeffer
cbae239aea
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-01-30 22:32:40 +01:00
Max Neunhoeffer
af3c206d89
Try to solve sporadic shutdown blockage in heartbeat thread.
2017-01-30 22:32:05 +01:00
Dan Larkin
b4ec71d33a
Fixed compilation bug
2017-01-30 14:26:06 -05:00
Dan Larkin
5b736dc319
Changed index-filling to dispatch batch insertion tasks to scheduler, obsoleted index-threads option.
2017-01-30 13:05:10 -05:00
jsteemann
ec1e05975f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-30 17:06:13 +01:00
jsteemann
cb9bf7c2ff
added obsolete parameter optionality
2017-01-30 17:06:02 +01:00
Wilfried Goesgens
73f4f04f8e
fix binary name
2017-01-30 16:56:55 +01:00
jsteemann
ba398494d0
make option hidden
2017-01-30 16:01:12 +01:00
jsteemann
4b98e961f6
fix loglevel
2017-01-30 15:51:37 +01:00
Max Neunhoeffer
b3857d14b6
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-01-30 15:45:30 +01:00
Max Neunhoeffer
61b353edc5
Fix fix of concurrently running Schmutzes.
2017-01-30 15:45:15 +01:00
jsteemann
3b83470ce5
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-30 15:32:41 +01:00
jsteemann
43fb70a693
fix double-free issue
2017-01-30 15:32:06 +01:00
Max Neunhoeffer
1aca50fd71
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-01-30 14:03:04 +01:00
Max Neunhoeffer
fa296ebf40
Fix running multiple Schmutzes running concurrently.
2017-01-30 14:02:24 +01:00
jsteemann
1294cf6128
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-30 12:53:19 +01:00
jsteemann
d96ce9af37
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-30 12:53:10 +01:00
Wilfried Goesgens
584f3120dd
Upgrade V8
...
- ICU now doesn't build the icudata library anymore
- ship the icu database on all platforms and all packages
- we now load the icu database file ourselves, and hand over the pointer to ICU.
- follow the V8 changes around Weak pointer handling
2017-01-30 12:30:07 +01:00
Kaveh Vahedipour
6647fb1c14
no need to udate single host agencies' endpoints
2017-01-30 09:55:34 +01:00
jsteemann
cea0ecabad
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-01-30 09:03:55 +01:00
jsteemann
802c384448
renaming
2017-01-30 09:02:57 +01:00
Max Neunhoeffer
f09ecd21b2
Logging level for background job debugging down to DEBUG.
2017-01-29 23:05:33 +01:00
Michael Hackstein
55e0f63fec
Moved major Index-creation out of LogicalCollection into the StorageEngine Specific IndexFactory.
2017-01-29 15:08:26 +01:00
Max Neunhoeffer
c62c521a43
Fix closure for background jobs in HeartbeatThread one more time.
2017-01-29 00:08:12 +01:00
Max Neunhoeffer
3ac470cbb2
Fix closure for background jobs in HeartbeatThread.
2017-01-28 23:57:40 +01:00
Max Neunhoeffer
5dee45a6c1
Delete boost::asio::io_service::strand.
2017-01-28 23:45:19 +01:00
Michael Hackstein
819ef4ae2c
Fixed failing index-creation tests after moving to IndexFactory.
2017-01-28 22:46:49 +01:00
Max Neunhoeffer
429ffcd43c
Count callbacks in _strand in HeartbeatThread and log.
2017-01-28 22:13:21 +01:00
Max Neunhoeffer
4e2a9be028
Merge branch 'devel' of ssh://github.com/arangodb/arangodb into devel
2017-01-28 21:27:41 +01:00
Max Neunhoeffer
8b4ed89d14
More logging on level info.
2017-01-28 21:26:34 +01:00
Michael Hackstein
72b8945254
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-01-28 21:20:16 +01:00
Michael Hackstein
0027bc54c8
Create a StorageEngine-specific IndexFactory. Moved EnhanceIndexJson v8 -> IndexFactory.
2017-01-28 21:19:50 +01:00
Kaveh Vahedipour
7954512878
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-28 20:34:32 +01:00
Kaveh Vahedipour
bcfec215b8
tested restart from 3.1 database
2017-01-28 20:32:29 +01:00
Max Neunhoeffer
75e6714d19
Merge branch 'devel' of ssh://github.com/arangodb/arangodb into devel
2017-01-28 20:29:35 +01:00
Max Neunhoeffer
6993ca32c7
Add more debugging output on log level info around Schmutz script.
2017-01-28 20:28:58 +01:00
Kaveh Vahedipour
f98701a598
localId overrules persisted UUID
2017-01-28 12:25:57 +01:00
Kaveh Vahedipour
60e0622793
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-28 12:05:37 +01:00
Kaveh Vahedipour
daa1856aa0
localId overrules persisted UUID
2017-01-28 12:05:31 +01:00
Max Neunhoeffer
fbb32650a3
Prevent log spam.
2017-01-28 01:43:15 +01:00
jsteemann
db9b4ace6d
fix lock timeout calculation
2017-01-28 00:05:34 +01:00
Max Neunhoeffer
542e9a0f10
Fix LogicalCollection::toVelocyPack after merge chaos.
2017-01-27 22:32:06 +01:00
Michael Hackstein
dcdc495c63
Fixed unintentially commited typo.
2017-01-27 19:30:26 +01:00
Michael Hackstein
2fe7a93f6e
Improved TraversalCondition finder. It now does not crash anymore when filtering on TraverserOutput e.g. p.edges[0] == p.edges[1] and can make use of Array Indexes in certain cases.
2017-01-27 19:22:17 +01:00
Michael Hackstein
57b6174ff1
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-01-27 17:57:21 +01:00
jsteemann
044499e454
added startup option --query.memory-limit
2017-01-27 17:33:57 +01:00
Max Neunhoeffer
d8eeae13e0
Try to fix drop database bug with Collector.
...
Wait for a phase in the Collector with no queued operations before
actually destroying the LogicalCollections. This is to make sure that
no more DOCUMENT ditches are around.
2017-01-27 16:57:51 +01:00
jsteemann
09851cdf75
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-27 16:37:32 +01:00
jsteemann
65c45813e2
refactoring
2017-01-27 16:37:02 +01:00
Max Neunhoeffer
3289dd3151
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-01-27 16:31:15 +01:00
Max Neunhoeffer
18f91ef09e
Debug log if an msync takes too long.
2017-01-27 16:30:44 +01:00
jsteemann
4d5875f42f
refactoring
2017-01-27 15:57:22 +01:00
Kaveh Vahedipour
693a1eddf4
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-27 15:29:35 +01:00
Kaveh Vahedipour
3f3633bd2c
supervision to proper preconditioning of jobs on plan
2017-01-27 15:29:22 +01:00
Frank Celler
0457e2f587
safety check
2017-01-27 14:02:16 +01:00
jsteemann
67ac80a469
fixed after merge
2017-01-27 13:55:50 +01:00
jsteemann
bbca3dde1c
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-27 13:52:36 +01:00
jsteemann
a1a829451c
refactoring
2017-01-27 13:52:23 +01:00
Frank Celler
9a5a50e2d5
more cleanup on statistics
2017-01-27 13:17:08 +01:00
jsteemann
d9f0496cf4
fix segfault
2017-01-27 13:10:23 +01:00
jsteemann
f37a2d8014
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-27 12:11:57 +01:00
jsteemann
499add4735
refactoring
2017-01-27 12:11:44 +01:00
Frank Celler
4a0282cc2b
added missing mutex
2017-01-27 12:03:31 +01:00
Frank Celler
71ba997fba
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-01-27 11:30:39 +01:00
Frank Celler
30da97f2a5
RestHandler destructor should be virtual
2017-01-27 11:30:25 +01:00
Kaveh Vahedipour
ab22ffa8ee
shard jobs should check for the plan to be the same as expected
2017-01-27 11:27:45 +01:00
jsteemann
1089c7b2fd
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-27 11:27:16 +01:00
Max Neunhoeffer
8c7a0b5a48
Fix a used after free error.
2017-01-27 11:17:42 +01:00
jsteemann
f0d4770879
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-27 11:16:37 +01:00
jsteemann
972496a2af
refactoring
2017-01-27 11:16:21 +01:00
Frank Celler
c4a62cb108
release from unique_ptr when adding as response
2017-01-27 10:52:00 +01:00
Michael Hackstein
d5d316b971
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-01-27 09:58:02 +01:00
Michael Hackstein
9b5810d84b
The TraversalConditionFinder will now normalize all filters, before checking if they are valid
2017-01-27 09:57:46 +01:00
Michael Hackstein
f7ce2c9de6
Added a name to the dump indention variable.
2017-01-27 09:55:15 +01:00
Kaveh Vahedipour
ca62beb725
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-27 09:34:01 +01:00
Kaveh Vahedipour
c803d52f51
startLocalCluster handles port offset so that multiple clusters can be started on same machine
2017-01-27 09:33:42 +01:00
Max Neunhoeffer
ddd114ca32
Cleanup.
2017-01-27 09:03:22 +01:00