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
Jan Steemann
b8318609e2
updated arangorestore
2013-10-10 16:58:21 +02:00
Jan Steemann
e89b0d539d
allow specifying database name for replication sync command and replication applier
2013-10-01 17:59:26 +02:00
Jan Steemann
e5bde25f3b
make source database name configurable for replication applier
2013-10-01 17:36:30 +02:00
Frank Celler
ad2d4b9d76
Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.4
...
Conflicts:
VS2012/Arangod Binary/Arangod Binary.vcxproj
VS2012/Arangoimp Binary/Arangoimp Binary.vcxproj
VS2012/Arangosh Binary/Arangosh Binary.vcxproj
arangod/Ahuacatl/ahuacatl-grammar.c
js/actions/api-database.js
js/apps/aardvark/api-docs/edges.json
js/apps/aardvark/api-docs/traversal.json
js/apps/system/aardvark/api-docs/collection.json
js/apps/system/aardvark/api-docs/cursor.json
js/apps/system/aardvark/api-docs/database.json
js/apps/system/aardvark/api-docs/document.json
js/apps/system/aardvark/api-docs/edge.json
js/apps/system/aardvark/api-docs/graph.json
js/apps/system/aardvark/api-docs/index.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
2013-09-30 14:39:59 +02:00
Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +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
ac4ed728c0
renamed collection `_graphs` to `arangodb_graphs`
2013-09-09 11:07:10 +02:00
Frank Celler
055e172bdb
Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.4
...
Conflicts:
arangod/Replication/Syncer.cpp
arangod/VocBase/index-garbage-collector.c
build_posix.h
html/admin/api-docs/traversal.json
js/apps/aardvark/api-docs/collection.json
js/apps/aardvark/api-docs/cursor.json
js/apps/aardvark/api-docs/document.json
js/apps/aardvark/api-docs/edge.json
js/apps/aardvark/api-docs/edges.json
js/apps/aardvark/api-docs/graph.json
js/apps/aardvark/api-docs/index.json
js/apps/aardvark/api-docs/replication.json
js/apps/aardvark/api-docs/simple.json
js/apps/aardvark/api-docs/system.json
2013-09-05 13:03:07 +02:00
Jan Steemann
369433f1e2
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangosh/Benchmark/BenchmarkThread.h
lib/SimpleHttpClient/SimpleHttpClient.cpp
2013-09-05 12:34:45 +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
e72c6ab20c
fixed a memleak in /_api/replication/dump
2013-08-29 11:46:33 +02:00
Jan Steemann
3871fb7af3
improved error messages
2013-08-20 11:48:08 +02:00
Jan Steemann
52b494e10f
show dbname in error messages
2013-08-20 09:43:19 +02:00
Jan Steemann
f2c840e8b0
allow compatibility with 1.4 only
2013-08-02 16:32:11 +02:00
Jan Steemann
9274bbef3e
compatibility with 1.4 and higher
2013-08-02 16:31:24 +02:00
Jan Steemann
333017e59d
don't complain if collection is not present
2013-08-02 15:32:35 +02:00
Jan Steemann
5f1bfcf9cd
documentation for replication
2013-08-02 15:28:30 +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
11964f5720
display lastAvailableTick, fix cont. replication
2013-07-31 17:53:16 +02:00
Jan Steemann
6503cbda6b
fixed invalid URL call
2013-07-31 16:47:54 +02:00
Jan Steemann
713db4daba
changed wording
2013-07-31 15:00:23 +02:00
Jan Steemann
05a7f79941
re-configuration of logger, cap constraint
2013-07-31 14:39:33 +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
d8537c514a
fixed VS issue
2013-07-30 14:47:48 +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
4f14062d10
replication tests
2013-07-24 15:22:45 +02:00
Jan Steemann
33f1bd87dd
renaming
2013-07-23 18:32:26 +02:00
Jan Steemann
0adbe8410f
log "rev"
2013-07-23 18:00:29 +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
f193015b5f
fixed assertion
2013-07-23 10:01:20 +02:00
Jan Steemann
951f104f0e
client id logging
2013-07-22 18:42:54 +02:00
Jan Steemann
5de07a7d67
track client ids
2013-07-22 18:22:16 +02:00
Jan Steemann
c4f82088dd
replication tests
2013-07-22 18:12:56 +02:00
Jan Steemann
781514f78d
added timestamps
2013-07-17 14:06:40 +02:00
Jan Steemann
08b9f57166
stoppable replication applier
2013-07-17 10:58:10 +02:00
Oreste Panaia
7ae004895f
enum name change due to conflict on windows
2013-07-16 16:16:07 +08:00
Jan Steemann
b5e26235a7
replication configuration
2013-07-12 17:37:24 +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
29385b0b4a
continuously save apply state
2013-07-10 17:29:17 +02:00
Jan Steemann
ca6b184286
added TRI_JSON_STRING_REFERENCE
2013-07-10 17:00:29 +02:00
Jan Steemann
25a8ab6c59
handle transactions
2013-07-09 18:36:23 +02:00
Jan Steemann
c87eac71fd
intermediate commit
2013-07-09 18:25:20 +02:00
Jan Steemann
c5e693c814
create/drop collections/indexes
2013-07-09 16:41:46 +02:00
Jan Steemann
304d6dc3ab
change type to number
2013-07-09 14:37:38 +02:00
Jan Steemann
9fa91447ce
renamed attributes
2013-07-09 12:58:10 +02:00
Jan Steemann
1f30c592f3
follow logs
2013-07-09 11:16:17 +02:00
Jan Steemann
72c4d319cc
incremental fetching, doing nothing
2013-07-08 17:21:05 +02:00
Jan Steemann
48d851bb7b
log dump
2013-07-08 16:33:47 +02:00
Jan Steemann
3f73009410
add indexes after data xfer
2013-07-05 17:57:33 +02:00
Jan Steemann
d79d95a3a7
moved attribute names to defines
2013-07-05 14:41:23 +02:00
Jan Steemann
ebb121b44a
sync all collection markers
2013-07-05 13:59:48 +02:00
Jan Steemann
a07d2ea011
replication
2013-07-05 12:12:38 +02:00
Jan Steemann
054ed3ca3f
apply collection data dumps
2013-07-05 11:41:37 +02:00
Jan Steemann
a33dcede42
data synchronisation
2013-07-04 17:56:54 +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
8b8cd1fc74
stubs
2013-07-03 17:47:37 +02:00
Jan Steemann
a2e7cc1043
added stub for ReplicationFetcher
2013-07-03 16:44:13 +02:00