Frank Celler
0a0eebb33f
log to stderr if on a tty
2015-01-28 23:58:43 +01:00
Willi Goesgens
7224eea2e8
Windows portability: socket timeouts are handled differently.
2015-01-28 17:23:31 +01:00
Willi Goesgens
aa1f05ae2e
Use porting functions for initialisation, so ssl locking works on windows
2015-01-28 15:52:55 +01:00
Jan Steemann
b54dfae96f
removed several JSON functions
2015-01-13 01:31:04 +01:00
Max Neunhoeffer
e50a705d9a
Squashed commit of the following: organise locking in distributed AQL
...
Locking is now done in an extra round after the query is fully
instanciated in the cluster. All participating shards are locked
in alphabetical order of their shard ID (local collection name).
For this to work there is a new action in the RestAqlHandler plus a
mechanism to prevent the usual locking from happening: Each thread has a
thread local static class variable of
triagens::arango::Transaction::_makeNolockHeaders
which is of type std::unordered_set<std::string>*.
Whenever this is not equal to nullptr and a local collection name is
stored in there, no locking or unlocking takes place. This information
is forwarded by the X-Arango-Nolock HTTP header, whenever an HTTP
request is sent via ClusterComm to a shard.
2014-12-22 14:40:22 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Frank Celler
9b2a054ae7
added blockThread and unblockThread
2014-11-08 00:21:59 +01:00
Willi Goesgens
f001c4f1aa
Treat valgrind possibly lost errors
2014-11-06 17:49:16 +01:00
Willi Goesgens
0279cc1bd6
Output which ip/port we fail to bind.
2014-10-30 11:12:54 +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
612abc6a20
less throwing in destructors
2014-10-23 10:18:30 +02:00
Jan Steemann
10ae635df3
added architecture and maintainer mode
2014-10-03 01:56:20 +02:00
Jan Steemann
fdc8360674
moved member variable
2014-10-03 01:37:35 +02:00
Jan Steemann
5d28f7feb7
nullptr
2014-10-03 00:49:27 +02:00
Jan Steemann
e28ad821b0
fixed spuriously occurring "database not found" error
2014-10-02 15:34:38 +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
953b8cdfe3
renamed files
2014-09-13 00:34:48 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Max Neunhoeffer
d1e02c2e7b
Ignore an unused parameter.
2014-09-12 14:43:23 +02:00
Alan Plum
b0995dfdb7
Replaced PBKDF2_HMAC with PBKDF2_HMAC_SHA1 for OSX compat.
2014-09-08 14:32:40 +02:00
Alan Plum
469af580e5
Added PBKDF2-HMAC.
2014-09-05 16:23:37 +02:00
Frank Celler
4ffec6e914
tried to silence rpmlint: remove empty files, remove unused scripts, fixed initgroups, fixed identical files, remove __DATE__
...
Conflicts:
CHANGELOG
Makefile.in
2014-09-05 09:28:21 +02:00
Alan Plum
4e3659c01a
Added support for sha384, sha512.
2014-09-04 23:17:58 +02:00
Jan Steemann
33ca76773a
fixed compiler warning
2014-07-21 14:22:54 +02:00
Frank Celler
d3df9ae82c
ifdef for old MacOS openssl
2014-07-04 10:50:41 +02:00
Max Neunhoeffer
f1a3b687f4
Try to fix compilation of new SSL setup on Mac OSX.
2014-07-03 22:13:38 +02:00
Jan Steemann
2babd2a1d2
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-07-03 12:58:18 +02:00
Max Neunhoeffer
c3fbfba2d9
Try to fix SSL problems, not yet working.
2014-07-03 11:24:05 +02:00
Jan Steemann
60fd8e44e4
nullptr
2014-07-03 10:17:10 +02:00
Thomas Schmidts
e46d87f23c
Changed documentation code in configure chapter
2014-07-02 14:08:41 +02:00
Alan Plum
d2f0b0efc5
Added HMAC-SHA224, exposed SHA1, SHA224.
2014-06-24 12:49:20 +02:00
Frank Celler
6936972d08
updated disclaimer
2014-06-20 16:41:35 +02:00
Jan Steemann
9fc03ec85f
cppcheck
2014-06-18 21:13:20 +02:00
Jan Steemann
acba4c8851
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
CHANGELOG
2014-06-17 15:31:04 +02:00
Alan Plum
a682767efc
Added HMAC MD5.
2014-06-17 13:25:07 +02:00
Jan Steemann
a231ab3d29
return HMAC as hex
2014-06-17 11:25:53 +02:00
Jan Steemann
70fec69952
added crypto.hmac function
2014-06-17 11:20:46 +02:00
Jan Steemann
47999865d6
read-only mode
2014-06-13 15:32:13 +02:00
Jan Steemann
cc115a2766
removed outdated upgrade methods
2014-06-11 17:38:49 +02:00
Jan Steemann
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Jan Steemann
715d11cb22
removed consts
2014-06-03 10:17:09 +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
Jan Steemann
4f3ed048e4
fixed disconnect of agency connections, use less CPU while spinning in agency methods
2014-05-28 13:44:35 +02:00
Max Neunhoeffer
bb5b341ba6
Get rid of many "using namespace ..." occurrences in header files.
2014-05-22 15:13:16 +02:00
Max Neunhoeffer
e7560357d2
Further cleanup with #include "Basics/Common.h"
2014-05-21 16:59:54 +02:00
Max Neunhoeffer
0af211c1e5
More header cleanups.
2014-05-21 13:42:41 +02:00
Jan Steemann
42b33046d1
removed v8 dependency
2014-05-16 21:46:31 +02:00
Jan Steemann
8a5c2438b9
removed tabs
2014-05-14 18:01:40 +02:00
Jan Steemann
2eca70e606
fixed timeout overflows on 32 bit
2014-05-09 12:17:57 +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
b922c74ab7
removed unused Url class
2014-04-04 10:23:41 +02:00
Jan Steemann
100e514841
issue #798 : Lower case http headers from arango
...
This change allows returning capitalized HTTP headers, e.g.
`Content-Length` instead of `content-length`.
The HTTP spec says that headers are case-insensitive, but
in fact several clients rely on a specific case in response
headers.
This change will capitalize HTTP headers if the `X-Arango-Version`
request header is sent by the client and contains a value of at
least `20100` (for version 2.1). The default value for the
compatibility can also be set at server start, using the
`--server.default-api-compatibility` option.
2014-04-03 13:24:59 +02:00
Jan Steemann
5a3f2aaa49
improved job API
...
* added REST API method HTTP GET `/_api/job/job-id` to query the status of an
async job without potentially fetching it from the list of done jobs
* fixed non-intuitive behaviour in jobs API: previously, querying the status
of an async job via the API HTTP PUT `/_api/job/job-id` removed a currently
executing async job from the list of queryable jobs on the server.
Now, when querying the result of an async job that is still executing,
the job is kept in the list of queryable jobs so its result can be fetched
by a subsequent request.
2014-03-21 21:19:45 +01:00
Jan Steemann
bef0a661a1
silence compiler
2014-03-13 20:09:43 +01:00
Frank Celler
56eb394f04
replace is now a protected virtual method
2014-03-12 18:19:50 +01:00
Jan Steemann
3e8e6a76be
report sizeof void*
2014-03-11 09:03:32 +01:00
Jan Steemann
79defc2ef1
-Wunreachable-code reverted. Visual Studio doesn't like it
2014-03-06 11:36:58 +01:00
Jan Steemann
c5c294aa6b
-Wunreachable-code
2014-03-06 11:30:38 +01:00
Max Neunhoeffer
e652d663bf
Fix socket closing under Windows.
2014-03-04 11:23:11 +01:00
Max Neunhoeffer
41eaf9aaab
Under Windows, do only SO_EXCLUSIVEADDRUSE.
2014-03-04 10:57:46 +01:00
Frank Celler
5a2fa4f37d
stop if upgrade is needed
2014-03-01 16:14:29 +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
Max Neunhoeffer
70c541fec6
Sort out REUSEADDR matter for good?
2014-02-24 12:40:48 +01:00
Jan Steemann
00d8a9023f
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-02-21 17:40:38 +01:00
Jan Steemann
7a0aac82e2
re-create database objects on coordinator now, and switch into them
2014-02-21 17:40:00 +01:00
Max Neunhoeffer
f7e57a5b47
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
js/apps/system/aardvark/frontend/scss/generated.css
js/apps/system/aardvark/manifest.json
lib/Rest/EndpointIp.cpp
lib/Rest/EndpointUnixDomain.cpp
lib/V8/v8-utils.cpp
2014-02-21 15:28:21 +01:00
Jan Steemann
211b0da24b
moved options --server.reuse-address and --server.no-reuse-address into ApplicationEndpointServer
2014-02-21 14:44:18 +01:00
Max Neunhoeffer
076bc6e723
Cleanup socket abstraction for different OSes.
2014-02-14 14:44:27 +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
58b3e0f99d
splitted a few tests
2014-02-05 15:15:51 +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
Max Neunhoeffer
73f3dbc328
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into sharding
2014-01-31 18:56:47 +01:00
Frank Celler
988bd0b891
added port test
2014-01-31 18:38:02 +01:00
Jan Steemann
1b08bc6582
start up the HTTP server when starting ArangoDB in console mode
2014-01-27 09:45:26 +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
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
Frank Celler
84507cfc44
merged changes from 1.4 back to devel
2013-12-27 14:59:23 +01:00
Frank Celler
2d5a8eb5ca
added service functions
2013-12-22 00:48:31 +01:00
Jan Steemann
8eccb0a35f
added dispatcher to shardhandler
2013-12-12 16:42:25 +01:00
Jan Steemann
2f4499bae1
windows fixes
2013-10-31 11:53:11 +01:00
Jan Steemann
4f50b98c45
removed second logger implementation
2013-10-30 00:38:25 +01:00
Jan Steemann
0fddad4f2e
remove unused method
2013-10-28 23:05:12 +01:00
Jan Steemann
43b4f78b62
issue #620
2013-10-28 19:38:19 +01:00
Jan Steemann
74926b1c7b
issue #621 : Standard Config needs to be fixed
2013-10-28 15:07:08 +01:00
Frank Celler
5ded180525
added zlib version
2013-10-18 17:28:45 +02:00
Jan Steemann
0a6148f2d6
fixed some VS complaints
2013-10-16 17:27:35 +02:00
Jan Steemann
cc14fb039a
fix some VS warnings
2013-10-09 14:05:36 +02:00
Jan Steemann
857c69d5a6
added `--server.allow-method-override` startup option
2013-10-08 17:06:42 +02:00
Jan Steemann
46a295ba43
fixed some Windows warnings
2013-10-08 12:39:47 +02:00
Jan Steemann
1956a5cecf
VC
2013-10-01 12:37:06 +02:00
Jan Steemann
e3d9d95f3f
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
lib/Admin/ApplicationAdminServer.cpp
lib/GeneralServer/GeneralServerDispatcher.h
2013-09-26 17:46:05 +02:00
Jan Steemann
5a422becd8
async job management
2013-09-26 17:30:03 +02:00
Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +02:00