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