Jan Steemann
a0cb3b1832
replication changes
2016-02-05 18:06:39 +01:00
Jan Steemann
1e7b43b3df
make initial synchronization fail when master is restarted in the middle and no progress can be made
2016-02-05 14:00:49 +01:00
Jan Steemann
071d36c203
replication cleanup
2016-02-05 13:28:38 +01:00
Jan Steemann
abd382bf19
replication cleanup
2016-02-05 13:08:12 +01:00
Jan Steemann
d63fa1ad81
use dedicated REPLICATION log channel
2016-02-05 11:01:39 +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
93400bfdcc
Implement followerInfo.
2016-02-01 11:38:10 +01:00
jsteemann
b635983d9c
removed unused functions and headers
2016-01-31 19:08:39 +01:00
jsteemann
ae25d2b53b
removed `using namespace std`
2016-01-31 18:22:00 +01:00
jsteemann
2d7323a560
fixed warnings shown by clang-3.7
2016-01-31 02:17:36 +01:00
jsteemann
9482ee1cca
use Logger
2016-01-30 00:08:35 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Jan Steemann
58a5920aa5
another log message
2016-01-28 13:31:43 +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
a6f58ce14d
Use forward declarations for VelocyPack instead of all includes everywhere
2016-01-24 14:29:31 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
Michael Hackstein
45567db7ef
Removed last reference to FromJsonIndex in Syncer. On the fly reduced usage of TRI_json_t.
2016-01-13 13:06:38 +01:00
Jan Steemann
687d6133f0
comments reformatting
2016-01-11 09:52:39 +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
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
Max Neunhoeffer
225c8cd843
Work on TODOs.
2015-12-22 16:50:09 +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
164741f144
improved diagnostic message
2015-12-16 19:52:31 +01:00
Jan Steemann
6ee9a6f90e
replication fixes
2015-12-16 19:52:01 +01:00
Michael Hackstein
f9f7c02772
Simple adoptions to VocbaseCollectionInfo class
2015-12-16 18:53:20 +01:00
Michael Hackstein
f5bd11bda5
Adapted replication to class version of TRI_col_info_t
2015-12-16 11:42:39 +01:00
Jan Steemann
a694b7ef48
make_unique
2015-12-16 11:36:35 +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
febd72e634
TRI_replication_applier_configuraiton_t is now a class no struct. Fixed headers
2015-12-09 15:24:41 +01:00
Michael Hackstein
44b806418f
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-12-09 10:28:16 +01:00
Jan Steemann
76d5f57af0
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-08 18:23:06 +01:00
Michael Hackstein
6e23d46c65
Moved struct TRI_vocbase_col_t to a class. It now has functions to dump to VelocyPack
2015-12-08 10:30:40 +01:00
Jan Steemann
517f20b9a2
flushWait
2015-12-07 18:28:37 +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
b13284a0c3
replication improvements
2015-11-27 16:16:31 +01:00
Jan Steemann
bd8b70455a
replication improvements
2015-11-27 16:16:15 +01:00
Jan Steemann
19b2d28167
pass transaction to index APIs
2015-11-25 14:42:29 +01:00
Jan Steemann
75e4e6e815
added transaction to all signatures
2015-11-24 17:34:23 +01:00
Jan Steemann
a5be448a6d
more diagnostic output for replication progress
2015-11-05 15:16:24 +01:00
Jan Steemann
2a7430e5e8
minor fixes for replication
2015-11-05 12:51:19 +01:00
Jan Steemann
9d74b48b94
fixed "no start tick" issue in replication applier
...
This error could occur after restarting a slave server after a shutdown
when no data was ever transferred from the master to the slave via the
continuous replication
2015-11-04 11:10:52 +01:00
jsteemann
058fec96f6
removed some dependencies
2015-10-23 00:15:07 +02:00
Jan Steemann
fbdeb5ef5f
make 2.7 replication compatible with 2.6
2015-10-02 12:55:15 +02:00
Jan Steemann
10edae06b4
cppcheck
2015-09-17 18:25:55 +02:00
Jan Steemann
907d98f3dd
fixes for sync
2015-09-16 16:10:56 +02:00
Jan Steemann
693aa03d51
move pointer forward
2015-09-16 13:47:40 +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
d7a3b51e1b
additional sync method
2015-09-11 17:13:31 +02:00
Jan Steemann
b0a924c5a8
sync
2015-09-11 11:56:38 +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
a3ee707f6f
less creations of empty headers maps
2015-08-30 22:11:18 +02:00
Jan Steemann
242c706844
use unique_ptr
2015-08-25 19:22:57 +02:00
Jan Steemann
1af238a6d5
added tests for requireFromIncluded
2015-08-25 12:50:58 +02:00
Jan Steemann
03fa10dad8
less initial syncing when resuming replication
2015-08-24 17:39:11 +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
4e595fda13
simplifications
2015-08-19 17:18:05 +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
7a366c605d
small refactoring
2015-08-18 14:24:19 +02:00
Jan Steemann
05c9005fcc
small refactoring for replication applier functions
2015-08-18 14:13:26 +02:00
Jan Steemann
3c14a44c1b
simpler parsing of replication input
2015-08-18 13:33:51 +02:00
Jan Steemann
4e771b2728
replication improvements
2015-08-17 18:41:05 +02:00
Jan Steemann
5d82f0b385
some cleanup
2015-08-07 15:16:33 +02:00
Jan Steemann
f89af3f6f4
adjusted tests for indexBuckets
2015-08-04 14:02:04 +02:00
Jan Steemann
6d7ccd7699
move shaper to cxx
2015-07-28 17:38:31 +02:00
Jan Steemann
e8205e5dc0
use new and delete for TRI_server_t
2015-07-21 11:57:04 +02:00
Jan Steemann
4d0872f2b9
more cxx
2015-07-20 18:42:02 +02:00
Jan Steemann
124fe7a34c
use new/delete for TRI_vocbase_t
2015-07-20 12:08:13 +02:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +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
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Max Neunhoeffer
45cecf44f9
Initialise a few variables to please gcc.
2014-12-16 10:48:07 +01:00
Jan Steemann
d9a945e33a
include or exclude system collections from replication
2014-12-05 14:58:43 +01:00
Jan Steemann
8c2ca1ee48
include collection name in replication output
2014-11-24 12:55:35 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
dcb9427b6f
rewrote transaction contexts
2014-10-16 15:53:28 +02:00
Jan Steemann
64f5b22e4f
changed interface for locking
2014-09-19 12:45:29 +02:00
Jan Steemann
1fff0ecac2
optimization for recovery of collections that are going to be dropped anyway
2014-09-18 18:20:56 +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
Max Neunhoeffer
37210e2598
Fix replication bug (no collection lock for single document transactions).
2014-07-16 13:03:06 +02:00
Jan Steemann
28965618d1
handle renaming of collections
2014-07-02 10:28:43 +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
66ffe61a76
renamed enum values
2014-06-24 17:32:43 +02:00
Jan Steemann
d56719ae4d
simplification of signatures
2014-06-24 00:32:40 +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
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
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
3f6cb4d9ed
fixed update policy
2014-06-06 22:53:59 +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
3e256a8aee
Fix allocation of TRI_doc_mptr_t structs.
2014-06-05 13:14:30 +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
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
ff1dfdd55f
Header cleanup: use #include "Basics/Common.h" in all C++ files.
2014-05-21 15:50:30 +02:00
Jan Steemann
2bc4aa90af
fixed issues found by scan-build
2014-05-15 10:09:06 +02:00
Max Neunhoeffer
df68f47338
Use StringBuffer in SimpleHttpResult rather than stringstream.
2014-05-07 16:35:40 +02:00
Jan Steemann
868c2371ab
unified error messages
2014-04-23 23:35:59 +02:00
Jan Steemann
d3e57c9e3c
issue #826 : Replication fails when a collection's configuration changes
2014-04-22 11:31:01 +02: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
e968d62367
re-use planId
2014-03-05 15:33:49 +01:00
Jan Steemann
be8abb0cc1
allow syncing with 2.0
2014-02-28 22:19:21 +01:00
Jan Steemann
629348d696
properly acquire shape write locks
2014-02-28 18:43: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
8fea8ca1b3
changed write-locks
2013-11-20 01:27:45 +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
Frank Celler
eea1fea806
fixed build number
2013-10-29 12:58:22 +01:00
Frank Celler
ebca4c601e
Merge remote-tracking branch 'origin/devel' into 1.4
2013-10-29 11:18:27 +01:00
Jan Steemann
f7c65c65dd
fixed a warning in Windows
2013-10-29 10:15:19 +01:00
Frank Celler
d33bcdc623
rc1
2013-10-28 17:54:24 +01:00
Jan Steemann
21d25d0ccc
removed resourceholder
2013-10-17 10:43:07 +02:00
Frank Celler
be162a1e35
Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.4
...
Conflicts:
CHANGELOG
Documentation/Manual/NewFeatures14.md
Documentation/Manual/NewFeatures14TOC.md
Documentation/Manual/Upgrading14.md
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
2013-10-14 14:00:29 +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