jsteemann
210a4e485b
fix path to version file
2017-06-06 15:42:42 +02:00
Alan Plum
4b4b9f8c55
Fix Foxx API error ( #2517 )
...
* Fix Foxx API error
* Manager should distinguish between errors and services
* Foxx API should not require service to exist for uninstall
if force option is used
* Respect options.force in FM _install
2017-06-01 11:59:04 +02:00
Mark
f832dd0388
Implement endpoint "commit coordinator state" ( #2513 )
...
Implement endpoint "commit coordinator state" (also see #2479 )
2017-05-31 18:21:50 +02:00
Alan Plum
7608cde674
Implement clusterfoxx mounting logic ( #2514 )
...
* Serve error when service is out of sync
* Don't check system services for bundles
* Use appropriate errorNum if Foxx blows up
* Only check checksum when file exists
* Don't expose stack traces
2017-05-31 18:21:40 +02:00
Alan Plum
83310c12d7
Move FM.listJson into aardvark
2017-05-30 20:19:58 +02:00
Alan Plum
5fc4a17b24
Make sure the bundle doesn't exist before loading it from db
2017-05-30 20:09:58 +02:00
Alan Plum
cceccf59da
Simplified Foxx self healing ( #2511 )
...
* Implement new self-heal
* Add error codes for 503, service missing/outdated
* Detect changes to service via rev
* Pretty print incoming response object in log
2017-05-30 18:27:32 +02:00
Andreas Streichardt
d8dc3c85e7
Call version instead of foxx status to save a v8 context
2017-05-22 19:07:24 +02:00
Michael Hackstein
ca737edd97
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-17 18:53:35 +02:00
Michael Hackstein
0d18821705
Adapted the shell-index-figures test to honor that the primary index does not have a cache anymore.
2017-05-17 18:52:09 +02:00
Andreas Streichardt
49328dcecb
Add authorizedflag fixing cluster internal foxx requests
2017-05-17 18:14:11 +02:00
Jan Christoph Uhde
d7a1b98117
fix liniting errors
2017-05-17 12:47:37 +02:00
Alan Plum
819a1194ba
Throw correct errors in Foxx management internals
2017-05-17 12:22:16 +02:00
Michael Hackstein
b19549f5e4
RocksDB now properly reports EdgeIndex estimates to the user. Also reactivated edgeIndex tests for the estimate in RocksDB.
2017-05-17 09:52:25 +02:00
Alan Plum
5d017d733c
Improve Foxx cluster resilience ( #2479 )
...
* Improve Foxx cluster resilience
Fixes #2083
Fixes #2384
Fixes #2408
Addresses #1892
* Port old Foxx API
* Implement single-file services
* Add console.errorStack/warnStack/infoStack helpers
* Simplify serviceInfo validation
* Extract github/upload logic into Aardvark and old FM API
* Move generator logic into Aardvark
* Move zip/js buffer logic into FM core
* Add Foxxmanager tests
* Send empty response when no README
* Disambiguate script arg format
Historically we allow passing an array of positional arguments or an arbitrary first argument.
This is surprising behaviour, so we should just always treat the value as a first argument.
* Rebuild bundle in development mode
* Nicer HTTP docs formatting
* Create Foxx HTTP docs
* Simplify service upload handling
* Remove inline swagger docs
* Implement public download route
* Consistency
* Rebuild aardvark
* Move bundle route into /_api/foxx/_local
* Rebuild Swagger API docs
* Add changes to CHANGELOG
* More docs
2017-05-16 17:41:29 +02:00
jsteemann
499491bee9
use exclusive locks for some transactions
2017-05-15 22:47:50 +02:00
jsteemann
d0ae7673b9
do not print errors on shutdown
2017-05-09 10:26:59 +02:00
Dan Larkin
d77efe38dc
Added explicit WAL file lifecycle management to reduce space overhead from replication.
2017-05-04 15:16:24 -04:00
jsteemann
0cad04bdb3
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-04 15:09:39 +02:00
Simon Grätzer
9837fe3bb7
Added compaction after truncate
2017-05-04 14:00:21 +02:00
jsteemann
134b4f80ae
do not care about collection attributes that are not used in an engine
2017-05-04 13:11:21 +02:00
Max Neunhoeffer
ce2f59c12c
Avoid log spam.
2017-05-02 15:02:48 +02:00
Michael Hackstein
bedf5e9245
Reactivated client-side filtering of unnecessary markers
2017-05-02 13:19:06 +02:00
Michael Hackstein
5a8e8338cf
Revert "Ignore collection markers in logger-follow output for syncCollectionFinalize."
...
This reverts commit cf8b75db87
.
2017-05-02 10:43:39 +02:00
Max Neunhoeffer
cf8b75db87
Ignore collection markers in logger-follow output for syncCollectionFinalize.
2017-05-02 10:11:12 +02:00
Frank Celler
34fb4768b5
Merge pull request #2401 from de3/devel
...
Fix result value from queue worker
2017-04-26 14:03:33 +02:00
jsteemann
1df46f8923
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-04-21 16:59:32 +02:00
Kaveh Vahedipour
1f81ce28b0
merge in cpp & js from 3.1.18 yet to do tests
2017-04-21 15:41:05 +02:00
jsteemann
ac58b181bd
fix recovery test for mmfiles engine
2017-04-18 22:20:18 +02:00
Simon Grätzer
bab71f6339
Fixing jslint errors
2017-04-18 12:15:26 +02:00
Simon Grätzer
e0e00b0b6b
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBEdgeIndex.cpp
2017-04-13 17:48:52 +02:00
Simon Grätzer
866d8b7451
Fixing tests
2017-04-13 17:45:16 +02:00
Kaveh Vahedipour
001c2b4092
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-04-11 11:46:40 +02:00
Kaveh Vahedipour
28fbf8ec12
sensitivityEstimates do not belong in Current
2017-04-11 11:46:20 +02:00
Max Neunhoeffer
53b3a73486
Add a timeout option to <collection>.drop().
...
This is in particular used to allow the Schmutz to make progress
in the case of a long running transaction.
2017-04-07 15:52:19 +02:00
jsteemann
8206afa0b1
re-enable index
2017-04-04 11:47:34 +02:00
Edi
32b150f7b1
add comment on update code
2017-04-04 11:01:22 +07:00
jsteemann
d563eb432f
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-30 15:50:53 +02:00
Alan Plum
373eade2f9
Let ArangoDB handle the allow-credentials header
2017-03-30 13:08:37 +02:00
jsteemann
3ff4f15a19
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-03-29 17:50:55 +02:00
mpv1989
59e000b743
Foxx: Fix CORS blowing up when headers are not set
2017-03-29 13:43:06 +02:00
jsteemann
dcfd60f98c
disable skiplist index for now
2017-03-29 12:37:44 +02:00
mpv1989
f3ebf247b0
automatically add CORS response headers
2017-03-28 19:48:46 +02:00
Edi
f88a0e9b1e
Fix result value from queue worker
2017-03-28 08:05:06 +07:00
Wilfried Goesgens
85f58b9a21
we may now also do 'milestone'-releases next to devel/alpha/beta/rc
2017-03-22 11:59:25 +01:00
jsteemann
25a380f77c
Merge branch 'devel' of https://github.com/arangodb/arangodb into views
2017-03-16 12:50:11 +01:00
Max Neunhoeffer
4017bfb296
Revise /_api/cluster/endpoints API and Documentation.
2017-03-16 11:33:46 +01:00
Alan Plum
4920ef8b41
Implement tap/xunit reporters in Foxx
2017-03-15 20:09:31 +01:00
Alan Plum
c919cb7be8
Add Foxx res.type helper
2017-03-15 20:09:27 +01:00
Simon Grätzer
1c5c616875
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-03-15 14:12:18 +01:00
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