Jan Steemann
6b412a1c01
Merge branch 'json-privatisierung' of https://github.com/arangodb/arangodb into json-privatisierung
2015-05-07 13:05:12 +02:00
Jan Steemann
163c2fbc8b
coarse locking for truncate()
2015-05-06 17:09:43 +02:00
Jan Steemann
63138def67
fix location response headers with special characters
2015-05-05 14:00:06 +02:00
Jan Steemann
a007a867ee
"privatized" TRI_vector_t internals.
...
This allows changing the internals of TRI_vector_t structs in order to make the struct smaller.
On 64 bits, the size of TRI_vector_t is reduced from 48 bytes to 28 bytes.
TRI_json_t does benefit from this, as its biggest component is a TRI_vector_t.
2015-05-05 10:31:02 +02:00
Jan Steemann
244cc2d66d
added some batch processing methods
2015-05-04 17:46:47 +02:00
Jan Steemann
0099fe260a
return value optimization for AQL
2015-04-30 23:38:27 +02:00
Jan Steemann
8dbcf0e23f
Visual Studio adjustments
2015-04-30 11:46:55 +02:00
Jan Steemann
32b547886b
fixed up some headers
2015-04-24 13:11:29 +02:00
Jan Steemann
61499432b7
do not remove constant sorts when creating plans, but during optimization phase
...
less utf8 comparisons
2015-04-20 11:32:29 +02:00
Jan Steemann
6e23c5330f
added restrictions for export API
2015-04-17 00:24:43 +02:00
Jan Steemann
ad132ed202
delete expired cursors in coordinator, too
2015-04-16 13:51:03 +02:00
Jan Steemann
2299d2916d
initial commit to satisfy #1298
2015-04-13 18:26:33 +02:00
Jan Steemann
0f1244f72d
better export API cleanup
2015-03-31 18:44:51 +02:00
Jan Steemann
e672d791b5
refactored cursor API, added export API
2015-03-30 18:03:42 +02:00
Jan Steemann
80a99ab23e
refactored cursor API
2015-03-30 14:58:51 +02:00
Jan Steemann
c62c26e088
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-23 15:31:41 +01:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
13ddb8b34b
fixed some cluster plans
2015-03-17 13:52:09 +01:00
Jan Steemann
ff813a7d11
removed wrong comment
2015-02-09 11:33:13 +01:00
Willi Goesgens
854f733c49
Exceptions:
...
- Assert that the associated errorcode has format options so if you call a THROW-macro with parameters these don't get lost unheard.
- Add new macro which offers format strings, so you can throw standard errors with custom messages.
2015-01-21 15:03:21 +01:00
Max Neunhoeffer
1782039138
Fix cluster-wide locking for AQL.
2014-12-22 16:21:45 +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
19d2d6668f
added random iteration for collections
2014-12-19 18:01:13 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Willi Goesgens
1c4a72b106
The Big V8 upgrade Merge.
2014-12-15 17:30:56 +01:00
Jan Steemann
0a27b7cf89
removed debug output
2014-12-04 11:15:45 +01:00
Jan Steemann
a71bf1819c
issue #1099 : do not fail if general-graph.remove is used inside a transaction
2014-11-17 15:47:39 +01:00
Jan Steemann
f96a3d3f98
forgot to commit
2014-11-07 11:04:21 +01:00
Jan Steemann
b0de1bb226
leaner and meaner error messages
2014-11-07 10:53:00 +01:00
Max Neunhoeffer
0044d7d1b0
Fix bug in AQL that abort() was called after commit() for trx.
2014-10-31 18:15:40 +01:00
Jan Steemann
4f68960ed7
removed Ahuacatl [skip ci]
2014-10-31 17:31:00 +01:00
Jan Steemann
83252851e6
report warnings in queries
2014-10-30 17:33:15 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
7452c70a3b
moved backtrace functions
2014-10-27 18:15:10 +01:00
Willi Goesgens
7db7c22443
don't add the TRI_errno_string() to the exception twice.
2014-10-27 15:39:10 +01:00
Jan Steemann
38c8f4e328
do not log warning
2014-10-24 13:19:26 +02:00
Jan Steemann
3269bfe3a9
simpler iteration
2014-10-23 14:43:43 +02:00
Willi Goesgens
02c1f59007
Also add our errno strings to exceptions with user messages (if not TRI_ERROR_INTERNAL)
2014-10-21 12:43:33 +02:00
Jan Steemann
40e62e95a5
fixed out-of-scheduler-threads issue
2014-10-20 18:27:50 +02:00
Jan Steemann
10c9a54932
start transactions on coordinator
2014-10-20 15:39:55 +02:00
Jan Steemann
026fc2b83a
next attempt to fix v8 context handling
2014-10-17 15:47:39 +02:00
Max Neunhoeffer
11ace2de3a
Fix registerTransaction in StandaloneTransactionContext.
2014-10-17 15:33:48 +02:00
Max Neunhoeffer
de7c303c5d
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangod/Aql/Query.cpp
2014-10-17 15:26:50 +02:00
Max Neunhoeffer
cb75b0b18a
Sort out transactions in cluster, part I.
2014-10-17 15:25:46 +02:00
Jan Steemann
ee614d6ebd
v8 context handling
2014-10-17 15:25:06 +02:00
Max Neunhoeffer
7a25f20e23
Fix clone for AqlTransactions.
2014-10-17 11:02:37 +02:00
Max Neunhoeffer
d508812ec3
Silence a compiler warning.
2014-10-17 09:09:36 +02:00
Max Neunhoeffer
83ebd46652
Tell AqlTransaction constructor if transaction is main or sub.
...
Only lock collections in AqlTransactions that are main ones.
2014-10-16 23:59:02 +02:00
Max Neunhoeffer
a231ca4c82
Finish some changes to transactions in AQL.
2014-10-16 16:46:39 +02:00
Max Neunhoeffer
743d7d127a
Snapshot, does not compile, try to sort out transactions in AQL.
2014-10-16 16:41:32 +02:00
Jan Steemann
223820eba3
removed some macros
2014-10-16 16:31:49 +02:00
Jan Steemann
70c59a61fd
removed macro
2014-10-16 16:28:18 +02:00
Jan Steemann
dcb9427b6f
rewrote transaction contexts
2014-10-16 15:53:28 +02:00
Jan Steemann
0f83d8132f
fixed some transaction threading errors
2014-10-06 18:39:01 +02:00
Jan Steemann
573d837561
off-by-one fix
2014-10-02 17:06:12 +02:00
Jan Steemann
38d43a2fb3
print error message in cases AqlHandler fails
2014-10-01 17:47:43 +02:00
Jan Steemann
3ac25ad56f
fixed some issues with remote queries
2014-09-29 12:14:03 +02:00
Max Neunhoeffer
784a299ab8
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
2014-09-24 16:17:44 +02:00
Max Neunhoeffer
cf5e1be91e
Version version of HTTP API done.
2014-09-24 16:17:18 +02:00
Jan Steemann
1e66c86d08
fixed invalid document access
2014-09-24 12:27:36 +02:00
Jan Steemann
aa20c9e980
renamed last C files...
2014-09-13 22:38:25 +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
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Max Neunhoeffer
d147be8de3
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
2014-09-12 15:01:58 +02:00
Max Neunhoeffer
6194618906
Finish removal of type argument in create.
2014-09-12 15:01:16 +02:00
Max Neunhoeffer
949557fc35
Remove an unnecessary parameter.
2014-09-12 14:43:56 +02:00
Willi Goesgens
36b7ed81a0
Enrich expressions with more information, by catching them, enhancing and re-throwing them.
2014-09-12 13:57:48 +02:00
Jan Steemann
c034307dca
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Utils/CollectionNameResolver.h
2014-09-10 15:54:49 +02:00
Max Neunhoeffer
a6d57d2c8a
Fix DBserver bug with CollectionNameResolver and local collections.
2014-09-10 15:50:41 +02:00
Jan Steemann
ff2334b575
renamed method
2014-09-09 10:40:57 +02:00
Willi Goesgens
f4b4c202d2
Transaction: Abort on first error also when invoked through addCollections()
2014-09-08 17:48:00 +02:00
Willi Goesgens
68d30cef8b
Transaction: abort initialisation process on error so our internal error state stays sane.
2014-09-08 15:06:30 +02:00
Jan Steemann
aadd0f9254
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Utils/CollectionNameResolver.h
arangod/V8Server/v8-vocbase.cpp
2014-08-30 17:35:08 +02:00
Jan Steemann
7d500b7234
speed up instanciation of v8 ShapedJson objects
...
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document
Conflicts:
arangod/Utils/CollectionNameResolver.h
arangod/V8Server/v8-vocbase.cpp
2014-08-30 01:47:58 +02:00
Jan Steemann
c90777738d
speed up instanciation of v8 ShapedJson objects
...
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document
2014-08-30 01:32:20 +02:00
Willi Goesgens
be1c84f480
Exceptions: don't print Backtraces if the exception is handled in the subsequent js code.
2014-08-29 12:15:19 +02:00
Jan Steemann
a014b44ba4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Utils/Transaction.h
2014-08-28 11:06:14 +02:00
Jan Steemann
5930c3db70
added NTH function
2014-08-28 11:03:48 +02:00
Willi Goesgens
f6b1433160
When compiled in maintainer mode, print c-backtraces on Arango Exceptions too.
2014-08-25 10:27:25 +02:00
Jan Steemann
80e5ceeb52
emplace
2014-08-23 01:28:58 +02:00
Jan Steemann
86bf8e3c4f
removed unused function argument
2014-08-23 00:50:37 +02:00
Jan Steemann
45d5d0f53a
cppcheck
2014-08-22 13:53:21 +02:00
Jan Steemann
1aeed2152c
fixed de-serialization
2014-08-21 10:02:30 +02:00
Jan Steemann
7b3389b55c
modification queries
2014-08-18 13:52:41 +02:00
Jan Steemann
b010518e9e
implementation of update/replace (update not yet merging old attributes)
2014-08-18 12:34:27 +02:00
Jan Steemann
9348f12f78
implemented insert node
2014-08-15 18:12:33 +02:00
Jan Steemann
93cfa9e2e4
count number of documents in collection
2014-08-14 13:53:21 +02:00
Jan Steemann
dbf2842a28
much better exception handling
2014-08-06 18:37:37 +02:00
Jan Steemann
1015404edc
working on AQL function calls and error handling
2014-08-06 16:19:43 +02:00
Max Neunhoeffer
5cbbd8a4c4
Fix barrier and documentCollection access in Expressions.
...
Still does not link.
2014-08-05 14:33:54 +02:00
Jan Steemann
2003524a3d
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
2014-08-05 13:52:17 +02:00
Jan Steemann
d896089210
added helper method
2014-08-05 13:52:03 +02:00
Max Neunhoeffer
96d8dcc054
Major cleanup, not yet working.
2014-08-05 12:29:36 +02:00
Max Neunhoeffer
a9dac96bf3
Store AqlValue objects in AqlItemBlocks.
2014-08-05 11:05:24 +02:00
Jan Steemann
7fd236aa4f
fixed enumeratecollection block
2014-08-04 17:27:51 +02:00
Jan Steemann
182ab57e8d
transaction
2014-08-04 11:15:53 +02:00
Jan Steemann
f4e8775ddc
nicer parser error messages
2014-07-30 12:30:06 +02:00
Jan Steemann
22ddd1e022
added comment
2014-07-28 16:21:59 +02:00
Jan Steemann
8cb85fd973
optimization for AQL queries with limit
2014-07-23 17:15:01 +02:00
Max Neunhoeffer
4f88753ea5
Improve error handling in arangorestore.
...
In particular:
- Notice if collections mentioned in _from and _to fields of edges
do not exist.
- In cluster case make the coordinator report errors from the
DBservers better.
- Fail more quickly if arangorestore does not go well.
2014-07-10 14:06:26 +02:00
Jan Steemann
bda2db16da
recovery and replication
2014-06-30 13:07:48 +02:00
Jan Steemann
067dbf63b2
WAL recovery
2014-06-27 19:11:41 +02:00
Jan Steemann
07d244488d
changed crud signatures
2014-06-26 12:37:01 +02:00
Jan Steemann
d56719ae4d
simplification of signatures
2014-06-24 00:32:40 +02:00
Jan Steemann
fc823938c0
nullptr
2014-06-21 03:27:38 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Jan Steemann
b303db2b50
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
js/apps/system/aardvark/frontend/js/bootstrap/errors.js
js/common/bootstrap/errors.js
2014-06-17 00:49:18 +02:00
Jan Steemann
a1177816aa
modifiable AQL, final syntax
2014-06-17 00:37:08 +02:00
Jan Steemann
2a0e0b18d0
added many tests
2014-06-16 14:39:26 +02:00
Jan Steemann
37a30b420d
prevent exceptions
2014-06-14 15:05:54 +02:00
Jan Steemann
35a81dc54d
more asserts
2014-06-13 21:40:34 +02:00
Jan Steemann
80a70667c0
made headers a real class
2014-06-13 11:31:40 +02:00
Jan Steemann
bbdbbd5736
removed implicit parameter from function signature
2014-06-13 01:59:19 +02:00
Jan Steemann
bc52f3408f
recovery, not functional yet
2014-06-12 18:13:48 +02:00
Max Neunhoeffer
ed1a588baa
Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh
2014-06-12 10:39:13 +02:00
Max Neunhoeffer
82ab5bc0ac
More checks for protected getShaper accesses.
...
Also: Make arangodump possible using fake trx objects.
2014-06-12 10:38:39 +02:00
Jan Steemann
1cc46c4626
copy WAL documents
2014-06-12 10:26:24 +02:00
Jan Steemann
28d2ae151e
flush
2014-06-11 14:18:04 +02:00
Jan Steemann
b802973273
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/Wal/CollectorThread.cpp
2014-06-11 11:33:48 +02:00
Jan Steemann
7e6750c397
wal flush w/ collection unload
2014-06-11 11:33:02 +02:00
Max Neunhoeffer
f0bef2496f
Make _shaper private and use getter/setter.
2014-06-11 11:18:22 +02:00
Jan Steemann
eba885d583
fixed member initialization in second constructor
2014-06-10 17:41:11 +02:00
Jan Steemann
dfc34c0c98
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-10 16:42:43 +02:00
Jan Steemann
7c599ef893
barriers
2014-06-10 16:42:15 +02:00
Max Neunhoeffer
12a5ba03fd
Move class TransactionBase to voc-types.h
2014-06-10 16:37:35 +02:00
Jan Steemann
2d8408dba5
add fake transaction object while collecting
2014-06-10 14:04:14 +02:00
Max Neunhoeffer
3f03956fe8
Fake TransactionBase.
2014-06-10 14:00:27 +02:00
Jan Steemann
aa173b315b
update cap constraint sizes
2014-06-10 13:40:33 +02:00
Max Neunhoeffer
2dc70409cf
Fix protection assertion system one more time.
2014-06-10 13:28:58 +02:00
Max Neunhoeffer
d0ba832ffb
Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/Utils/Transaction.h
2014-06-10 13:05:33 +02:00
Max Neunhoeffer
3c0c785ba5
First set of protection assertions.
2014-06-10 13:03:04 +02:00
Jan Steemann
370d7bc083
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-10 11:56:56 +02:00
Jan Steemann
da9f8247fb
barriers are now created automatically by transactions
2014-06-10 11:56:40 +02:00
Max Neunhoeffer
f7e5e28780
Create thread global transaction protection assertions.
2014-06-10 11:31:07 +02:00
Jan Steemann
00f593b8a9
cleanup
2014-06-10 09:55:44 +02:00
Jan Steemann
d9653bc462
DML for AQL
2014-06-10 09:30:27 +02:00
Jan Steemann
72a102e794
major internal changes
2014-06-08 00:12:53 +02:00
Jan Steemann
ca959cab9d
simplified usage of transactions
2014-06-06 23:28:34 +02:00
Jan Steemann
f6a157b3af
removed unused function
2014-06-06 23:06:59 +02:00
Jan Steemann
3f6cb4d9ed
fixed update policy
2014-06-06 22:53:59 +02:00
Jan Steemann
368091d7c3
function cleanup
2014-06-06 21:35:34 +02:00
Jan Steemann
c6b8bb7313
do not create _trx collection
2014-06-06 17:06:07 +02:00
Max Neunhoeffer
df37bcad23
Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh
2014-06-06 17:00:26 +02:00
Max Neunhoeffer
fd2c99443f
Introduce TRI_doc_mptr_copy_t for copies of master pointers.
...
Did not yet run through all occurrences of TRI_doc_mptr_t to see
whether they have to be TRI_doc_mptr_copy_t.
2014-06-06 16:59:32 +02:00
Jan Steemann
f730fc7ddc
make collection more exception-aware
2014-06-06 16:46:39 +02:00
Jan Steemann
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Jan Steemann
8da6824d15
added TRI_ASSERT and TRI_ASSERT_EXPENSIVE
2014-06-06 10:32:20 +02:00
Max Neunhoeffer
35e00a3a4d
Revert "Do not copy TRI_doc_mptr_t."
...
This reverts commit ea1f82194dccdf212c9ef1f7ee8c5790b7e3c771.
We need to copy such that we can release the collection lock earlier.
2014-06-05 14:56:21 +02:00
Max Neunhoeffer
95933fb3c1
Do not copy TRI_doc_mptr_t.
2014-06-05 13:56:26 +02:00
Max Neunhoeffer
4de7e852f9
Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/document-collection.cpp
2014-06-05 12:07:48 +02:00
Max Neunhoeffer
2776dc78fa
Make TRI_doc_mptr_t a C++ struct.
2014-06-05 12:03:57 +02:00
Jan Steemann
ec8742f920
removed separate index lock
2014-06-05 11:39:14 +02:00
Jan Steemann
1925a16640
use namespace std
2014-06-05 01:29:01 +02:00
Jan Steemann
d18264b1a6
less thread-local lookups
2014-06-05 01:11:43 +02:00
Jan Steemann
3bda98a28c
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/document-collection.cpp
arangod/Wal/DocumentOperation.h
2014-06-04 17:36:00 +02:00
Jan Steemann
7b7f42118e
fixed some unique constraint violation handling
2014-06-04 17:28:06 +02:00
Max Neunhoeffer
3ad1940ce9
Looked through _headersPtr.
2014-06-04 16:23:07 +02:00
Max Neunhoeffer
a7792a5306
Looked through TRI_EXTRACT_MARKER_KEY for protection.
2014-06-04 15:40:09 +02:00
Max Neunhoeffer
a32bf12f2f
Looked at all _dataptr dereferences.
2014-06-04 15:18:25 +02:00
Jan Steemann
a43d5c3f7d
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-04 14:49:29 +02:00
Jan Steemann
c5154fede7
use external index locking
2014-06-04 14:49:22 +02:00
Max Neunhoeffer
f3653015b6
First part of protection proof.
2014-06-04 14:31:38 +02:00
Max Neunhoeffer
13541cf4ec
Rename component _data -> _dataptr in master pointer.
2014-06-03 22:27:08 +02:00
Jan Steemann
240bda8b06
use DatabaseGuard
2014-06-03 19:44:37 +02:00
Jan Steemann
8ba93e25a2
use marker protectors
2014-06-02 11:00:05 +02:00
Jan Steemann
d4dd58b264
merged primary-collection.cpp with document-collection.cpp
2014-05-31 00:22:32 +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
ed6a55abb9
specialized primary index for faster comparisons and less datafile lookups
2014-05-29 03:35:37 +02:00
Jan Steemann
e52f6f9d05
reworked
2014-05-27 18:42:40 +02:00
Jan Steemann
6ad1ba13cc
fixed mutex in key generator
2014-05-22 13:11:23 +02:00
Jan Steemann
de14fa5944
removed old CRUD methods
2014-05-22 12:17:51 +02:00
Jan Steemann
5373f1cea0
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/edge-collection.h
2014-05-21 18:06:44 +02:00
Jan Steemann
0caa570274
update()
2014-05-21 18:05:08 +02:00
Max Neunhoeffer
e7560357d2
Further cleanup with #include "Basics/Common.h"
2014-05-21 16:59:54 +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
Jan Steemann
0933555a3e
fixed saving of documents
2014-05-21 13:41:55 +02:00
Jan Steemann
4529560ad2
adding edges
2014-05-20 16:58:05 +02:00
Jan Steemann
cdad1f19fe
moved marker definitions
2014-05-20 14:21:12 +02:00
Jan Steemann
c93871166a
added save() method, still broken
2014-05-20 11:31:42 +02:00
Jan Steemann
f7797ab6c9
added locker objects
2014-05-20 11:22:27 +02:00
Jan Steemann
168fdcf6ef
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
UnitTests/Basics/bson-test.cpp
arangod/V8Server/v8-actions.cpp
lib/Basics/BsonHelper.h
2014-05-19 11:21:58 +02:00
Jan Steemann
d16535351a
reserve space in result vector
2014-05-17 00:49:52 +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
14813638dd
removed boost
2014-05-12 17:22:42 +02:00
Jan Steemann
86398d7cde
insert standalone marker
2014-04-11 13:01:00 +02:00
Jan Steemann
fb130a3c45
empty() instead of size()
2014-04-07 21:03:29 +02:00
Jan Steemann
629348d696
properly acquire shape write locks
2014-02-28 18:43:09 +01:00
Jan Steemann
ef84dc23e2
fixed segfault
2014-02-27 09:16:07 +01:00
Jan Steemann
002938aa04
AQL in coordinator
2014-02-07 16:38:35 +01:00
Jan Steemann
58b3e0f99d
splitted a few tests
2014-02-05 15:15:51 +01:00
Max Neunhoeffer
3a5a085bc5
Sort out mess with collection name/id lookup in cluster.
2014-01-30 17:27:06 +01:00
Max Neunhoeffer
1edcd6a9e9
Report cluster wide collection name in _id
2014-01-29 11:24:09 +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
f69ae8f2a9
do not access shaper but use memory zone variable
2013-11-08 13:42:16 +01:00
Jan Steemann
46d4e14f7b
issue #650 : Randonmess of any() should be improved
2013-10-31 10:09:01 +01:00
Jan Steemann
4f50b98c45
removed second logger implementation
2013-10-30 00:38:25 +01:00
Jan Steemann
21d25d0ccc
removed resourceholder
2013-10-17 10:43:07 +02:00
Jan Steemann
6a353a4c38
resolve collection names on reimport
2013-10-10 12:33:27 +02:00
Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +02:00
Jan Steemann
e3ac7ed04c
no need to use policy
2013-09-20 08:27:16 +02:00
Jan Steemann
5c0fd200f7
more OOM awareness
2013-09-19 08:44:12 +02:00
Jan Steemann
42441b208f
refactoring of multiple databases, intermediate commit
2013-09-11 11:42:34 +02:00
Jan Steemann
a53c1e493b
multiple database, becoming standard
2013-09-02 09:52:52 +02:00
Jan Steemann
9eb1752a7e
use AQL LIMIT but still return the unlimited count value
...
Still needs documentation and tests
2013-08-19 18:41:00 +02:00
Jan Steemann
05a7f79941
re-configuration of logger, cap constraint
2013-07-31 14:39:33 +02:00
Jan Steemann
6b5900e8e0
updated replication api
2013-07-30 09:54:39 +02:00
Jan Steemann
9a5a1b02c1
fixed server crash when using firstExample/byExample in a transaction
2013-07-27 17:25:57 +02:00
Jan Steemann
0adbe8410f
log "rev"
2013-07-23 18:00:29 +02:00
Jan Steemann
c4f82088dd
replication tests
2013-07-22 18:12:56 +02:00
Jan Steemann
3ab117de67
added collection.first() and collection.last()
2013-07-19 14:21:46 +02:00
Jan Steemann
088d8aebf8
more tailored AQL error messages in case collection cannot be found
2013-07-18 10:48:02 +02:00
Jan Steemann
ca6b184286
added TRI_JSON_STRING_REFERENCE
2013-07-10 17:00:29 +02:00
Jan Steemann
3cc4405c18
added collection.checksum()
2013-07-10 11:10:00 +02:00
Jan Steemann
d79d95a3a7
moved attribute names to defines
2013-07-05 14:41:23 +02:00
Jan Steemann
054ed3ca3f
apply collection data dumps
2013-07-05 11:41:37 +02:00
Jan Steemann
22b859ad81
initialise _json
2013-07-03 16:21:44 +02:00
Jan Steemann
6e9c3e8e2c
replication logging
2013-06-26 12:04:55 +02:00
Jan Steemann
5c1fc950d4
reset pointer after freeing
2013-06-22 02:48:13 +02:00
a-brandt
d9fc2a6c60
Merge branch 'devel' into multiple_databases
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/primary-collection.c
2013-06-11 11:17:41 +02:00
Jan Steemann
e8e10844f4
moved compaction tests
2013-06-11 10:41:40 +02:00
Jan Steemann
564523896a
compaction tests
2013-06-11 10:10:58 +02:00
Jan Steemann
8696048dbb
removed now unnecessary _validTo from master pointers/headers
2013-06-10 11:20:19 +02:00
Jan Steemann
e3275136cd
allow incremental access to all documents from a collection out of AQL
2013-06-07 16:51:42 +02:00
Jan Steemann
ef19833ced
fixed locking for truncate()
2013-06-07 11:34:48 +02:00
Jan Steemann
d31573a8b4
fixed a few type issues, updated TODOs
2013-06-07 11:31:42 +02:00
a-brandt
68ac9a3adc
bugfix wrong string length
2013-06-04 14:53:39 +02:00
a-brandt
1c0578c2b5
Merge branch 'devel' into multiple_databases
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
arangod/VocBase/vocbase.c
lib/HttpServer/ApplicationEndpointServer.cpp
lib/HttpServer/ApplicationEndpointServer.h
lib/HttpServer/HttpCommTask.h
lib/HttpServer/HttpHandlerFactory.cpp
lib/HttpServer/HttpHandlerFactory.h
lib/Rest/HttpRequest.cpp
lib/Rest/HttpRequest.h
2013-06-03 17:05:01 +02:00
Jan Steemann
ab6ca2f017
ported all recent fixes from 1.3
2013-05-16 21:04:04 +02:00
a-brandt
9f4658fed5
added private constructor
2013-04-24 17:46:11 +02:00
a-brandt
7a0a9ff3b4
Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases
2013-04-22 14:53:33 +02:00
a-brandt
3b4e2b7e82
json document wrapper
2013-04-22 14:52:10 +02:00
Jan Steemann
a241c6959e
fixed segfault
2013-04-22 13:11:52 +02:00
Jan Steemann
91c63338f2
some locking fixes
2013-04-17 18:02:55 +02:00
Jan Steemann
30b2b2ef3e
adjusted locks
2013-04-16 11:23:21 +02:00
Jan Steemann
8e4af7a952
fixed some locking
2013-04-15 12:43:53 +02:00
Jan Steemann
dee5adb9f5
added client side API for transactions
2013-04-12 23:18:48 +02:00
Jan Steemann
9b5849f650
updated documentation
2013-04-12 00:42:02 +02:00
Jan Steemann
b6925a7b7b
transactions
2013-04-11 19:06:55 +02:00
Jan Steemann
1417def879
disallow create/drop/rename operations inside transactions
2013-04-04 09:41:44 +02:00
Jan Steemann
f7a5cf4cf3
transactions
2013-04-03 14:40:23 +02:00
Frank Celler
f810711a79
FreeBSD port
2013-04-02 18:43:10 +02:00
Jan Steemann
6b3b181930
pass transaction collection into CRUD operations
2013-03-28 13:26:49 +01:00
Jan Steemann
28e0f8bd09
notify collections about transaction status changes
2013-03-22 13:34:02 +01:00
Jan Steemann
ccc7c3665b
locking
2013-03-22 11:31:36 +01:00
Jan Steemann
9b282ab74c
some cleanup of transaction code
2013-03-21 18:54:38 +01:00
Jan Steemann
26af2995db
some cleanup in transaction code
2013-03-20 18:44:29 +01:00
Jan Steemann
61cb229ca8
simplified writing of markers into datafiles
2013-03-18 20:04:31 +01:00
Jan Steemann
e8a6c9ee6e
cleaned up doc operation context
2013-03-18 17:34:17 +01:00
Jan Steemann
99522ccb84
switch order of insertion into indexes & datafile for updates
...
updates are now done in the indexes first, then written to the datafile
2013-03-18 13:03:05 +01:00
Jan Steemann
741dec2f7a
changed function signature
2013-03-18 09:17:32 +01:00
Jan Steemann
ab83c3ea29
some cleanup
2013-03-15 18:07:22 +01:00
Jan Steemann
312b5fda64
some refactoring of document CRUD operations
2013-03-15 17:58:56 +01:00
Frank Celler
1aa5109fa3
updated disclaimer
2013-03-13 17:03:18 +01:00
Jan Steemann
f613c3c4d9
fixed race conditions when reading/deleting documents
2013-03-01 16:44:40 +01:00
Jan Steemann
bacdbed093
more throughput with parallel deletes/inserts
2013-03-01 10:35:39 +01:00
Jan Steemann
4f37fada0d
some mini-modifications for slightly higher throughput
2013-02-19 09:54:36 +01:00
Jan Steemann
21e5a5e555
fixed typo in comment
2013-02-15 17:55:45 +01:00
Jan Steemann
d321f32523
moved some const value out of loop
2013-02-15 11:35:48 +01:00
Jan Steemann
0a00760907
performance patch, improving parallelity for concurrent document creation
2013-02-14 17:18:28 +01:00
Frank Celler
069dcdfc94
changed logging of fatal errors
2013-02-14 16:47:35 +01:00
Jan Steemann
8365c4294c
small mods
2013-02-12 18:16:23 +01:00
Jan Steemann
8eea104b39
remove 1.2 & 1.1 travis builds
2013-02-07 17:19:58 +01:00
Jan Steemann
e06329db48
fix cross-collection queries in AQL
2013-02-05 10:56:28 +01:00
Jan Steemann
2263e959fe
added tests for cross-collection queries
2013-02-05 09:26:05 +01:00
Jan Steemann
3d589a9562
some cleanup
2013-02-04 20:06:06 +01:00
Jan Steemann
44f2d05b4c
added explicit locking
2013-02-04 15:35:26 +01:00
Jan Steemann
8a6225865f
removed lock classes
2013-02-04 14:40:14 +01:00
Jan Steemann
f1896ccc46
more cleanup
2013-02-04 13:56:49 +01:00
Jan Steemann
a1dc59e85b
moved AQL stuff into AhuacatlTransaction
2013-02-04 13:51:09 +01:00
Jan Steemann
b12dda013c
removed transactioncollection
2013-02-04 13:26:23 +01:00
Jan Steemann
de0b290bcd
moved AQL to use AhuacatlTransaction
2013-02-04 11:25:03 +01:00
Jan Steemann
ec26305a53
fixed AqlTransaction.h
2013-02-01 17:07:03 +01:00
Jan Steemann
9a1bac1d69
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-02-01 13:43:48 +01:00
Jan Steemann
ca8935ae2a
fix collection name handling in the face of parallel renames
2013-02-01 13:43:14 +01:00
Oreste Panaia
3c8093849a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-01-31 00:07:19 +08:00
Jan Steemann
47ad5e1139
removed dead configure option for 1.2
2013-01-30 13:19:20 +01:00
Oreste Panaia
bb54d606ad
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-01-22 23:06:39 +08:00
Oreste Panaia
c4f6465ee7
attempt to link icu libraries into arango
2013-01-22 23:04:16 +08:00
Jan Steemann
0ce5d965e7
some cleanup
2013-01-21 19:52:50 +01:00
Jan Steemann
562ace7d89
comments
2013-01-21 14:55:21 +01:00
Jan Steemann
9e5fb04043
moved any() to trx
2013-01-21 13:20:22 +01:00
Jan Steemann
6bf2b85ccb
fixed error in trx setup
2013-01-17 15:13:11 +01:00
Jan Steemann
187d8ecc69
some transaction rework
2013-01-08 17:26:16 +01:00
Jan Steemann
46640b376d
removed meaningless comments
2012-11-28 17:28:13 +01:00
Jan Steemann
cbad6b526a
make collections accesible via name instead of id.
...
this allows using the collection name instead of ids in _from, _to, _id etc.
2012-11-28 13:16:15 +01:00
Jan Steemann
ad855bd2bd
fixed doxygen errors
2012-11-21 18:10:45 +01:00
Jan Steemann
a2b404123a
load monkeypatches on all occasions
2012-11-20 16:50:15 +01:00
Jan Steemann
3718f3570d
ALL() moved to transaction semantics
2012-11-19 13:07:38 +01:00
Jan Steemann
d1fda6525d
make truncate use transaction semantics
2012-11-19 11:42:49 +01:00
Jan Steemann
fe693e6ae3
make documents read use transaction semantics
2012-11-19 11:23:44 +01:00
Jan Steemann
6e1fe6a423
delete now uses transaction semantics
2012-11-19 11:00:25 +01:00
Jan Steemann
3eda13c181
update and replace now use transaction semantics
2012-11-19 10:42:20 +01:00
Jan Steemann
952383beb6
removed some debug messages
2012-11-16 15:37:36 +01:00
Jan Steemann
38025fbc31
documents and edges are now created using transaction contexts
2012-11-16 15:36:44 +01:00
Jan Steemann
c2689f0f5e
moved AhuacatlContextGuard class out of vocbase
2012-11-16 13:39:49 +01:00
Jan Steemann
ace85c43c9
nesting transactions from v8-vocbase...
2012-11-15 18:55:52 +01:00
Jan Steemann
de9b2c71c1
fixed some transaction stuff
2012-11-15 18:39:48 +01:00
Jan Steemann
fe7e061a27
transaction nesting
2012-11-15 18:14:20 +01:00
Jan Steemann
afb54b533d
moved some methods to base class
2012-11-15 15:06:56 +01:00
Jan Steemann
1ff2430e39
transaction refactoring
2012-11-15 13:53:11 +01:00
Jan Steemann
12d76b8306
introduced additional transaction type for import
2012-11-15 09:52:47 +01:00
Jan Steemann
9e40045025
changed document CRUD API signatures
2012-11-14 17:11:16 +01:00
Jan Steemann
57f0677d7b
split self-contained transactions into read & write transactions
2012-11-13 17:56:13 +01:00
Jan Steemann
b8655965f4
some transaction changes
2012-11-13 17:36:24 +01:00
Jan Steemann
60f076de91
removed unused barrier reference
2012-10-31 10:34:52 +01:00
Jan Steemann
1b1d7ba877
renamed simple_collection to document_collection
2012-09-14 14:46:37 +02:00
Jan Steemann
9bc99b7c9d
renamed document collection to primary collection
2012-09-14 10:19:41 +02:00
Jan Steemann
1b6efb38d9
virtual
2012-09-14 08:47:56 +02:00
Jan Steemann
a932d335cb
added guards for collection locking and read/write transactions
2012-09-13 17:40:38 +02:00