Willi Goesgens
1c4a72b106
The Big V8 upgrade Merge.
2014-12-15 17:30:56 +01:00
Jan Steemann
1ae150d90a
control number of v8 contexts independently from number of server threads
...
added command-line option `--javascript.v8-contexts` to control the number of
V8 contexts created in arangod.
Previously, the number of V8 contexts was equal to the number of server threads
(as specified by option `--server.threads`). However, it may be sensible to
create different amounts of threads and V8 contexts. If the option is not
specified, the number of V8 contexts created will be equal to the number of
server threads. Thus no change in configuration is required to keep the old
behavior.
2014-11-01 21:02:00 +01:00
Jan Steemann
d3c945d1d3
fixes for Visual Studio
2014-10-28 11:02:05 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
ccf7e4f131
mini cleanup
2014-10-27 22:47:36 +01:00
Jan Steemann
612abc6a20
less throwing in destructors
2014-10-23 10:18:30 +02:00
Frank Celler
05c6b645df
fixed authentication
2014-10-20 09:29:57 +02:00
Jan Steemann
40ddb93eee
flush log at shutdown
2014-10-18 00:44:44 +02:00
Max Neunhoeffer
183cd3eb40
Sort out temporary directory creation with individual names.
2014-10-16 20:08:21 +02:00
Jan Steemann
1bf7fbde25
helgrind
2014-10-15 17:55:14 +02:00
Jan Steemann
e28ad821b0
fixed spuriously occurring "database not found" error
2014-10-02 15:34:38 +02:00
Jan Steemann
0d075dca3f
pass queryRegistry into the AQL functions
2014-09-29 09:30:32 +02:00
Max Neunhoeffer
bfc8b14a87
More HTTP methods for queries. Expire queries.
2014-09-24 16:51:35 +02:00
Jan Steemann
38fdaa4066
removed unused function parameter
2014-09-19 20:28:41 +02:00
Max Neunhoeffer
697dc64b58
Add a QueryRegistry in the ArangoServer and hand it on.
2014-09-19 13:56:46 +02:00
Max Neunhoeffer
0466873092
First step towards correct setup of HTTP API for AQL.
2014-09-19 13:14:19 +02:00
Max Neunhoeffer
68f246a09f
Add a REST handler for AQL (queries/cursors).
2014-09-19 00:36:57 +02:00
Jan Steemann
e5e2cfe4da
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-09-17 11:50:42 +02:00
Jan Steemann
d3f4f05df1
issue #1020
2014-09-17 11:42:01 +02:00
Jan Steemann
8f27ef531c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
scripts/run
2014-09-15 09:51:04 +02:00
Frank Celler
e1b9e343bb
added maintenance mode
2014-09-14 21:44:42 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Jan Steemann
669cb3b235
renamed files
2014-09-13 01:44:01 +02:00
Jan Steemann
0dc0bc834f
more files renamed
2014-09-13 00:20:30 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Jan Steemann
027fe0af9a
fixed memleak
2014-09-08 09:47:48 +02:00
Jan Steemann
a0868577ca
tried to diagnose logger races
2014-09-08 09:30:56 +02:00
Jan Steemann
a70a9613f6
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
lib/BasicsC/voc-errors.h
2014-08-22 21:51:38 +02:00
Jan Steemann
45d5d0f53a
cppcheck
2014-08-22 13:53:21 +02:00
Jan Steemann
0a439474e5
cppcheck
2014-08-22 12:51:26 +02:00
Frank Celler
9fa3d22d6c
towards new dispatcher interface
2014-08-18 23:37:32 +02:00
Frank Celler
986bf7d0e8
added dispatcherThreads
2014-08-18 12:08:33 +02:00
Frank Celler
be06ef7f25
new upgrade-database (formely known as version-check) and new startup procedure
2014-08-07 14:12:19 +02:00
Frank Celler
48eb317461
do not open the logfile manager when checking the version
...
Conflicts:
CHANGELOG
2014-07-23 14:41:11 +02:00
Frank Celler
e436ecfa40
if a cancelation has occured, flush the module cache
2014-07-08 11:54:53 +02:00
Jan Steemann
607267a675
small fixes
2014-07-08 00:31:48 +02:00
Jan Steemann
7b8122acb3
wrote WAL configuration documentation
2014-07-06 17:34:01 +02:00
Jan Steemann
599176d1e3
do not delete foxx apps on replay
2014-07-03 11:42:16 +02:00
Thomas Schmidts
e46d87f23c
Changed documentation code in configure chapter
2014-07-02 14:08:41 +02:00
Jan Steemann
d6a93a5535
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-06-30 13:07:56 +02:00
Jan Steemann
bda2db16da
recovery and replication
2014-06-30 13:07:48 +02:00
Thomas Schmidts
c2cb0d5a10
Some changes to the comments in the code
2014-06-29 03:34:22 +02:00
Jan Steemann
0d75f16e09
NULL
2014-06-24 16:31:19 +02:00
Jan Steemann
4f282cbe02
removed startup option `--database.remove-on-drop`
2014-06-24 11:54:32 +02:00
Jan Steemann
16bf152c8f
fully removed replication logger
2014-06-21 00:32:47 +02:00
Frank Celler
24a5ec0739
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
arangod/Ahuacatl/ahuacatl-grammar.c
arangod/Ahuacatl/ahuacatl-grammar.cpp
arangod/Ahuacatl/ahuacatl-grammar.h
2014-06-20 16:42:43 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Lucas Dohmen
95fb92b195
Move testrunner into the org/arangodb 'namespace'
2014-06-20 16:05:09 +02:00
Jan Steemann
589ff8e208
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-18 17:26:20 +02:00
Jan Steemann
1d68586500
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js
2014-06-18 16:37:28 +02:00
Frank Celler
f5419205ac
added voice
2014-06-18 16:34:55 +02:00
Jan Steemann
8b9cdbe075
fixed tests
2014-06-18 16:34:11 +02:00
Jan Steemann
d1cdd1e40f
macos
2014-06-18 15:27:25 +02:00
Jan Steemann
b952c6724d
recovery
2014-06-17 18:19:04 +02:00
Jan Steemann
091491d13b
crash recovery tests
2014-06-17 15:30:11 +02:00
Jan Steemann
30460bb72c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-17 00:49:37 +02:00
Lucas Dohmen
b5764513d9
Extracted the test runner from jsunity
2014-06-16 14:39:40 +02:00
Jan Steemann
d7f35bcc7b
fixed datafile ticks issues
2014-06-13 14:46:21 +02:00
Jan Steemann
d5e695e63f
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
arangod/RestServer/ArangoServer.h
arangod/VocBase/server.cpp
js/common/bootstrap/errors.js
2014-06-13 02:23:03 +02:00
Jan Steemann
41dc6a808e
fixed recovery
2014-06-13 00:20:24 +02:00
Jan Steemann
bc52f3408f
recovery, not functional yet
2014-06-12 18:13:48 +02:00
Jan Steemann
dae5a5151d
call (still empty) WAL recovery procedure at startup
2014-06-12 11:28:48 +02:00
Frank Celler
299b99ed00
fixed check-version for empty directory
2014-06-11 19:30:12 +02:00
Jan Steemann
cc115a2766
removed outdated upgrade methods
2014-06-11 17:38:49 +02:00
Jan Steemann
9535779916
removed lol message
2014-06-11 15:52:58 +02:00
Jan Steemann
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Jan Steemann
ad1feb0ed4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-04 14:30:28 +02:00
Frank Celler
eda4b0cde4
fixed dfdb
2014-06-04 11:02:42 +02:00
Jan Steemann
8ea7fa5e4a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-03 17:18:02 +02:00
Jan Steemann
399a843e23
use and release databases and collections during collection
2014-06-03 17:17:41 +02:00
Thomas Schmidts
87e0d54f04
small changes for new documentation in code-docu
2014-06-03 14:55:39 +02:00
Jan Steemann
2c934cf1aa
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
arangod/V8Server/ApplicationV8.cpp
2014-06-02 09:52:05 +02:00
Frank Celler
8db4667755
cleanup of version-check, added option check-version
2014-06-01 13:37:21 +02:00
Jan Steemann
7b521a4c9e
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/document-collection.cpp
arangod/VocBase/document-collection.h
2014-05-30 12:51:20 +02:00
Frank Celler
c8ddff2a9b
fixed shutdown for busy V8 contexts
2014-05-30 11:39:11 +02:00
Max Neunhoeffer
2820afdcc2
Remove many extern "C" declarations that are no longer needed.
2014-05-22 10:19:03 +02:00
Jan Steemann
06a56a7d36
removed MRuby for arangod
2014-05-21 18:11:59 +02:00
Max Neunhoeffer
ff1dfdd55f
Header cleanup: use #include "Basics/Common.h" in all C++ files.
2014-05-21 15:50:30 +02:00
Max Neunhoeffer
69353334eb
Get rid of TRI_ENABLE_CLUSTER everywhere.
2014-05-21 14:46:47 +02:00
Max Neunhoeffer
0af211c1e5
More header cleanups.
2014-05-21 13:42:41 +02:00
Jan Steemann
300da03c5c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-05-12 17:25:01 +02:00
Jan Steemann
027ec2d3f4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/V8Server/V8PeriodicTask.cpp
arangod/V8Server/V8PeriodicTask.h
arangod/V8Server/v8-actions.cpp
js/common/bootstrap/module-internal.js
js/server/server.js
lib/Dispatcher/ApplicationDispatcher.cpp
lib/Dispatcher/RequeueTask.cpp
lib/GeneralServer/GeneralListenTask.h
lib/Scheduler/ApplicationScheduler.cpp
lib/Scheduler/PeriodicTask.cpp
lib/Scheduler/Scheduler.cpp
lib/Scheduler/Scheduler.h
lib/Scheduler/Task.cpp
lib/Scheduler/Task.h
lib/Scheduler/TimerTask.cpp
lib/Scheduler/TimerTask.h
2014-05-12 16:49:20 +02:00
Esteban Lombeyda
9c1d39c1f4
Some Windows Warnings are avoided
2014-05-12 16:48:05 +02:00
Jan Steemann
a991f0d581
disable turning down scheduler in test mode
2014-05-12 09:29:39 +02:00
Max Neunhoeffer
2390008f00
On coordinators use cluster auth for /_admin/shutdown.
2014-05-06 13:01:21 +02:00
Jan Steemann
b6bbbd031b
halt on test failure
2014-04-23 19:07:23 +02:00
Jan Steemann
9d3c80518d
run GC every 10 commands in console mode only
2014-04-22 16:01:32 +02:00
Frank Celler
6cdfa029c9
added more error information, fixed try catch
...
Conflicts:
CHANGELOG
arangod/V8Server/ApplicationV8.cpp
2014-04-21 13:35:06 +02:00
Frank Celler
8e9ad58f3b
added cancelation of asnyc jobs
...
Conflicts:
arangod/V8Server/ApplicationV8.cpp
arangod/V8Server/v8-actions.cpp
lib/Rest/Handler.h
2014-04-16 20:16:22 +02:00
Jan Steemann
86398d7cde
insert standalone marker
2014-04-11 13:01:00 +02:00
Frank Celler
99bc134bcf
added password token functions
2014-04-10 17:31:33 +02:00
Jan Steemann
55f0dc5739
logfile opening/closing fixes
2014-03-28 16:45:06 +01:00
Jan Steemann
e2f1d0dfb6
fixed issues in arango-dfdb
2014-03-27 12:29:32 +01:00
Jan Steemann
4ddaa74f74
logfile manager
2014-03-26 17:16:49 +01:00
Jan Steemann
92f87c1421
updated logfile manager
2014-03-25 18:21:31 +01:00
Frank Celler
d34832bbcf
added changePassword attribute for users
2014-03-25 11:40:13 +01:00
Jan Steemann
29b7250b40
initial addition for WAL
2014-03-18 17:13:11 +01:00
Max Neunhoeffer
c5595799a7
Revert "Even more debug output."
...
This reverts commit fdc834b07f083311377a33741e6af57507fcd5fc.
2014-03-14 23:09:18 +01:00
Max Neunhoeffer
f4e733bc75
Revert "Yet again more debugging output."
...
This reverts commit 7ecec48675c7f905024f239156d8124d27f1974f.
2014-03-14 23:09:08 +01:00
Max Neunhoeffer
bf7302f245
Yet again more debugging output.
2014-03-14 11:37:50 +01:00
Max Neunhoeffer
dda787ba62
Even more debug output.
2014-03-14 11:01:24 +01:00
Jan Steemann
9da8d0ddfe
allow startup options `temp-path` and `default-language` to be specified from the command-line and not only from config files
2014-03-12 12:12:58 +01:00
Jan Steemann
7df402d1cd
removed command line option `--database.remove-on-drop`
2014-03-10 17:03:17 +01:00
Max Neunhoeffer
cd0a33de9f
Seemingly fix behaviour on Windows.
...
Note: WSACleanup complains and we do not know a fix.
2014-03-07 16:48:21 +01:00
Frank Celler
5a2fa4f37d
stop if upgrade is needed
2014-03-01 16:14:29 +01:00
Frank Celler
f22f1525d2
Merge branch 'sharding' of github.com:triAGENS/ArangoDB into sharding
...
Conflicts:
etc/relative/arangod.conf
2014-02-28 12:03:11 +01:00
Frank Celler
9a410a5b71
added config for server state
2014-02-28 12:02:21 +01:00
Jan Steemann
897d6f4dcd
fixed cluster authentication
2014-02-27 17:45:03 +01:00
Frank Celler
3afa2214f7
added disable-cluster-dispatcher
2014-02-27 11:47:26 +01:00
Jan Steemann
9ac1a7cc50
cluster-internal authentication
2014-02-26 12:01:41 +01:00
Jan Steemann
98ceb07b77
add initial user
2014-02-25 17:05:02 +01:00
Frank Celler
f2121ff442
cleanup
2014-02-25 15:32:07 +01:00
Frank Celler
569778ae10
Merge branch 'sharding' of github.com:triAGENS/ArangoDB into sharding
2014-02-25 12:07:46 +01:00
Frank Celler
42fb8244e1
added requeue
2014-02-25 12:07:16 +01:00
Jan Steemann
018a8390ce
refactored create/drop database
2014-02-24 14:50:31 +01:00
Jan Steemann
7a0aac82e2
re-create database objects on coordinator now, and switch into them
2014-02-21 17:40:00 +01:00
Frank Celler
b01d9d77e7
Merge branch 'devel' of github.com:triAGENS/ArangoDB into sharding
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
arangod/V8Server/ApplicationV8.cpp
arangod/V8Server/ApplicationV8.h
arangod/V8Server/v8-actions.cpp
js/apps/system/aardvark/frontend/js/bootstrap/module-internal.js
js/apps/system/aardvark/frontend/scss/generated.css
js/server/version-check.js
lib/Dispatcher/Job.h
lib/GeneralServer/GeneralServerJob.h
2014-02-20 21:02:07 +01:00
Frank Celler
730da7623a
added periodic tasks and statistics historian
2014-02-20 20:29:55 +01:00
Jan Steemann
4770fed362
removed dead code
2014-02-19 15:35:52 +01:00
Frank Celler
c5d6e6a9d3
fixed rethrow
2014-02-17 16:54:03 +01:00
Max Neunhoeffer
98ed29ab84
Make check for useDatabase switchable for unittests.
2014-02-14 15:33:35 +01:00
Frank Celler
eb95f1bee9
added rethrow
2014-02-13 16:58:46 +01:00
Frank Celler
739900fc2f
try to force abort
2014-02-13 12:06:52 +01:00
Max Neunhoeffer
7df42c547e
Lost a ).
2014-02-12 10:56:03 +01:00
Max Neunhoeffer
5c467148a3
Add HTTP REST API call for shutdown.
2014-02-12 10:47:43 +01:00
Max Neunhoeffer
bc79698750
Make executable path and basePath available through ServerState.
2014-02-10 09:59:41 +01:00
Jan Steemann
b4d9f10f17
fixed some database methods
2014-02-06 15:54:34 +01:00
Jan Steemann
c38c038492
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
CHANGELOG
js/apps/system/aardvark/frontend/css/collectionsItemView.css
js/apps/system/aardvark/frontend/css/graphlayout.css
2014-02-06 13:18:52 +01:00
Jan Steemann
18d872628e
call global instance destructor
2014-02-02 09:23:04 +01:00
Jan Steemann
545742a5fd
added option `--server.disable-authentication-unix-sockets`
...
with this option, authentication can be disabled for all requests coming
in via UNIX domain sockets, enabling clients located on the same host as
the ArangoDB server to connect without authentication.
Other connections (e.g. TCP/IP) are not affected by this option.
The default value for this option is `false`.
Note: this option is only supported on platforms that support Unix domain
sockets.
2014-02-02 00:22:07 +01:00
Jan Steemann
e2a7e2dfb3
windows
2014-01-28 17:32:32 +01:00
Jan Steemann
e906f68235
windows fixes
2014-01-27 17:46:15 +01:00
Jan Steemann
1b08bc6582
start up the HTTP server when starting ArangoDB in console mode
2014-01-27 09:45:26 +01:00
Jan Steemann
a987647bd2
handle state changes
2014-01-16 14:52:40 +01:00
Michael Hackstein
9f3479f5b6
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
utils/Makefile.files
2014-01-10 17:41:52 +01:00
Jan Steemann
5b965b2a21
added initialised() method
2014-01-07 17:50:52 +01:00
Jan Steemann
bb7f550f7a
for Michael...
2014-01-07 16:46:18 +01:00
Jan Steemann
9ce78430ac
create collections, v0.0.0
2014-01-07 16:28:12 +01:00
Jan Steemann
5c0e6e12e0
added tests for serverstate and clusterinfo
2014-01-06 18:19:14 +01:00
Jan Steemann
d1bee4cf58
added functions to query the server state
2014-01-02 15:13:44 +01:00
Frank Celler
84507cfc44
merged changes from 1.4 back to devel
2013-12-27 14:59:23 +01:00
Max Neunhoeffer
c9b2884def
Full round trip implemented but not yet working.
2013-12-23 16:19:59 +01:00
Frank Celler
2d5a8eb5ca
added service functions
2013-12-22 00:48:31 +01:00
Frank Celler
2d9f8e3986
removed --daemon and --supervisor for Windows
2013-12-21 13:29:55 +01:00
Frank Celler
e57dceb42b
arangod used same config as binary name
2013-12-21 01:36:25 +01:00
Jan Steemann
8eccb0a35f
added dispatcher to shardhandler
2013-12-12 16:42:25 +01:00
Jan Steemann
e1fb1f3d14
added stub REST API for cluster requests
2013-12-12 15:59:16 +01:00
Jan Steemann
13bcc2bf7a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
2013-12-11 18:39:10 +01:00
Jan Steemann
5e5a5fb32b
added JS bindings for agency
2013-12-11 09:56:54 +01:00
Jan Steemann
9e21cf9b7e
added configure option --enable-cluster
2013-12-10 14:46:16 +01:00