Jan Steemann
ce04ec4ae3
fixed crash due to querying of context property outside of isolate
2014-04-22 16:01:55 +02:00
Jan Steemann
ae153598a3
issue #810 : documented immutability of returned objects
2014-04-22 14:26:05 +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
2050049b06
added periodic job management
...
this adds functions internal.deletePeriod() and internal.getPeriodic()
functions internal.definePeriodic() now also has an extra parameter to
specify the name of a periodic job. this makes it more easy to tell
jobs apart in the result of internal.getPeriodic().
2014-04-13 22:19:46 +02:00
Jan Steemann
90c0d0dfd6
added periodic job management
...
this adds functions internal.deletePeriod() and internal.getPeriodic()
functions internal.definePeriodic() now also has an extra parameter to
specify the name of a periodic job. this makes it more easy to tell
jobs apart in the result of internal.getPeriodic().
2014-04-11 21:33:41 +02:00
Jan Steemann
080fac47e0
dont expose test function
2014-04-11 18:19:55 +02:00
Max Neunhoeffer
d3df2a16e9
Improve the documentation of _create with respect to shardKeys.
2014-04-04 17:13:49 +02:00
Jan Steemann
17bf8ebafb
fixed VS warnings
2014-04-03 16:13:56 +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
e2f1d0dfb6
fixed issues in arango-dfdb
2014-03-27 12:29:32 +01:00
Jan Steemann
cc533c5df5
fixed segfault
2014-03-25 11:16:51 +01:00
Jan Steemann
f758690ddc
fixed memleak
2014-03-25 10:50:38 +01:00
Jan Steemann
fa391e0636
slight GC improvements
2014-03-24 16:12:59 +01:00
Jan Steemann
19fb30db14
Revert "free barriers properly"
...
This reverts commit 35a74cf20ce1fa7f801b375fe7a6a51da9536ee5.
Conflicts:
arangod/V8Server/v8-query.cpp
2014-03-13 23:28:11 +01:00
Jan Steemann
9b0bb25cc5
don't requeue identical global context methods
2014-03-13 21:48:27 +01:00
Jan Steemann
ef45f43be9
fixed arango-dfdb issues
2014-03-13 20:56:45 +01:00
Jan Steemann
4cd329090b
free barriers properly
2014-03-13 20:09:53 +01:00
Jan Steemann
7df402d1cd
removed command line option `--database.remove-on-drop`
2014-03-10 17:03:17 +01:00
Jan Steemann
ec9e3f2402
debug information
2014-03-07 12:17:38 +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
Jan Steemann
415055705f
adjusted documentation
2014-03-04 18:45:56 +01:00
Jan Steemann
5ebdc7d307
fixed "cannot convert value to JSON" error
2014-03-04 16:21:40 +01:00
Jan Steemann
65bc5dddad
documentation
2014-03-03 10:40:29 +01:00
Jan Steemann
8041752f4f
documentation
2014-03-03 10:33:29 +01:00
Jan Steemann
1481ceba42
documentation
2014-03-03 10:28:38 +01:00
Jan Steemann
3478c8bc74
cppcheck
2014-03-03 09:12:34 +01:00
Frank Celler
5a2fa4f37d
stop if upgrade is needed
2014-03-01 16:14:29 +01:00
Frank Celler
b888e8cfa6
Merge branch 'devel' of github.com:triAGENS/ArangoDB into sharding
...
Conflicts:
arangod/V8Server/V8PeriodicJob.cpp
js/apps/system/aardvark/api-docs.json
js/apps/system/aardvark/api-docs/batch.json
js/apps/system/aardvark/api-docs/collection.json
js/apps/system/aardvark/api-docs/cursor.json
js/apps/system/aardvark/api-docs/database.json
js/apps/system/aardvark/api-docs/document.json
js/apps/system/aardvark/api-docs/edge.json
js/apps/system/aardvark/api-docs/edges.json
js/apps/system/aardvark/api-docs/endpoint.json
js/apps/system/aardvark/api-docs/graph.json
js/apps/system/aardvark/api-docs/index.json
js/apps/system/aardvark/api-docs/job.json
js/apps/system/aardvark/api-docs/replication.json
js/apps/system/aardvark/api-docs/simple.json
js/apps/system/aardvark/api-docs/system.json
js/apps/system/aardvark/api-docs/traversal.json
2014-02-28 20:37:05 +01:00
Jan Steemann
3ca2001c99
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-02-28 18:43:36 +01:00
Jan Steemann
629348d696
properly acquire shape write locks
2014-02-28 18:43:09 +01:00
Max Neunhoeffer
0a8555fab3
Sort out path to javascript files.
2014-02-28 14:19:04 +01:00
Jan Steemann
fd08bb0feb
use indexes in AQL
2014-02-28 13:50:39 +01:00
Esteban Lombeyda
85e824f1c8
Bug Fix: compiler error
...
: searching strategy for installation directory upgraded
2014-02-28 12:07:29 +01:00
Jan Steemann
897d6f4dcd
fixed cluster authentication
2014-02-27 17:45:03 +01:00
Jan Steemann
076b8f1029
fixed test
2014-02-27 14:03:23 +01:00
Jan Steemann
c387b697e8
fixed test
2014-02-27 13:26:40 +01:00
Jan Steemann
a0c32e90d7
fixed edge access in coordinator
2014-02-27 13:14:02 +01:00
Frank Celler
3afa2214f7
added disable-cluster-dispatcher
2014-02-27 11:47:26 +01:00
Jan Steemann
ef84dc23e2
fixed segfault
2014-02-27 09:16:07 +01:00
Jan Steemann
f5269fa3de
fixed traversals
2014-02-26 21:28:40 +01:00
Jan Steemann
fe74e030ea
fixed keygen test
2014-02-26 16:47:38 +01:00
Jan Steemann
7f9ae2292c
fix geo index comparison
2014-02-26 15:11:07 +01:00
Jan Steemann
4137eb72ae
prevent segfault
2014-02-26 15:03:58 +01:00
Jan Steemann
b086729d1b
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-02-26 14:23:13 +01:00
Jan Steemann
42465ce876
properly return collection status
2014-02-26 14:23:06 +01:00
Max Neunhoeffer
c1ac5eeecf
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
2014-02-26 13:58:26 +01:00
Max Neunhoeffer
54d62007f2
Create users in new cluster database (if given).
2014-02-26 13:28:20 +01:00
Jan Steemann
8e05df9950
split tests
2014-02-26 13:21:10 +01:00
Jan Steemann
e0ec5768a5
disallow dropping certain system collections
2014-02-26 12:04:28 +01:00
Jan Steemann
0b50c0353d
disallow dropping certain system collections
2014-02-26 12:01:56 +01:00
Jan Steemann
9a56f68468
fixed return value for remove
2014-02-26 11:07:32 +01:00
Frank Celler
3c5f3a656b
Merge branch 'sharding' of github.com:triAGENS/ArangoDB into sharding
2014-02-25 15:32:12 +01:00
Frank Celler
f2121ff442
cleanup
2014-02-25 15:32:07 +01:00
Max Neunhoeffer
6d88ec3dde
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
2014-02-25 14:24:41 +01:00
Max Neunhoeffer
4add2b4c9f
The sin of the day: Disable transactions on coordinators.
2014-02-25 14:24:22 +01:00
Jan Steemann
e1f3b6f2d4
react on empty shard lists
2014-02-25 14:08:00 +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
af96607fc1
fixed index tests
2014-02-25 11:19:51 +01:00
Jan Steemann
a907fa332c
fixed wrong condition
2014-02-24 15:56:17 +01:00
Jan Steemann
ea717607e1
implemented missing useDatabase for coordinator
2014-02-24 15:43:02 +01:00
Jan Steemann
4988abb3fd
prevent segfault
2014-02-24 15:03:34 +01:00
Jan Steemann
018a8390ce
refactored create/drop database
2014-02-24 14:50:31 +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
267ee74d9a
Fix a namespace problem with a new file.
2014-02-21 16:11: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
50b3ec2999
fixed compiler warnings
2014-02-21 14:45:15 +01:00
Frank Celler
5a7880b037
added no request
2014-02-20 21:09:13 +01:00
Frank Celler
c7c5576f18
Merge branch 'devel' of github.com:triAGENS/ArangoDB into sharding
2014-02-20 21:02:37 +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
b427bad63a
do not allow reset
2014-02-20 20:51:00 +01:00
Frank Celler
730da7623a
added periodic tasks and statistics historian
2014-02-20 20:29:55 +01:00
Jan Steemann
0480dbb404
added collection.revision()
2014-02-20 17:30:26 +01:00
Jan Steemann
a820a74a6b
added collection.figures() for sharded collections
2014-02-20 17:06:36 +01:00
Jan Steemann
9666407721
sped up property lookup for db
2014-02-20 12:52:41 +01:00
Jan Steemann
ba8a1fb51f
disallow key generators
2014-02-20 09:34:11 +01:00
Jan Steemann
4f48172323
some renames
2014-02-20 09:16:25 +01:00
Frank Celler
726144ce39
Merge branch 'devel' of github.com:triAGENS/ArangoDB into sharding
...
Conflicts:
arangod/V8Server/ApplicationV8.cpp
2014-02-19 14:30:46 +01:00
Frank Celler
c779325b5d
added frontend-development switch
2014-02-19 14:28:51 +01:00
Jan Steemann
66bc4c9a41
allow unique index creation on shard keys only
2014-02-19 10:30:41 +01:00
Jan Steemann
dc8e590bca
inedges, outedges, edges
2014-02-18 13:46:09 +01:00
Max Neunhoeffer
640b7c1530
Start fixing post-database creation actions for coordinator.
2014-02-17 16:31:43 +01:00
Jan Steemann
3fd053eb1e
updated tests
2014-02-14 18:44:36 +01:00
Max Neunhoeffer
98ed29ab84
Make check for useDatabase switchable for unittests.
2014-02-14 15:33:35 +01:00
Jan Steemann
87eba429fe
updated documentation
2014-02-14 10:37:46 +01:00
Jan Steemann
0f0ef8a33f
updated index docs
2014-02-14 10:30:05 +01:00
Jan Steemann
f8476ce0b0
fixed tests
2014-02-13 18:14:53 +01:00
Jan Steemann
f2cd112bf5
index ids
2014-02-13 16:30:48 +01:00
Jan Steemann
c9c8f4e62a
added tests
2014-02-13 16:12:57 +01:00
Jan Steemann
7970881b22
single-threaded plan changes
2014-02-13 15:33:29 +01:00
Jan Steemann
4fc8cae57d
index creation with ids
2014-02-13 11:00:08 +01:00
Jan Steemann
70988aa215
removed withStats option
2014-02-13 08:48:22 +01:00
Jan Steemann
df22a09d7f
fixed compile error in non-sharding configuration
2014-02-12 17:51:51 +01:00
Jan Steemann
c4d52ff133
getIndexes, dropIndex
2014-02-12 17:09:47 +01:00
Jan Steemann
85f36777b8
prevent confusing message at startup
2014-02-12 17:07:10 +01:00
Jan Steemann
ce248b3107
documentation
2014-02-12 15:02:33 +01:00
Jan Steemann
2cbf050a43
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-02-12 14:56:39 +01:00
Jan Steemann
9dc4c9f6c1
getIndexes, coordinator
2014-02-12 14:53:37 +01:00
Max Neunhoeffer
a3c7166805
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
2014-02-12 14:45:22 +01:00
Max Neunhoeffer
dd4bba8bb2
Remove undocumented saveOrReplace functionality.
2014-02-12 14:44:58 +01:00
Jan Steemann
6dd81767c9
cleanup
2014-02-12 14:16:27 +01:00
Jan Steemann
f7413df4cc
fix auto-completion
2014-02-12 13:58:29 +01:00
Jan Steemann
50ef0a64c0
fixed autocompletion
2014-02-12 13:10:27 +01:00
Jan Steemann
492caeb047
dont prevent embedded transaction in index lookups
2014-02-12 12:50:00 +01:00
Jan Steemann
f11577d952
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-02-12 12:47:57 +01:00
Jan Steemann
3dad329979
ensureIndex
2014-02-12 12:47:51 +01:00
Max Neunhoeffer
3d48a5294a
Please clang++ by using an explicit cast to unsigned long long.
2014-02-12 11:52:09 +01:00
Jan Steemann
8d8d5f5804
added ensureIndex function
2014-02-12 10:40:36 +01:00
Michael Hackstein
bc16cfae86
Merge remote-tracking branch 'origin/devel' into sharding
...
Conflicts:
Documentation/InstallationManual/Installing.md
arangosh/CMakeLists.txt
2014-02-11 15:52:49 +01:00
Frank Celler
c6ce5c7406
made module loader more node compatible, added coffee script support
2014-02-11 13:26:11 +01:00
Jan Steemann
4a00b3ed98
pass index id
2014-02-11 09:27:55 +01:00
Jan Steemann
d52724475f
cap constraints
2014-02-10 17:46:54 +01:00
Jan Steemann
0479fd652f
geo indexes
2014-02-10 15:53:33 +01:00
Jan Steemann
88bfe8f18c
fulltext indexes
2014-02-10 14:55:27 +01:00
Jan Steemann
399ddebbd3
ensureIndex 1st
2014-02-10 14:36:32 +01:00
Jan Steemann
3408aaf038
cppcheck
2014-02-07 14:04:29 +01:00
Jan Steemann
6c4a9d45d7
fixed memleaks
2014-02-07 12:58:45 +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
10eb807366
fixed HTTP CRUD operations
2014-02-05 17:19:45 +01:00
Jan Steemann
58b3e0f99d
splitted a few tests
2014-02-05 15:15:51 +01:00
Jan Steemann
dafa0a3760
added test cases
2014-02-04 17:53:38 +01:00
Jan Steemann
52040eaad6
added tests, fixed segfault
2014-02-04 09:54:56 +01:00
Max Neunhoeffer
56ef62d5fe
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
2014-02-03 13:58:58 +01:00
Jan Steemann
9956ca920b
fixed failing tests
2014-02-03 11:40:52 +01:00
Jan Steemann
27f62dcbfd
disallow changing shardkeys in replace()
2014-02-03 11:23:40 +01:00
Jan Steemann
dbbd7af9e0
disallow changing of shard attributes on update
2014-02-03 09:47:32 +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
c31df01dbb
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
2014-01-31 16:04:54 +01:00
Max Neunhoeffer
1104067631
Rename a function from *sharding* to *cluster*
2014-01-31 16:04:15 +01:00
Jan Steemann
6b8169ee7b
fix invalid caching of sharded collection names in db.<obj>
2014-01-31 15:20:07 +01:00
Jan Steemann
8f8c664c5d
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-01-31 11:29:44 +01:00
Jan Steemann
83af3c9617
truncate sharded
2014-01-31 11:29:36 +01:00
Max Neunhoeffer
915b31bddb
Remove unnecessary and wrong "NOT_YET_IMPLENENTED".
2014-01-31 11:02:34 +01:00
Jan Steemann
7bc4f06b6e
fixed failing tests
2014-01-30 23:12:40 +01:00
Jan Steemann
e9c5af7895
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
CHANGELOG
js/apps/system/aardvark/frontend/css/collectionsView.css
js/apps/system/aardvark/frontend/css/layout.css
js/apps/system/aardvark/frontend/js/routers/router.js
2014-01-30 19:40:21 +01:00
Jan Steemann
4f3070715c
implemented first() and last()
2014-01-30 19:11:48 +01:00
Max Neunhoeffer
ced1048cbc
Add V8 add edge for cluster.
2014-01-30 18:24:14 +01:00
Jan Steemann
b65637e924
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-01-30 17:30:57 +01:00
Jan Steemann
51a58b7844
collection.any() sharded
2014-01-30 17:30:39 +01:00
Max Neunhoeffer
3a5a085bc5
Sort out mess with collection name/id lookup in cluster.
2014-01-30 17:27:06 +01:00
Jan Steemann
9ebd765fcc
allow passing of documents without _rev attribute
2014-01-30 12:31:38 +01:00
Jan Steemann
4741d2c8ff
added count()
2014-01-29 18:49:11 +01:00
Max Neunhoeffer
ed39834029
CRUD basically working on cluster.
2014-01-29 16:23:17 +01:00
Max Neunhoeffer
60f47e1f21
Fix body management in asyncRequest.
2014-01-29 13:21:53 +01:00
Max Neunhoeffer
35c6a3ffdc
Use shared_ptr for CollectionInfo(Current) export.
...
This at the same time fixes an allocation bug with TRI_json_t*.
2014-01-29 09:21:09 +01:00
Jan Steemann
e906f68235
windows fixes
2014-01-27 17:46:15 +01:00
Max Neunhoeffer
98df540266
Add support for GET and HEAD on cluster.
2014-01-27 10:41:35 +01:00
Max Neunhoeffer
af8a51c3de
Implement remove document in V8server on coordinator.
2014-01-24 22:22:39 +01:00
Jan Steemann
5a585db592
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-01-24 13:19:18 +01:00
Jan Steemann
dc14fdf9e1
fixed compile error in non-cluster configuration
2014-01-24 13:18:29 +01:00
Max Neunhoeffer
4526181f82
Implement C of CRUD on cluster for V8 calls.
2014-01-24 13:11:20 +01:00
Jan Steemann
27276205c4
collection property changes
2014-01-22 17:46:26 +01:00
Jan Steemann
39fd7611ed
load/unload of collections
2014-01-22 17:20:06 +01:00
Jan Steemann
8009885d72
quick fix for property access
2014-01-21 09:37:53 +01:00
Jan Steemann
64417d4423
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-01-21 09:29:45 +01:00
Jan Steemann
f59d861df4
dont throw exception in v8 property getter
2014-01-18 01:07:15 +01:00
Jan Steemann
6e166c63ae
allow direct access from the `db` object to collections whose names start with an underscore (e.g. db._users).
...
Previously, access to such collections via the `db` object was possible from arangosh, but not from arangod (and thus Foxx and actions). The only way to access such collections from these places was via the `db._collection(<name>)` workaround.
2014-01-18 00:16:13 +01:00
Jan Steemann
b074028339
removed invalid conversion
2014-01-17 23:18:17 +01:00
Jan Steemann
bfc05ae0b9
removed superfluous macro and check
2014-01-17 23:16:18 +01:00
Jan Steemann
435b56bea2
fixed dropping of collections
2014-01-17 18:27:55 +01:00
Jan Steemann
87702e3953
fixed too eager return
2014-01-17 14:35:55 +01:00
Max Neunhoeffer
e8f7dbbf5b
Consider Plan for current state of collections.
2014-01-17 13:43:02 +01:00
Jan Steemann
07c0ed3bab
creation/removal of local shards
2014-01-17 12:43:34 +01:00
Jan Steemann
7c23c9527a
removed nrShards attribute from Json
2014-01-17 10:53:29 +01:00
Max Neunhoeffer
8fe85a021b
Try to return a collections object after creation.
...
This is still buggy: ClusterInfo does not yet know about the new
setup with many entries of the form
Current/Collections/<DB-Name>/<Coll-ID>/<shard-ID>
2014-01-16 16:18:13 +01:00
Max Neunhoeffer
5960c103bc
Create/drop Database/Collection compiles.
2014-01-16 15:01:36 +01:00
Max Neunhoeffer
8a9fe34ad6
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-01-16 12:12:29 +01:00
Max Neunhoeffer
78716f841f
State before moving DB/Coll Ops to ClusterInfo.
2014-01-16 12:10:42 +01:00
Jan Steemann
405d05ecff
added symbolic name
2014-01-16 12:10:31 +01:00
Jan Steemann
481cd2d1be
added collection._dbName
2014-01-16 11:10:37 +01:00
Max Neunhoeffer
784bd4375d
Use ClusterInfo::listDatabases with reload in JS_ListDatabases_Coordinator.
2014-01-16 08:54:12 +01:00
Jan Steemann
3b192782c5
removed some code
2014-01-15 17:22:13 +01:00
Jan Steemann
c0e185c859
don't throw in autocompleter
2014-01-15 16:27:13 +01:00
Jan Steemann
7f757801b6
force reload of databases
2014-01-15 16:21:56 +01:00
Max Neunhoeffer
97476ccf08
Create Collection completed. Use new AgencyComm.
2014-01-15 13:59:41 +01:00
Max Neunhoeffer
6a427af052
Nearly finished with CreateColl and DropDatabase for coordinator.
2014-01-15 13:36:04 +01:00
Max Neunhoeffer
bd5f58ff8b
Temporary version of Create DB and Drop DB.
2014-01-15 12:46:32 +01:00
Jan Steemann
e02b0b52e1
renamed methods
2014-01-15 10:52:56 +01:00
Jan Steemann
2495b6e720
removed unused variables
2014-01-15 09:52:47 +01:00
Max Neunhoeffer
7aa29fda5b
Merge Jan's changes and preliminary version of CreateDB.
2014-01-15 08:52:10 +01:00
Jan Steemann
ee186c2c6b
added locking check
2014-01-14 17:17:25 +01:00
Jan Steemann
7803abe384
removed unused variables
2014-01-14 16:25:35 +01:00
Jan Steemann
2aba046c7d
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-01-14 16:21:57 +01:00
Jan Steemann
ce2627619e
create collection stub
2014-01-14 16:21:48 +01:00
Max Neunhoeffer
f7a9acf592
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
2014-01-14 15:05:41 +01:00
Max Neunhoeffer
fc96df2244
Separate out ConnectionManager from ClusterComm.
2014-01-14 15:04:55 +01:00
Jan Steemann
9c63246d1c
added TRI_SHARDING_COLLECTION_NOT_IMPLEMENTED macro
2014-01-14 14:04:29 +01:00
Jan Steemann
4ec6f04932
return collection properties
2014-01-14 13:19:43 +01:00
Jan Steemann
fde16194ff
don't throw in propertygetter
2014-01-13 17:30:26 +01:00
Jan Steemann
9d7bd04d99
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
arangod/Cluster/AgencyComm.cpp
2014-01-13 16:33:32 +01:00
Jan Steemann
ffa919d716
some modifications for collection accessing
2014-01-13 16:32:40 +01:00
Max Neunhoeffer
8c8c0bff69
Create database in cluster done.
2014-01-13 15:07:32 +01:00
Jan Steemann
01df0fafab
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-01-13 08:59:36 +01:00
Jan Steemann
0e9a28ccc7
added missing delete
2014-01-13 08:59:20 +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
Max Neunhoeffer
70977f2e8e
Start of _createDatabase in cluster on coordinator.
...
Unfinished but compiles.
2014-01-10 12:22:29 +01:00
Max Neunhoeffer
57f18783c4
Implement asking for databases in a cluster.
2014-01-09 14:56:44 +01:00
Max Neunhoeffer
2f72a82927
Forgot one file in previous commit.
2014-01-09 14:56:21 +01:00
Max Neunhoeffer
fa96bb9b3d
Transfer better error handling to JS_ShardingTest
2014-01-08 09:24:43 +01:00
Jan Steemann
5b965b2a21
added initialised() method
2014-01-07 17:50:52 +01:00
Jan Steemann
c6b79328f5
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-01-07 16:28:25 +01:00
Jan Steemann
9ce78430ac
create collections, v0.0.0
2014-01-07 16:28:12 +01:00
Max Neunhoeffer
38c24192ee
Sending of synchronous requests in JavaScript done.
2014-01-07 14:24:27 +01:00
Max Neunhoeffer
566c94be95
Fix double delete bug.
2014-01-07 11:33:20 +01:00
Max Neunhoeffer
30415c6a73
Cleanup conversion C++ <-> Javascript of HttpRequest/HttpResponse.
2014-01-06 11:40:49 +01:00
Jan Steemann
b3ed54f95b
fixed warnings reported by cppcheck
2014-01-03 19:28:15 +01:00
Jan Steemann
91c52a3a2e
fixed potential deadlock in global context execution
2014-01-03 13:47:11 +01:00
Max Neunhoeffer
2a0c85bc07
Finish documentation of ClusterComm test API call.
...
Also fix bug in synchronous mode test.
2014-01-03 11:36:05 +01:00
Max Neunhoeffer
6c36c268f0
Improve debugging output of ClusterComm asynchronous requests.
2014-01-03 09:36:37 +01:00
Jan Steemann
7980a51e26
moved cluster JS functions to its own files
2014-01-02 13:49:00 +01:00
Jan Steemann
8070db37a2
changed heartbeat watch implementation
2014-01-02 13:36:26 +01:00
Max Neunhoeffer
95f94397b0
Add synchronous request to ClusterComm.
2013-12-30 23:21:41 +01:00
Max Neunhoeffer
bd03094ba9
Better error handling in sharding test.
2013-12-30 15:23:31 +01:00
Max Neunhoeffer
5d51d7b3ba
Get rid of many debugging messages.
2013-12-30 14:49:14 +01:00
Max Neunhoeffer
c8b684dbd6
Generic test function for ClusterComm working.
2013-12-30 14:37:03 +01:00
Max Neunhoeffer
3415e3c0c8
Some cleanup in asyncRequest setup.
2013-12-30 10:22:21 +01:00
Max Neunhoeffer
9801cc9d19
Timeout basically working.
2013-12-27 16:18:56 +01:00
Max Neunhoeffer
62976629f0
Various memory leaks and callback improvements.
2013-12-27 13:15:52 +01:00
Max Neunhoeffer
c9b2884def
Full round trip implemented but not yet working.
2013-12-23 16:19:59 +01:00
Jan Steemann
16e16f705c
some bugfixes for asyncRequest etc
2013-12-20 18:03:55 +01:00
Jan Steemann
b903d9080d
Merge remote-tracking branch 'origin/devel' into sharding
...
Conflicts:
js/apps/system/aardvark/test/karma/karma.conf.js
2013-12-20 15:35:50 +01:00
Max Neunhoeffer
5c80816352
Can do one roundtrip.
...
Client -REST-> Coordinator -> sendQueue -REST-> DBServer
-> recvQueue -REST-> Client
2013-12-19 16:15:54 +01:00
Max Neunhoeffer
bfbbe18c57
Create a testing possibility for ClusterComm.
2013-12-19 11:33:34 +01:00
Jan Steemann
7c4944de83
added --server.ssl-protocol option for client tools
...
Conflicts:
arangosh/Benchmark/BenchmarkThread.h
lib/GeneralServer/SslAsyncCommTask.h
2013-12-13 17:58:24 +01:00
Jan Steemann
5b0713af9c
added recursive watches and structured get
2013-12-12 11:16:41 +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
620f4b1c47
added agency tests
2013-12-11 18:37:15 +01:00
Jan Steemann
5e5a5fb32b
added JS bindings for agency
2013-12-11 09:56:54 +01:00
Jan Steemann
44b3237882
moved server-only tests to js/server/tests
...
this hopefully removes some future confusion about the tests
also moved some graph stuff into js/common as client-side graphs did not fully work
make logfile path accessible
2013-12-04 22:05:00 +01:00
Jan Steemann
c3f004dd3f
rtrim the path
2013-12-04 17:40:19 +01:00
Max Neunhoeffer
317304542a
Remove index garbage collector.
2013-11-25 10:57:23 +01:00
Max Neunhoeffer
3aa1b12a45
Merge branch 'skiplist-cleanup' into devel
...
This implements a considerable cleanup of the skip list index code:
- Replace implementation of skip lists by a generic one using
callbacks for comparisons
- The new implementation resides in lib/BasicsC/skip-list.*
- It uses a singly linked list (unidirectional) as opposed to the
previous implementation which used a doubly linked list
- Adjust skip list index code in arangod/SkipLists/skiplistIndex.* to
use the generic skip list implementation
- Unify unique skip lists and non-unique ones into one code base
- Cleanup in skip list index code, in particular with respect to
iterators
- Prepare the scene for sparse skip list indices
2013-11-22 10:47:04 +01:00
Max Neunhoeffer
be00fbed46
Sort out return type of NextIterator for skiplist indices.
2013-11-21 15:47:00 +01:00
Jan Steemann
1bdf666da2
fixed multi-threading issues found during commando
2013-11-21 15:12:49 +01:00
Jan Steemann
920d08d855
removed redundant startup options
2013-11-20 01:50:27 +01:00
Jan Steemann
72aaacbb54
removed priority queues
...
this feature was never advertised nor documented nor tested.
2013-11-18 11:12:36 +01:00
Jan Steemann
a8914abae2
fix error messages
2013-11-16 00:01:37 +01:00
Jan Steemann
c5e9538547
Merge remote-tracking branch 'origin/devel' into inline-shapes
...
Conflicts:
arangod/VocBase/document-collection.c
2013-11-14 01:01:24 +01:00
Max Neunhoeffer
e257f9dd92
Add the option to return numUsed for each index in getIndexes.
...
This is currently implemented only for skip list indices and hash
indices, but not for full text, geo or bitarray, since these do not
export or even count this number.
2013-11-13 12:49:23 +01:00
Max Neunhoeffer
fc027e260b
Correct a typo.
2013-11-12 16:36:24 +01:00
Max Neunhoeffer
b240e62653
Fixed typo in documentation.
2013-11-11 15:06:13 +01:00
Max Neunhoeffer
fd3f0e9f98
Fixed typo in documentation.
2013-11-11 15:04:59 +01:00
Jan Steemann
dc82642998
issue #662 : ArangoDB on Windows hanging...
...
fix unloading of collections which prevented some collections from being dropped
2013-11-11 13:51:58 +01:00
Jan Steemann
0384a17186
updated documentation for database creation
2013-11-07 13:46:34 +01:00
Jan Steemann
7055299a6e
removed shape collections
2013-11-06 17:05:16 +01:00
Jan Steemann
c46d6b99f4
add users when creating a database
2013-11-06 16:48:18 +01:00
Jan Steemann
a977c5662a
removed --database.force-sync-shapes option
2013-11-05 18:20:55 +01:00
Jan Steemann
984e3c4853
added const
2013-11-05 10:58:33 +01:00
Jan Steemann
c5619d0795
removed unused resolver
2013-11-05 10:52:00 +01:00
Jan Steemann
6c0a452c98
flush authentication cache
2013-11-04 17:43:57 +01:00
Jan Steemann
7924f657d4
added `/_api/database/user` method
2013-11-04 14:22:00 +01:00
Jan Steemann
dd88487b0f
issue #654 : bitarray index makes server down
2013-11-04 09:01:14 +01:00
Jan Steemann
4f50b98c45
removed second logger implementation
2013-10-30 00:38:25 +01:00
Jan Steemann
43b4f78b62
issue #620
2013-10-28 19:38:19 +01:00
Jan Steemann
536d27acb1
fixed freeing of key
2013-10-28 16:11:23 +01:00
Jan Steemann
df42f2a806
fixed memleak
2013-10-28 14:34:49 +01:00
Jan Steemann
72a2a487d3
some fixes for issue #642
2013-10-28 14:34:37 +01:00
Jan Steemann
21d25d0ccc
removed resourceholder
2013-10-17 10:43:07 +02:00
Jan Steemann
0a6148f2d6
fixed some VS complaints
2013-10-16 17:27:35 +02:00
Jan Steemann
473a9fca97
directory creation on startup
2013-10-16 16:00:49 +02:00
Jan Steemann
cd5d228e77
moved path checks from --upgrade to server start and database creation
2013-10-16 15:30:13 +02:00
Jan Steemann
79f70c7eea
replication applier will now preferrably use collection names instead of collection ids when applying events
2013-10-14 13:45:44 +02:00
Jan Steemann
4f30db9eda
remove database-specific directories underneath app-path and dev-app-path when dropping databases
2013-10-14 10:35:32 +02:00
Jan Steemann
88f3830c53
refuse to start if no app path is set
2013-10-09 14:07:47 +02:00
Jan Steemann
dc69d6fa60
updated documentation
2013-10-02 17:54:39 +02:00
Jan Steemann
e89b0d539d
allow specifying database name for replication sync command and replication applier
2013-10-01 17:59:26 +02:00
Jan Steemann
9d3ecd3584
make database name configurable for replication applier and sync command
2013-10-01 17:45:51 +02:00
Jan Steemann
b4cdc79697
added db._id()
2013-09-30 13:44:28 +02:00
Jan Steemann
440beec4d3
only trigger development mode reload for URLs starting with /dev/
2013-09-30 10:58:15 +02:00
Jan Steemann
729bbc44f0
use per-database directories for Foxx apps
2013-09-30 10:57:29 +02:00
Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +02:00
Jan Steemann
46895b4ec2
updated documentation
2013-09-24 15:40:37 +02:00
Jan Steemann
5fb61e7020
updated documentation
2013-09-24 15:05:47 +02:00
Jan Steemann
8e627fd3fa
updated documentation
2013-09-24 13:40:58 +02:00
Jan Steemann
324d7fab03
documentation
2013-09-23 17:49:25 +02:00
Jan Steemann
73f0405ead
added documentation for endpoints
2013-09-23 16:21:02 +02:00
Jan Steemann
2e75c872f4
persist list of endpoints
2013-09-23 13:14:54 +02:00
Jan Steemann
9155b16252
caching for db[...]
2013-09-21 00:12:35 +02:00
Jan Steemann
161d4292f3
do not re-initialise the routing engine on calls to /_api/*
2013-09-20 14:52:43 +02:00
Jan Steemann
1867fd8591
turned off caching
2013-09-20 10:28:34 +02:00
Jan Steemann
5c0fd200f7
more OOM awareness
2013-09-19 08:44:12 +02:00
Jan Steemann
8a996c5b60
less dependency on regex.h, also fixes some speed problems for key validation
2013-09-19 08:20:35 +02:00
Jan Steemann
7c3781daad
fixed a leak in MRServer shutdown
2013-09-16 17:47:51 +02:00
Jan Steemann
0bdae05b96
changed reference counting for cursors
2013-09-16 13:51:33 +02:00
Jan Steemann
2155ca5574
fix crash in HTTP server mode
2013-09-13 19:12:47 +02:00
Jan Steemann
b97e4c014a
reset vocbase earlier in requests
2013-09-13 15:29:05 +02:00
Jan Steemann
8b5f4e2e65
changed mutex into rw-lock
2013-09-13 11:16:44 +02:00
Jan Steemann
f99dde5f2e
reload routing after dropping database
2013-09-13 10:28:28 +02:00
Jan Steemann
6ff314de0e
runtime addition and removal of endpoints
2013-09-12 18:07:39 +02:00
Jan Steemann
6bbfb65f7c
prevent usage of db._useDatabase() in HTTP requests
2013-09-12 11:13:47 +02:00
Jan Steemann
4a2626525c
async dropping of databases
2013-09-12 11:00:11 +02:00
Jan Steemann
7d5e4f875f
runtime configuration of endpoints, unfinished
2013-09-11 18:24:51 +02:00
Jan Steemann
7caac08466
updated documentation
2013-09-11 17:25:45 +02:00
Jan Steemann
3a6cabfe44
creating/dropping
2013-09-11 17:16:43 +02:00
Jan Steemann
85362b3c18
simplified error messages
2013-09-11 14:35:50 +02:00
Jan Steemann
fde7793137
refactored database options
2013-09-11 13:22:52 +02:00