Max Neunhoeffer
825f010980
Rename getValues2 to getValues.
2016-05-10 15:52:54 +02:00
jsteemann
f90a9fce18
handle "Connection" and "Content-Type" headers separately
2016-05-10 15:24:55 +02:00
Jan Steemann
8d6bf61335
fixed restore
2016-05-09 11:55:00 +02:00
Max Neunhoeffer
75f7689a9f
Fix arangodump.
...
RestReplicationHandler::handleCommandClusterInventory was using
getValues instead of getValues2 and the etcd-fake code did not
work properly with objects as values in the agency.
2016-05-04 23:46:09 +02:00
jsteemann
96fceb4411
use std::unordered_maps for headers
2016-05-01 20:52:47 +02:00
jsteemann
7cd90ae711
micro optimizations
2016-05-01 14:13:53 +02:00
jsteemann
a1df0c8168
turn waitForSync off during restore
2016-04-30 16:47:29 +02:00
jsteemann
46e9db4d4e
wal simplifications
2016-04-25 22:31:48 +02:00
jsteemann
f660587336
fix importing of unsupported index types
2016-04-24 19:15:26 +02:00
Michael Hackstein
1c040696b4
Removed unnecessary TRI_json_t in RestReplicationHandler
2016-04-16 22:37:48 +02:00
Jan Steemann
c0fd5c5f78
removal of some JSON
2016-04-12 18:21:11 +02:00
Jan Steemann
513dc26fc1
make replication tests more deterministic
2016-04-07 13:00:30 +02:00
Jan Steemann
aae8ffa5e3
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-04-06 15:46:47 +02:00
Jan Steemann
9f8c24b1cd
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-04-06 15:43:27 +02:00
Max Neunhoeffer
cae6b850df
Fix addFollower.
2016-04-06 10:15:03 +02:00
Jan Steemann
d0f368445a
replication fixes
2016-04-05 18:32:09 +02:00
Jan Steemann
bd43decab4
replication fixes
2016-04-04 14:55:55 +02:00
Frank Celler
068f9defd7
splitted HttpResponse.h
2016-04-01 10:39:38 +02:00
Frank Celler
295c8a3809
MSVC fixes
2016-03-31 14:01:23 +02:00
Frank Celler
486011d399
Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk
2016-03-31 13:41:09 +02:00
Frank Celler
494bdca847
splitted HttpRequest into GeneralRequest/HttpRequest
2016-03-31 11:45:21 +02:00
jsteemann
b7c1a42f96
test fixes
2016-03-24 01:12:57 +01:00
Jan Steemann
31c06b0845
cleanup
2016-03-22 11:48:17 +01:00
Max Neunhoeffer
d51beb5326
Get rid of update_policy for good.
2016-03-10 00:14:06 +01:00
Jan Steemann
b393c3d9bb
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-03-09 09:42:10 +01:00
Frank Celler
dfa9047484
switch arangosh to new ApplicationFeatures and ProgramOptions
2016-03-08 23:32:43 +01:00
Jan Steemann
5814cb024c
adapted to new data structure
2016-03-07 17:07:57 +01:00
Jan Steemann
b358fa329d
fixed replication dump and logger-follow commands
2016-03-07 15:21:11 +01:00
Max Neunhoeffer
af3d61c339
Fix complation.
2016-03-07 09:04:58 +01:00
Max Neunhoeffer
ab82405e9a
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-03-07 08:43:38 +01:00
Max Neunhoeffer
9358fcb96f
Commit some fixes.
2016-03-07 08:40:54 +01:00
Jan Steemann
9f84b767d1
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-03-07 08:11:01 +01:00
Frank Celler
60cd363f19
moved build date to file build-date.h.in
2016-03-05 09:49:31 +01:00
Jan Steemann
05f98cbd72
fixed compile errors
2016-03-04 18:43:51 +01:00
Jan Steemann
ad4a9542ea
removed file
2016-03-04 18:32:54 +01:00
Jan Steemann
3cadcd5340
less json
2016-03-03 15:40:00 +01:00
Jan Steemann
78f07c6a31
less json
2016-03-03 14:23:39 +01:00
Jan Steemann
ba40edac87
less json
2016-03-02 14:58:13 +01:00
Jan Steemann
102066b4ee
removed methods
2016-03-01 11:50:16 +01:00
Jan Steemann
ebf2d1520b
removed TRI_doc_mptr_copy_t
2016-02-26 11:46:33 +01:00
Jan Steemann
e1745608e3
inject attribute translator everywhere
2016-02-25 11:13:32 +01:00
jsteemann
74fa6cf207
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-25 00:02:03 +01:00
jsteemann
851d19a9d6
logging simplifications
2016-02-25 00:00:18 +01:00
Jan Steemann
70d44f06fa
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-23 13:22:46 +01:00
Jan Steemann
eb202f528c
pass vocbase in TransactionContext
2016-02-23 13:03:30 +01:00
Frank Celler
963578180a
cleanup of TRI_ options
2016-02-23 12:26:10 +01:00
Jan Steemann
f468cd00ad
create transaction context as shared ptr
2016-02-23 12:18:39 +01:00
Jan Steemann
0a969caf23
removed SingleCollectionReadOnlyTransaction and SingleCollectionWriteTransaction
2016-02-23 11:05:44 +01:00
Max Neunhoeffer
393ac7e753
Rename getCollectionId -> getCollectionIdLocal.
2016-02-19 23:26:17 +01:00
Jan Steemann
0c4ab9054a
API cleanup
2016-02-16 15:13:30 +01:00
Max Neunhoeffer
4cbd99a54b
Merge branch 'devel' into ClustUp2
2016-02-13 23:06:22 +01:00
Jan Steemann
dad000b883
use std::string to avoid potential leaks
2016-02-11 10:13:49 +01:00
Max Neunhoeffer
465a117864
Merge branch 'devel' into ClustUp2
2016-02-11 09:11:29 +01:00
Jan Steemann
23dfbeee46
optionally restrict logger-follow to a single collection
2016-02-10 16:49:22 +01:00
Max Neunhoeffer
dc63cb3874
Merge branch 'devel' into ClustUp2
2016-02-09 15:52:36 +01:00
Max Neunhoeffer
fb17ac372b
Report new follower to agency.
2016-02-09 15:51:58 +01:00
Jan Steemann
39c3d3d2a2
wait until applier has started
2016-02-09 10:54:37 +01:00
Jan Steemann
42c4bdbebb
ported from 2.8
2016-02-07 19:47:37 +01:00
Jan Steemann
16df093e8f
added barrier query API
2016-02-05 18:20:21 +01:00
Jan Steemann
a0cb3b1832
replication changes
2016-02-05 18:06:39 +01:00
Jan Steemann
071d36c203
replication cleanup
2016-02-05 13:28:38 +01:00
Max Neunhoeffer
daf2afe71a
Merge branch 'devel' into ClustUp2
2016-02-01 12:30:45 +01:00
Jan Steemann
b7abf5a40d
attempt to fix Windows build
2016-02-01 12:04:28 +01:00
Max Neunhoeffer
0be190d85d
Merge branch 'devel' into ClustUp2
2016-02-01 11:43:00 +01:00
Max Neunhoeffer
bee1fd9eae
Fix followerInfo.
2016-02-01 11:42:26 +01:00
Max Neunhoeffer
93400bfdcc
Implement followerInfo.
2016-02-01 11:38:10 +01:00
jsteemann
4e94803ad7
honor results of clang-test, clang-tidy and clang-modernize
2016-01-31 15:56:18 +01:00
jsteemann
13481bbebc
fix or annotate problems identified by clang-check
2016-01-31 03:32:31 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Michael Hackstein
436c377cb5
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:01:53 +01:00
Jan Steemann
585208afcf
changed directory name pattern for collections
2016-01-27 18:53:16 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3d8a52cdf4
some refactoring
2016-01-27 13:28:19 +01:00
Jan Steemann
3fc862f0ef
changed locking macros
2016-01-26 15:39:12 +01:00
Michael Hackstein
969ac75d19
Removed all TRI_json_t references from v8-vocindex and all it's surroundings
2016-01-26 13:27:21 +01:00
Michael Hackstein
191c2dc3a9
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-21 16:29:38 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
ef67a496e6
more checks & asserts, C API cleanup
2016-01-20 22:08:11 +01:00
Michael Hackstein
51a683facb
Added a toVelocyPack function to all indexes. Removed specialized toJson from all indexes. Generalized toJson invokes specialized toVelocyPack for compatibility reasons.
2016-01-19 15:40:37 +01:00
Michael Hackstein
7f4980e87d
Cluster internal communication now uses more VPack instead of TRI_json_t
2016-01-19 11:33:43 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
jsteemann
1b959c827d
more const unification
2016-01-15 00:09:52 +01:00
Wilfried Goesgens
625cc51732
fix memleak.
2016-01-11 10:05:29 +01:00
jsteemann
64c5b21074
cppcheck
2016-01-08 01:17:44 +01:00
jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
jsteemann
50c0e18d53
removed useless con|destructor comments
2016-01-07 21:19:53 +01:00
Jan Steemann
8b4b6a1943
moved docu blocks into their own files
2016-01-07 16:03:17 +01:00
Wilfried Goesgens
7fc4b356e4
Revert formattings that break documentation parts.
2016-01-07 15:12:04 +01:00
Jan Steemann
02de75afe0
added option --default-number-of-shards for arangorestore
2016-01-07 10:54:02 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Jan Steemann
6caf94f6f5
fixed restoring dump from single server in cluster
2016-01-05 17:29:22 +01:00
jsteemann
a6cb463e06
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2016-01-05 00:25:10 +01:00
Frank Celler
1065a1bd2c
added work monitor
2016-01-04 15:33:06 +01:00
Max Neunhoeffer
c7f00bfeda
Continue work on TODOs.
2015-12-23 14:40:04 +01:00
Max Neunhoeffer
225c8cd843
Work on TODOs.
2015-12-22 16:50:09 +01:00
Max Neunhoeffer
152f3485b3
Fix dump bug in cluster.
2015-12-22 14:18:11 +01:00
Max Neunhoeffer
e0a527eb5d
Fix arangodump in cluster.
2015-12-21 11:53:37 +01:00
Max Neunhoeffer
0743885dec
Fix handling of VPackOptions in Parser/Builder usage.
...
Also fix TRI_json_t* handling for cluster methods.
2015-12-18 20:42:59 +01:00
Jan Steemann
e56d385c5e
fixed undefinedness
2015-12-17 18:31:11 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
Jan Steemann
6ee9a6f90e
replication fixes
2015-12-16 19:52:01 +01:00
Michael Hackstein
82eea28fea
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-12-16 19:03:15 +01:00
Michael Hackstein
f9f7c02772
Simple adoptions to VocbaseCollectionInfo class
2015-12-16 18:53:20 +01:00
Jan Steemann
573ba54da2
fixed typo
2015-12-16 12:04:27 +01:00
Michael Hackstein
b543680cca
Adapted resthandler to class version of TRI_col_info_t
2015-12-16 11:42:59 +01:00
Jan Steemann
a694b7ef48
make_unique
2015-12-16 11:36:35 +01:00
Max Neunhoeffer
4451e491ec
Merge branch 'devel' into ClustUp1
2015-12-15 17:46:34 +01:00
Jan Steemann
ad8381ad6a
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-15 16:37:33 +01:00
Alan Plum
8853ede355
org/arangodb -> @arangodb
2015-12-15 15:51:44 +01:00
Max Neunhoeffer
7641feeb88
Fix ClusterComm library w.r.t. pointers.
2015-12-14 11:22:30 +01:00
Max Neunhoeffer
af4d729284
The ClusterComm C++11 revolution.
2015-12-11 23:26:10 +01:00
Max Neunhoeffer
c11ec07564
Merge branch 'devel' into ClustUp1
2015-12-11 13:28:07 +01:00
jsteemann
c40bfe6557
cppcheck
2015-12-10 22:40:40 +01:00
Jan Steemann
a406ced17c
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-10 21:33:43 +01:00
Jan Steemann
4335af50e7
replication improvements
2015-12-10 19:07:10 +01:00
Michael Hackstein
51da7ab7af
Replication Applier configuration now uses a Destructor instead of TRI_Destroy. This commit is subject to inspection for memleaks
2015-12-09 16:29:14 +01:00
Michael Hackstein
cfd1caf01c
Replaced TRI_JsonReplicationApplier in RestHandler with velocpack
2015-12-09 15:25:14 +01:00
Michael Hackstein
2eb5697864
Removing more and more TRI_json_t
2015-12-09 13:55:39 +01:00
Michael Hackstein
0738741cd1
Further removed references to TRI_json_t in RestReplication handler. This included a new toVelocyPack function for TRI_vocbase_col_t
2015-12-09 12:35:33 +01:00
Michael Hackstein
44b806418f
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-12-09 10:28:16 +01:00
Max Neunhoeffer
ec4e37b2f9
Merge branch 'devel' into ClustUp1
2015-12-08 20:13:17 +01:00
Jan Steemann
76d5f57af0
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-08 18:23:06 +01:00
Jan Steemann
6eb44f229e
issue #1598 : improved error reporting for dump/restore
2015-12-08 18:11:44 +01:00
Michael Hackstein
7d90d583f0
Further movement of RestReplicationHandler to VPack. This state is not fully working
2015-12-08 10:31:47 +01:00
Michael Hackstein
dd21a42523
Fixed calls to index->toVelocyPack in RestReplicationHandler
2015-12-07 15:45:22 +01:00
Michael Hackstein
602c6a61c2
The Replication handler now uses the index->toVelocyPack functionality
2015-12-07 15:00:11 +01:00
Michael Hackstein
5c11280cec
Started moving the RestReplication Handler from TRI_json_t to VelocyPack
2015-12-07 14:25:29 +01:00
Michael Hackstein
498c4395df
Started moving ReplciationHandler to VPack
2015-12-06 12:57:58 +01:00
Max Neunhoeffer
60df924ac1
Change data structures for collections in Agency.
...
Snapshot, compiles, untested, needs new VelocyPack.
2015-12-04 15:08:47 +01:00
Jan Steemann
5c033f566b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-04 13:47:08 +01:00
Max Neunhoeffer
3556f76469
Fix ClusterComm::asyncRequest w.r.t. body shared_ptr.
2015-12-02 14:15:18 +01:00
Jan Steemann
0dd207f9f5
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-01 11:14:12 +01:00
jsteemann
3a73ec1a52
optionally trigger auto-resync in case of "no start tick" issue
2015-12-01 01:22:19 +01:00
jsteemann
04e81ea851
more replication
2015-11-30 23:33:59 +01:00
Jan Steemann
f013c809ea
replication improvements
2015-11-30 18:27:31 +01:00
Jan Steemann
4e33bda538
fixes for new replication features
2015-11-30 12:46:26 +01:00
Jan Steemann
bd8b70455a
replication improvements
2015-11-27 16:16:15 +01:00
Jan Steemann
b6752faf0b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-25 11:44:32 +01:00
Alan Plum
7538d71333
URL parameter -> {query,path} parameter
2015-11-24 18:09:43 +01:00
Jan Steemann
75e4e6e815
added transaction to all signatures
2015-11-24 17:34:23 +01:00
Jan Steemann
9c471df56f
fixed compile warning
2015-11-09 15:33:39 +01:00
Michael Hackstein
1d7b825462
Many parts of ReplicationHandler now use VelocyPack. Some parts interfere with the ReplicationApplier used in several places. Will be added later
2015-11-09 13:25:31 +01:00
Michael Hackstein
7fb1d9747c
Continue moving RestReplicationHandler to VPack
2015-11-09 12:50:09 +01:00
Michael Hackstein
769bcd8dfc
Started to replace TRI_json_t in RestReplication handler.
2015-11-09 11:15:44 +01:00
Jan Steemann
aa3039cece
fixes for cluster tests
2015-10-20 18:10:53 +02:00
jsteemann
53106f22b1
fixed leak
2015-09-17 14:05:30 +02:00
Wilfried Goesgens
b06d03e84f
Cleanup documentation for remaining @-tags
2015-09-17 11:15:33 +02:00
Wilfried Goesgens
70a2c74c1b
Update RESTAPI documentation handling to work with the swagger 2 api
...
- use the structures from the swagger for post / reply structures
- add missing documentation snippets to their respective places
- fix syntax of documentation blocks
2015-09-16 16:35:13 +02:00
Jan Steemann
dc7ac83354
incremental sync fixes
2015-09-15 14:20:08 +02:00
Jan Steemann
75ccd7e2cc
fixed incremental sync method
2015-09-14 17:44:12 +02:00
Jan Steemann
e08d840b47
replication API documentation
2015-09-14 15:30:00 +02:00
Jan Steemann
3f68ea3da0
Merge branch 'devel' of https://github.com/arangodb/arangodb into replication-sync-collections
2015-09-11 17:16:06 +02:00
Jan Steemann
d7a3b51e1b
additional sync method
2015-09-11 17:13:31 +02:00
Jan Steemann
b0a924c5a8
sync
2015-09-11 11:56:38 +02:00
Willi Goesgens
ac2acabd5d
Work on formatting and grammer
2015-09-11 11:25:34 +02:00
Jan Steemann
bead727a32
initial work for better incremental synchronization
2015-09-10 18:17:58 +02:00
Jan Steemann
f077af1594
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-09 17:43:38 +02:00
Jan Steemann
6e290db783
fixed typos
2015-09-09 17:43:34 +02:00
Willi Goesgens
e1ae661ae0
Work on multi-dimensional swagger post data
2015-09-09 17:40:51 +02:00
Willi Goesgens
eb9e03f3f0
Upgrade the REST-API documentation to to swagger V2.0
...
Wrap lines in examples.
2015-09-09 15:21:18 +02:00
Jan Steemann
0735277830
removed IndexWatermarks again... not needed
2015-09-09 14:22:58 +02:00
CoDEmanX
8aa78dcb7f
Fix some more typos
2015-09-05 17:18:04 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Jan Steemann
f4c542795c
getIndexes(true)
2015-08-26 09:48:48 +02:00
Jan Steemann
52af8c5781
added comments
2015-08-25 13:16:07 +02:00
Jan Steemann
1af238a6d5
added tests for requireFromIncluded
2015-08-25 12:50:58 +02:00
Jan Steemann
37da76546c
re-introduced tracking of replication "clients"
2015-08-24 12:02:57 +02:00
Jan Steemann
b08713d768
added tests and documentation
2015-08-24 11:05:26 +02:00
Jan Steemann
9e08b1ebc5
add tickRanges() function
2015-08-21 17:00:32 +02:00
Jan Steemann
31a6547d4c
fix replication resumption
2015-08-21 15:57:24 +02:00
Jan Steemann
f0ef3d450f
refactoring
2015-08-20 18:25:47 +02:00
Jan Steemann
ea382e1f4c
removed triagens::rest::Handler
2015-08-20 01:26:50 +02:00
Jan Steemann
f587b2ca6a
replication refactoring
2015-08-19 16:13:53 +02:00
Jan Steemann
878641f674
some replication refactoring
2015-08-19 15:32:24 +02:00
Jan Steemann
8677da48b1
replication API enhancements, not yet ready
2015-08-18 18:08:20 +02:00
Jan Steemann
338dd7e100
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-17 18:41:13 +02:00
Jan Steemann
4e771b2728
replication improvements
2015-08-17 18:41:05 +02:00
Jan Steemann
ffe4fb556b
pacify VS
2015-08-17 17:05:52 +02:00
Jan Steemann
22cff81a5c
added status methods for logfiles
2015-08-17 15:04:26 +02:00
Jan Steemann
95a346edd2
fix leak
2015-08-14 18:17:22 +02:00
Jan Steemann
5b82096145
honor indexBuckets attribute in restore operation of collection
2015-08-13 15:37:32 +02:00
Willi Goesgens
bbb8198d2b
Add a @brief to all descriptions, remove stray markup.
2015-08-12 16:58:06 +02:00
Willi Goesgens
096ad46f05
revert ad5a2c49f1c8479fb4896a28b178d34fcfe3abe8 - arangodump isn't a plain json.
2015-08-11 14:49:06 +02:00
Willi Goesgens
b6613208d0
switch to logging json formatted response for better user experience.
2015-08-11 14:15:15 +02:00
Jan Steemann
b659d9fa07
use unique_ptr
2015-08-07 16:48:35 +02:00
Jan Steemann
5d82f0b385
some cleanup
2015-08-07 15:16:33 +02:00
Jan Steemann
6d7ccd7699
move shaper to cxx
2015-07-28 17:38:31 +02:00
Jan Steemann
4d0872f2b9
more cxx
2015-07-20 18:42:02 +02:00
Willi Goesgens
f442455fdd
Fix memleak - Replace creates a copy.
2015-07-02 10:55:42 +02:00
Willi Goesgens
1dea6b29a5
Fix memleaks in coordinator.
2015-06-30 14:36:37 +02:00
Jan Steemann
b76cb5caee
use nullptr
2015-06-02 23:39:41 +02:00
Jan Steemann
4b67c7a735
several fixes for indexes
2015-05-26 13:35:11 +02:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02:00
Jan Steemann
5ad7dea0c8
use auto for HTTP response headers iteration
2015-05-08 17:44:33 +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
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
8273970856
fixed leak
2015-01-30 12:37:31 +01:00
Patrick Huber
387c7686e7
document how the http status code and lastincluded http headers relate to each other
2015-01-28 11:04:18 +01:00
Jan Steemann
8aeded5c86
fixed documentation
2015-01-22 13:36:01 +01:00
Jan Steemann
f75e4dfbb3
issue #1219 : /_api/replication/logger-state clients field
2015-01-22 11:06: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
fd5a723f30
removed deprecated methods
2014-12-19 14:00:58 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
d9a945e33a
include or exclude system collections from replication
2014-12-05 14:58:43 +01:00
Jan Steemann
dcb9427b6f
rewrote transaction contexts
2014-10-16 15:53:28 +02:00
Jan Steemann
f8cf3d1951
fixed memleak
2014-10-01 12:21:37 +02:00
Jan Steemann
f3186fa065
cppcheck
2014-09-29 17:02:40 +02:00
Max Neunhoeffer
046d4f524d
Implement getSome for RemoteBlock.
2014-09-26 16:19:25 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Jan Steemann
0dc0bc834f
more files renamed
2014-09-13 00:20:30 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Jan Steemann
86bf8e3c4f
removed unused function argument
2014-08-23 00:50:37 +02:00
Jan Steemann
0a439474e5
cppcheck
2014-08-22 12:51:26 +02:00
Michael Hackstein
a5b35f224a
Fixed REST API documentation. Some values were not recognized as paramters by swagger script
2014-08-07 14:52:55 +02:00
Max Neunhoeffer
4e95044faa
Hand on --force option of arangorestore.
2014-07-10 14:34:21 +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
Thomas Schmidts
c2fa9cb091
Erased useless @startDocuBlocks
2014-07-08 11:16:56 +02:00
Jan Steemann
fcadb40af6
updated replication documentation
2014-07-06 15:59:52 +02:00
Jan Steemann
a5cf53d417
fixed examples
2014-07-01 16:48:47 +02:00
Thomas Schmidts
9e2a538096
Changed API documentation in code
2014-06-30 17:29:15 +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
66ffe61a76
renamed enum values
2014-06-24 17:32:43 +02:00
Jan Steemann
97e36a7eb0
fixed examples
2014-06-24 11:26:51 +02:00
Jan Steemann
cc041c4851
typecasts
2014-06-24 08:20:35 +02:00
Jan Steemann
d56719ae4d
simplification of signatures
2014-06-24 00:32:40 +02:00
Jan Steemann
53909c0dcd
adjusted tests
2014-06-23 18:45:06 +02:00
Jan Steemann
13e061bd76
fixed tests
2014-06-23 17:46:00 +02:00
Jan Steemann
b31c2330d4
exclude collections
2014-06-23 14:24:12 +02:00
Jan Steemann
3b0d8b15d6
re-added replication
2014-06-23 13:22:38 +02:00
Jan Steemann
16bf152c8f
fully removed replication logger
2014-06-21 00:32:47 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Jan Steemann
fabc51f889
fixed wrong ASSERT usage
2014-06-13 12:10:35 +02:00
Jan Steemann
bbdbbd5736
removed implicit parameter from function signature
2014-06-13 01:59:19 +02:00
Jan Steemann
1b94fbf904
fixed crash in dump
2014-06-13 01:53:44 +02:00
Jan Steemann
bc52f3408f
recovery, not functional yet
2014-06-12 18:13:48 +02:00
Jan Steemann
0c8e01ca40
fixed assertion fail
2014-06-12 12:00:58 +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
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
Max Neunhoeffer
c2bddb1c19
Let TRI_document_collection_t inherit from TRI_collection_t.
2014-06-11 10:51:47 +02:00
Jan Steemann
da9f8247fb
barriers are now created automatically by transactions
2014-06-10 11:56:40 +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
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
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
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Max Neunhoeffer
2776dc78fa
Make TRI_doc_mptr_t a C++ struct.
2014-06-05 12:03:57 +02:00
Jan Steemann
d4dd58b264
merged primary-collection.cpp with document-collection.cpp
2014-05-31 00:22:32 +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
Max Neunhoeffer
69353334eb
Get rid of TRI_ENABLE_CLUSTER everywhere.
2014-05-21 14:46:47 +02:00
Max Neunhoeffer
0af211c1e5
More header cleanups.
2014-05-21 13:42:41 +02:00
Jan Steemann
14813638dd
removed boost
2014-05-12 17:22:42 +02:00
Jan Steemann
204a16c224
fixed compiler warning
2014-05-12 13:55:58 +02:00
Frank Celler
16d5c6bfa2
windows does not like cast from double to enum
2014-05-10 17:36:21 +02:00
Max Neunhoeffer
2ee2700096
If a collection cannot be dropped during restore, truncate it.
2014-05-09 23:18:27 +02:00
Max Neunhoeffer
c181e15906
Silence a compiler warning about signedness.
2014-05-09 22:59:34 +02:00
Max Neunhoeffer
7c8fc95de8
arangorestore/cluster: default to 1 shard.
...
If shards is not given in the structure description, take 1 shard.
2014-05-09 22:58:08 +02:00
Max Neunhoeffer
19289b6d37
First working version of arangorestore for clusters.
2014-05-09 16:33:54 +02:00
Jan Steemann
20f1940458
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-09 00:42:32 +02:00
Jan Steemann
2e17f4bcd7
cppcheck
2014-05-09 00:21:17 +02:00
Max Neunhoeffer
9b5f015747
Prepare setup for cluster arangorestore.
2014-05-08 22:38:52 +02:00
Max Neunhoeffer
8dc74b9958
Fix result structure of clusterInventory.
2014-05-08 10:22:01 +02:00
Max Neunhoeffer
a312d496a9
Finish server functionality for cluster dump.
2014-05-07 16:36:47 +02:00
Max Neunhoeffer
272aa89904
More trampoline functionality in coordinator.
...
inventory and dump (not yet working).
restore-data (not yet tested).
2014-05-06 21:36:52 +02:00
Max Neunhoeffer
271e33be48
Implement trampoline for /_api/replication/batch.
2014-05-06 16:27:27 +02:00
Jan Steemann
e968d62367
re-use planId
2014-03-05 15:33:49 +01:00
Jan Steemann
978e784462
disable replication handlers for coordinators
2014-02-28 21:51:02 +01:00
Jan Steemann
629348d696
properly acquire shape write locks
2014-02-28 18:43:09 +01:00
Frank Celler
f2121ff442
cleanup
2014-02-25 15:32:07 +01:00
Frank Celler
42fb8244e1
added requeue
2014-02-25 12:07:16 +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
865b70862e
some minor adjustments for arangodump and arangorestore
2013-12-13 11:54:00 +01:00
Jan Steemann
f69ae8f2a9
do not access shaper but use memory zone variable
2013-11-08 13:42:16 +01:00
Jan Steemann
4f50b98c45
removed second logger implementation
2013-10-30 00:38:25 +01:00
Jan Steemann
02736666b1
fixed small memleak
2013-10-29 11:10:13 +01:00
Jan Steemann
54c7386d6c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-10-17 11:12:10 +02:00
Jan Steemann
d71ee7ff6f
fixed issue #615
2013-10-17 11:12:02 +02:00
Jan Steemann
21d25d0ccc
removed resourceholder
2013-10-17 10:43:07 +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
b8318609e2
updated arangorestore
2013-10-10 16:58:21 +02:00
Jan Steemann
6a353a4c38
resolve collection names on reimport
2013-10-10 12:33:27 +02:00
Jan Steemann
13b51eb849
use batches in arangodump
2013-10-10 09:08:02 +02:00
Jan Steemann
0c15f387ae
added collection id translation for dumps
2013-10-09 13:46:12 +02:00
Jan Steemann
e5bde25f3b
make source database name configurable for replication applier
2013-10-01 17:36:30 +02:00
Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +02:00
Jan Steemann
ed163164c4
fixed queue naming
2013-09-20 13:17:32 +02:00
Jan Steemann
3a6cabfe44
creating/dropping
2013-09-11 17:16:43 +02:00
Jan Steemann
fde7793137
refactored database options
2013-09-11 13:22:52 +02:00
Jan Steemann
42441b208f
refactoring of multiple databases, intermediate commit
2013-09-11 11:42:34 +02:00
Jan Steemann
c6c4c70333
activated arangodump and arangorestore
2013-09-06 00:54:58 +02:00
Jan Steemann
1af5aa6b45
block compaction & datafile removal while dumping
2013-08-30 17:25:09 +02:00
Jan Steemann
6c64a35895
restore client, unfinished
2013-08-30 01:14:21 +02:00
Jan Steemann
a42be561fd
added includeSystem URL parameter
2013-08-29 21:15:47 +02:00
Jan Steemann
e72c6ab20c
fixed a memleak in /_api/replication/dump
2013-08-29 11:46:33 +02:00
Jan Steemann
7cb6b7d922
simplified build.h stuff
2013-08-28 19:57:07 +02:00
Jan Steemann
b94ee1042c
cppcheck
2013-08-27 16:13:44 +02:00
Jan Steemann
1fc1bb108d
added replication client tests
2013-08-02 11:45:55 +02:00
Jan Steemann
e86fff18e2
added chunkSize for replication-applier
2013-08-02 11:03:54 +02:00
Jan Steemann
9b6b6e669d
added `totalEvents` for logger
2013-08-02 10:11:13 +02:00
Jan Steemann
8fb5f6bc32
lol swagger
2013-08-01 19:03:18 +02:00
Jan Steemann
df7a0af4ce
swag...
2013-08-01 18:46:06 +02:00
Jan Steemann
38d8b0b598
adjusted tests and docs
2013-08-01 18:41:13 +02:00
Jan Steemann
a7c5350455
added server-id method
2013-08-01 18:27:42 +02:00
Jan Steemann
11eece3f6f
decreased memory usage
2013-08-01 17:02:31 +02:00
Jan Steemann
f1418ec667
updated tests and docs
2013-08-01 16:53:29 +02:00
Jan Steemann
949c194653
updated replication configuration
2013-08-01 15:50:30 +02:00
Jan Steemann
11964f5720
display lastAvailableTick, fix cont. replication
2013-07-31 17:53:16 +02:00
Jan Steemann
48fbdb1b6a
cap constraint for replication logger
2013-07-31 16:56:56 +02:00
Jan Steemann
05a7f79941
re-configuration of logger, cap constraint
2013-07-31 14:39:33 +02:00
Jan Steemann
2368adf250
updated documentation
2013-07-31 10:10:34 +02:00
Jan Steemann
936fb6c6a6
better progress reports for replication applier
2013-07-31 10:01:56 +02:00
Jan Steemann
78601319fb
updated replication API
2013-07-30 18:40:35 +02:00
Jan Steemann
461001efd2
split of initial and continuous sync, currently not working
2013-07-30 14:13:49 +02:00
Jan Steemann
002ebd48bc
removed all replication conditionals
2013-07-30 13:16:37 +02:00
Jan Steemann
6b5900e8e0
updated replication api
2013-07-30 09:54:39 +02:00
Jan Steemann
9de2910717
updated replication documentation
2013-07-25 16:32:11 +02:00
Jan Steemann
051e898a8a
updated replication documentation
2013-07-25 14:13:53 +02:00
Jan Steemann
8a254ea230
replication API documentation
2013-07-24 17:37:16 +02:00
Jan Steemann
39195af4c5
easier generation of swagger API docs
2013-07-24 15:24:27 +02:00
Jan Steemann
4f14062d10
replication tests
2013-07-24 15:22:45 +02:00
Jan Steemann
0adbe8410f
log "rev"
2013-07-23 18:00:29 +02:00
Jan Steemann
47c8b7bfc8
fixed leaks
2013-07-23 15:37:12 +02:00
Jan Steemann
5fe1844ee1
replication tests
2013-07-23 15:03:59 +02:00
Jan Steemann
f49ae77bc5
include replication tests
2013-07-23 11:19:41 +02:00
Jan Steemann
539954894f
log last access time of clients
2013-07-22 18:13:21 +02:00
Jan Steemann
c4f82088dd
replication tests
2013-07-22 18:12:56 +02:00
Jan Steemann
08b9f57166
stoppable replication applier
2013-07-17 10:58:10 +02:00
Jan Steemann
dcd8b63db3
added configuration
2013-07-12 15:40:18 +02:00
Jan Steemann
0266e2339a
replication apply state tracking
2013-07-12 15:06:52 +02:00
Jan Steemann
1f564ef6ae
linkage between C and C++
2013-07-11 17:50:48 +02:00
Jan Steemann
98dd1c2522
moved replication parts into separate files
2013-07-11 14:44:09 +02:00
Jan Steemann
7ef7ad297f
added TRI_StealStringBuffer()
2013-07-10 12:02:42 +02:00
Jan Steemann
a7c1ee0191
less lock
2013-07-09 13:36:38 +02:00
Jan Steemann
9fa91447ce
renamed attributes
2013-07-09 12:58:10 +02:00
Jan Steemann
ca94bf3f39
replication
2013-07-09 11:15:58 +02:00
Jan Steemann
48d851bb7b
log dump
2013-07-08 16:33:47 +02:00
Jan Steemann
dfd9117fd1
some cleanup, initial implementation of log dump
2013-07-08 12:27:20 +02:00
Jan Steemann
ebb121b44a
sync all collection markers
2013-07-05 13:59:48 +02:00
Jan Steemann
10327f0870
initial code for collection data dump
2013-07-04 16:55:46 +02:00
Jan Steemann
a0c1308edb
initial synching of collections
2013-07-04 15:53:51 +02:00
Jan Steemann
f5968a4646
handle a master's state response
2013-07-04 10:13:09 +02:00
Jan Steemann
7967936f67
added server id to output
2013-07-03 15:42:34 +02:00