jsteemann
9a88c8c226
fix a memleak
2017-03-15 14:05:13 +01:00
Max Neunhoeffer
c8a205b1aa
New /_api/cluster/endpoints.
...
Also fix documentation (and deprecate) /_api/endpoint.
2017-03-15 13:33:50 +01:00
jsteemann
1a06f1e15e
initial functionality for views - unstable
2017-03-14 16:35:45 +01:00
Simon Grätzer
67066c64ad
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-08 18:20:44 +01:00
jsteemann
3ed19e291d
added "shardIds" option for AQL queries to restrict queries to specific shards
2017-03-08 15:07:10 +01:00
Simon Grätzer
c0a390aefe
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-06 15:53:43 +01:00
Frank Celler
ab49f6c1b4
fixed variables parsing in GraphQL
2017-03-05 23:31:38 +01:00
Simon Grätzer
dfd3cc3869
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangosh/Import/ImportHelper.cpp
2017-03-04 02:08:27 +01:00
jsteemann
573c346fa5
attempt to fix issues reported by @ewoutp
2017-03-03 14:47:21 +01:00
jsteemann
d369c698b5
fixed issue #2346
2017-03-03 10:10:38 +01:00
Simon Grätzer
27c617fe10
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# 3rdParty/V8/v8
# arangod/Transaction/Methods.h
# arangod/Utils/UserTransaction.h
# arangod/V8Server/v8-collection.cpp
2017-03-01 14:52:35 +01:00
Alan Plum
705273bdab
Allow passing own graphql-sync module to Foxx
2017-02-28 14:47:17 +01:00
Alan Plum
90c538b7a4
Not undefined
...
[skip ci]
2017-02-15 18:32:56 +01:00
Alan Plum
622b4fac4b
JWT uses seconds
...
Fixes #2249 .
2017-02-14 19:20:41 +01:00
Alan Plum
7471f94fa7
Linting
2017-02-14 19:20:41 +01:00
Alan Plum
5a02a8983f
More cookie options
...
Fixes #2085 .
2017-02-14 19:20:40 +01:00
Alan Plum
022ff11886
REALLY fix routing tests
2017-02-14 17:18:40 +01:00
Alan Plum
01f83c20a2
Really fix routing
2017-02-14 17:15:44 +01:00
Alan Plum
d72be1cf74
Fix routing
2017-02-14 17:15:06 +01:00
Alan Plum
0f4b932717
Fix Foxx routing
2017-02-14 16:36:40 +01:00
Alan Plum
2eb8f30c7f
Spring cleaning
...
Also removed actions.rewriteRouting as it is not actually used anywhere.
2017-02-14 16:36:40 +01:00
jsteemann
238070b477
fixed code of some examples
2017-02-13 08:21:28 +01:00
Andreas Streichardt
39436dac89
Finally remove lock methods
2017-02-10 19:47:31 +01:00
Andreas Streichardt
488b71cf54
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-02-10 19:40:51 +01:00
Andreas Streichardt
bc1df86ddd
remove lock queries
2017-02-10 19:34:29 +01:00
Simon Grätzer
edab268572
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/Aql/FunctionDefinitions.cpp
# arangod/Aql/Functions.h
# arangod/Utils/ExplicitTransaction.h
2017-02-10 15:21:24 +01:00
Max Neunhoeffer
f72af6a06a
Increase timeout for waiting for sync repl to settle.
...
This is mainly for the case of the parallel unittests, where the heavy
load leads to delays.
2017-02-09 22:06:39 +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
Simon Grätzer
9b9f91a81c
Pegel: Adding support for "PREGEL_RESULT" in aql
2017-02-07 18:37:23 +01:00
Max Neunhoeffer
ed0d5be0a6
If initial database is gone, use system database.
2017-02-06 09:47:19 +01:00
Max Neunhoeffer
20e2128a44
Fix shardDistribution in case of leader change.
2017-02-06 09:45:00 +01:00
Max Neunhoeffer
72fa45cc94
Port better reporting of longish Schmutz behaviour to devel.
2017-02-03 10:47:13 +01:00
Max Neunhoeffer
7c0575b27d
Fix timeout in cluster operation and wal flush bugs.
2017-02-03 10:42:06 +01:00
jsteemann
7556386202
fixed tests
2017-02-02 08:39:50 +01:00
Max Neunhoeffer
105389702a
Lower log level of sync replication events.
2017-02-01 16:04:04 +01:00
Max Neunhoeffer
a5b4eb3c3d
Lower log level for local shard operations to debug.
2017-01-31 09:31:52 +01:00
Max Neunhoeffer
f09ecd21b2
Logging level for background job debugging down to DEBUG.
2017-01-29 23:05:33 +01:00
Max Neunhoeffer
6993ca32c7
Add more debugging output on log level info around Schmutz script.
2017-01-28 20:28:58 +01:00
Alan Plum
cbb77cf591
Only show codeFrames for swagger errors in dev mode
2017-01-27 02:03:51 +01:00
Alan Plum
3370ecbadd
Nicer error page and code frames
2017-01-27 01:57:30 +01:00
Alan Plum
c268b2db91
Keep stacktraces out of error messages
...
They are already reported much more consistently via 'cause' so methods logging them should exploit that instead.
2017-01-27 01:57:29 +01:00
Andreas Streichardt
2476cf7146
Fix drop and add reporting in agency current
2017-01-26 14:00:56 +01:00
Andreas Streichardt
0365b3eb49
Fix index error reporting and add test for it
2017-01-26 12:15:42 +01:00
Max Neunhoeffer
1468628e58
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-01-26 10:47:26 +01:00
Max Neunhoeffer
fe1b10e6af
Fix waitForSyncRepl.
2017-01-26 10:47:03 +01:00
Andreas Streichardt
4e6371630a
Fix reporting index and collection errors
2017-01-26 10:44:15 +01:00
Andreas Streichardt
cffc981cf9
Fix jslint
2017-01-25 12:42:30 +01:00
Andreas Streichardt
cca8fbc6b3
Less log spam...
2017-01-25 12:41:30 +01:00
Andreas Streichardt
af8331119b
Do not spam useless log messages
2017-01-25 12:31:53 +01:00
Max Neunhoeffer
f913b10d22
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-01-25 11:37:37 +01:00
Max Neunhoeffer
aaa2738b57
Log level for dropping local shard back to debug.
2017-01-25 11:36:50 +01:00
Andreas Streichardt
acbb892612
Classic...fix unittest..fail real system
2017-01-24 19:07:34 +01:00
Andreas Streichardt
d91a6af1a7
Remove singletransaction and fetch collection from vocbase directly
2017-01-24 18:51:05 +01:00
Andreas Streichardt
d3642f1487
First update current tests
2017-01-24 18:35:26 +01:00
Andreas Streichardt
ea220a22cc
Make updatecurrentcollection better testable
2017-01-24 16:51:12 +01:00
Max Neunhoeffer
5e6d2c2045
Fix acquire of read locks for sync. replication.
2017-01-24 13:55:56 +01:00
Max Neunhoeffer
539ae7275e
Improve formatting.
2017-01-24 13:29:05 +01:00
Andreas Streichardt
40af2963f4
Tackle updateCurrentDatabases
2017-01-23 15:29:25 +01:00
Andreas Streichardt
b56621a01b
First current tests
2017-01-23 15:29:25 +01:00
Andreas Streichardt
8fa235e715
oops
2017-01-20 12:10:16 +01:00
Andreas Streichardt
b594257677
More tests
2017-01-20 12:03:12 +01:00
Andreas Streichardt
4afe4e431c
more tests
2017-01-20 09:59:41 +01:00
Andreas Streichardt
dec955826b
Add sync tests
2017-01-19 18:40:09 +01:00
Andreas Streichardt
390cf295fe
Fix lint
2017-01-19 17:29:05 +01:00
Andreas Streichardt
5a101ed6f0
Fix unloading collections
2017-01-19 17:05:41 +01:00
Max Neunhoeffer
1e77d6abca
Fix access to global ERRORS table.
2017-01-19 16:04:35 +01:00
Kaveh Vahedipour
c32ffaf349
jslint needs informing of globalness of ERRORS
2017-01-19 15:17:19 +01:00
Max Neunhoeffer
f9426e9e0d
Make syncFinalize more resilient.
...
It is possible that an in-sync follower does not notice and tries
again to get in sync. This should be OK now.
2017-01-19 14:20:20 +01:00
Max Neunhoeffer
370cb09d89
Merge branch 'devel' into schmutz-ng
2017-01-19 10:32:43 +01:00
Andreas Streichardt
9bcaf08753
Merge branch 'schmutz-ng' of github.com:arangodb/arangodb into schmutz-ng
2017-01-18 18:07:24 +01:00
Andreas Streichardt
a9ccdf86c1
Several movement fixes
2017-01-18 17:48:01 +01:00
Max Neunhoeffer
c5cfc500ee
Improve comments in cluster.js.
2017-01-18 10:47:50 +01:00
Frank Celler
d290b74d55
fixed typos
2017-01-17 12:40:17 +01:00
Andreas Streichardt
e90cc93e4a
resign "a bit more"
2017-01-16 18:14:20 +01:00
Andreas Streichardt
10d3bd2200
Merge branch 'devel' into schmutz-ng
2017-01-16 15:22:17 +01:00
Andreas Streichardt
46b6c2659b
Remove old schmutz
2017-01-16 15:20:09 +01:00
Andreas Streichardt
f89b660056
Fix race during collection creation
2017-01-16 15:13:26 +01:00
Kaveh Vahedipour
d7b61f1bde
agency tests follow new leader
2017-01-16 14:10:09 +01:00
Max Neunhoeffer
f35e3a7aaf
Merge branch 'devel' into schmutz-ng
2017-01-16 09:54:09 +01:00
Frank Celler
6c368d70eb
in case some-one throw a string
2017-01-13 21:15:46 +01:00
Andreas Streichardt
2a2cbf808a
Do not update in endless loop
2017-01-13 17:55:22 +01:00
Andreas Streichardt
b0792f1de3
Propagate errors during index creation
2017-01-13 13:21:41 +01:00
Andreas Streichardt
19b22ea9bf
Partly fix the index schmutz
2017-01-13 11:30:05 +01:00
Andreas Streichardt
1dcbf0850a
Implement sync replication
2017-01-12 18:21:37 +01:00
Max Neunhoeffer
7da0de6207
Merge branch 'schmutz-ng' of ssh://github.com/ArangoDB/ArangoDB into schmutz-ng
2017-01-12 16:34:22 +01:00
Max Neunhoeffer
fe9116f7fb
More Schmutz-NG.
...
Does not trigger sync repl yet.
2017-01-12 16:33:57 +01:00
Andreas Streichardt
97b49e79de
Add cluster sync tests
2017-01-11 18:18:51 +01:00
Kaveh Vahedipour
fe48bcb982
fixed for short names in frontend shard view
2017-01-11 16:31:19 +01:00
Max Neunhoeffer
062ec7ec1a
Activate ng Schmutz for databases.
2017-01-10 23:36:46 +01:00
Max Neunhoeffer
e9630b7aca
First set of changes, not yet activated.
2017-01-10 16:54:51 +01:00
Max Neunhoeffer
f47329f3c0
Mock new structure.
2017-01-10 13:41:16 +01:00
Andreas Streichardt
95cc704741
Ahhh jslint
2017-01-09 17:42:13 +01:00
Andreas Streichardt
b51aebd596
additional error checking
2017-01-09 17:37:06 +01:00
Kaveh Vahedipour
0875353a26
all ArangoAgency.set rewritten in cluster.js
2017-01-09 17:30:36 +01:00
Kaveh Vahedipour
3b57e84865
missing semis
2017-01-09 14:56:53 +01:00
Kaveh Vahedipour
13076e9fc1
no locks left in cluster.js
2017-01-09 14:45:44 +01:00
Kaveh Vahedipour
1ff26054fa
jslint needs satisfaction
2017-01-09 11:46:26 +01:00
Kaveh Vahedipour
853eb1849a
oops
2017-01-09 11:11:28 +01:00
Kaveh Vahedipour
55985ed5de
missing prototypes
2017-01-09 10:38:34 +01:00
Andreas Streichardt
13e3e8e673
more agency request mockery
2017-01-06 17:57:11 +01:00
Andreas Streichardt
11eb78c056
jslint
2017-01-06 17:28:39 +01:00
Andreas Streichardt
b447051677
remove console.logs
2017-01-06 17:24:39 +01:00
Andreas Streichardt
466f932701
First steps to low level replication debugging
2017-01-06 17:19:07 +01:00
Kaveh Vahedipour
a0af781630
to lock or not to lock
2017-01-06 14:46:57 +01:00
Kaveh Vahedipour
e87182d971
more verbose output on failure to create plan
2017-01-06 09:38:37 +01:00
jsteemann
dff5c448e4
fixed jslint
2017-01-03 14:58:07 +01:00
Kaveh Vahedipour
9d5a5537ce
remove deceased agents from AgencyComm
2017-01-02 17:12:00 +01:00
Kaveh Vahedipour
a2ee40d4f3
restarting agents inform rest of their new endpoints
2017-01-02 15:58:38 +01:00
Kaveh Vahedipour
1e8f44dcd0
increase plan too?
2016-12-30 14:03:37 +01:00
Kaveh Vahedipour
55ffd4c55f
collections and current version
2016-12-30 13:54:55 +01:00
Kaveh Vahedipour
4928358e04
removing trace of agency locks part 1
2016-12-30 11:21:11 +01:00
Kaveh Vahedipour
572d294ec7
getting rid of locks in cluster.js
2016-12-29 17:44:03 +01:00
Kaveh Vahedipour
b712640f42
getting rid of locks in cluster.js
2016-12-29 16:39:59 +01:00
Kaveh Vahedipour
6ec19a3136
getting rid of locks in cluster.js
2016-12-29 15:18:08 +01:00
Kaveh Vahedipour
ff701ff57c
getting rid of locks in cluster.js
2016-12-29 15:03:09 +01:00
Alan Plum
99ba80a542
Fix off-by-one in Foxx route
2016-12-20 01:43:14 +01:00
jsteemann
3939d5e2d8
don't log irrelevant message in generated Foxx apps
2016-12-15 16:18:07 +01:00
Alan Plum
3e93980ae9
Generate unique Swagger operationIds
2016-12-12 02:32:50 +01:00
Alan Plum
9a81d2cb63
Add support for Swagger tags
2016-12-12 02:32:50 +01:00
Alan Plum
f2a6864db4
Require at least one arg in route def
2016-12-12 02:32:49 +01:00
Alan Plum
d8bf7252e2
Document OAuth1
2016-12-09 15:28:36 +01:00
Alan Plum
0700cfa86a
Implement OAuth 1.0a
2016-12-06 18:30:11 +01:00
Andreas Streichardt
11bd9381d5
Add satellite collections
2016-12-06 16:40:50 +01:00
jsteemann
369b2c7bc6
added optional memory limit for AQL queries
2016-12-06 13:23:41 +01:00
jsteemann
d09ac31051
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-25 11:18:56 +01:00
Michael Hackstein
37b124593f
Unified ensureIndex on client and server libs.
2016-11-25 11:11:45 +01:00
jsteemann
817933c77b
bugfixes for sync replication and collection status in cluster
2016-11-24 17:00:57 +01:00
Andreas Streichardt
c4f5cb7474
debug logging
2016-11-24 13:27:58 +01:00
Alan Plum
4edb258ebb
Fix breaky multi-deps
2016-11-24 09:33:39 +01:00
Alan Plum
a854cbf674
Fix Windows file path resolution
2016-11-22 14:02:01 +01:00
Jan Steemann
689c7fbdc3
fixed issue #2183
2016-11-21 13:41:49 +01:00
Alan Plum
d6a063e28d
Allow multi-dependencies in Foxx
2016-11-18 17:22:07 +01:00
Alan Plum
593274b095
Sanitize paths in fm.requireService
2016-11-18 17:22:07 +01:00
Alan Plum
5493420a81
Make deps immutable
2016-11-18 17:22:07 +01:00
Alan Plum
e12ba2ad3b
Allow descriptions in Foxx dependencies
2016-11-18 15:13:25 +01:00
Alan Plum
2ed6d8cc3e
Discard unknown Foxx configs in production
...
Fixes #2162
2016-11-18 11:47:00 +01:00
Alan Plum
a73ce31e7b
Change format of Foxx API listScripts route
2016-11-17 17:29:51 +01:00
Kaveh Vahedipour
acb187851f
Merge pull request #2153 from de3/devel
...
fix upgrade/install foxx in cluster environment
2016-11-17 15:34:35 +01:00
Alan Plum
57cd82f88c
Fix swagger static path resolution
2016-11-15 18:08:06 +01:00
Alan Plum
8f6f022616
Unescape parts during Foxx routing
2016-11-15 17:38:15 +01:00
Alan Plum
facee370fa
Fix static file serving for paths wth dots in them
2016-11-15 15:41:33 +01:00
Jan Steemann
19f771fcd6
issue #2168
2016-11-14 17:30:19 +01:00
Alan Plum
c0a3f5a8a1
Better Foxx API error handling
2016-11-12 22:33:07 +01:00
Alan Plum
461cfdfcc2
Don't expose configuration in dev mode error page
...
Fixes #2156 .
2016-11-08 16:41:10 +01:00
Edi
69ee438be3
fix upgrade/install foxx in cluster environment
...
When install/upgrade, arangodb response is "No such file or directory".
This is because serviveInfo path already join with temporary Path, and then
in "uploadToPeerCoordinators" it join twice with temporary path.
Another problem, arangodb upgrade url is "update" not "upgrade".
Last problem, when Sync foxx with another cluster, use "coordinatorTransactionID"
but there is no that key response from ArangoClusterComm.
2016-11-08 08:02:53 +07:00
Alan Plum
ccb251e1f5
Better handling of routers & middleware in Swagger
...
Fixes #2148 .
2016-11-04 20:06:08 +01:00
Alan Plum
735f0e5f6c
Resolve 'lib' for 3.x services
...
Fixes #2139 .
2016-11-03 10:35:06 +01:00
jsteemann
68317bb4f2
added experimental `REGEX_REPLACE` AQL function
2016-11-03 00:40:19 +01:00
Alan Plum
f630020269
Expose static req.reverse as module.context.reverse
2016-10-31 17:38:11 +01:00
Alan Plum
33b6a2b8eb
Fix failing swagger test
...
Adds missing signature variant for endpoint.response method.
2016-10-26 21:06:19 +02:00