jsteemann
1018bad5c3
removed many unnecessary try...catch blocks
2016-09-06 13:27:17 +02:00
Jan Christoph Uhde
4c473753b7
begin to fix RestReplicationHandler
2016-09-05 16:39:42 +02:00
jsteemann
df808cd665
Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-05 11:51:09 +02:00
jsteemann
1823cff3a9
removed TRI_collection_t
2016-09-02 14:54:13 +02:00
jsteemann
5524b25800
removed VocbaseCollectionInfo
2016-09-02 09:41:36 +02:00
Michael Hackstein
3c851f8687
Added proper error handling for collection not found in V8
2016-09-01 17:42:27 +02:00
jsteemann
397cff4417
fix compile warning
2016-09-01 16:15:33 +02:00
Jan Christoph Uhde
ee10949dcf
fix cursor test for vpp
2016-09-01 12:12:28 +02:00
Jan Christoph Uhde
5092c08e6d
fix requests where nobody is available
2016-09-01 11:28:46 +02:00
jsteemann
a04934ce50
Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into generic-col-types
2016-08-31 09:25:09 +02:00
jsteemann
1bc8ce1060
Merge branch 'generic-col-types' of https://github.com/arangodb/arangodb into generic-col-types
2016-08-30 16:28:11 +02:00
Michael Hackstein
8bced11a07
Potential assertion fix on planId
2016-08-30 16:27:54 +02:00
jsteemann
7223179b7f
Merge branch 'generic-col-types' of https://github.com/arangodb/arangodb into generic-col-types
2016-08-30 16:07:44 +02:00
jsteemann
9b94287fb7
unify id handling?
2016-08-30 16:07:35 +02:00
Michael Hackstein
277953489c
Fixed now false checks on planId == 0 for SingleServer case. This is not true any more
2016-08-30 15:37:26 +02:00
jsteemann
2134afaa83
renamed method
2016-08-30 10:36:34 +02:00
Michael Hackstein
82edb8707a
Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types
2016-08-30 10:12:36 +02:00
Michael Hackstein
7cf7b89c6d
Removed more usage of VocbaseCollectionInfo and replaced it by LogicalCollection. It's getting better now. State still not green.
2016-08-29 18:44:34 +02:00
Michael Hackstein
e444332def
Removed all references to _info in TRI_collection_t. This commit does not start. Constructor is broken.
2016-08-29 10:44:31 +02:00
jsteemann
e8c8f286cb
cleanup
2016-08-29 08:53:23 +02:00
Michael Hackstein
b01a7ac0d5
Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types
2016-08-26 08:02:54 +02:00
jsteemann
396ab41736
allow dropping system collections in some rare cases
2016-08-25 12:47:06 +02:00
jsteemann
3469b63449
fixed a replication test
2016-08-25 11:29:47 +02:00
Michael Hackstein
1f3dabc8e1
Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types
2016-08-25 11:08:39 +02:00
Michael Hackstein
2af30f056d
Moved index creation to use LogicalCollection instead of TRI_collection_t. Involved changes of the constructor, all can now be created using iid and Slice. Removed specialized functions to create/find indixes in v8-voc index. Also the iteration is modified. This commit compiles but tests will fail. Merge commit.
2016-08-25 09:57:36 +02:00
Jan Christoph Uhde
1febeadfd7
finish ResponseCode enum
2016-08-23 15:46:42 +02:00
Jan Christoph Uhde
4873a9be71
finish ContentType enum
2016-08-23 15:02:55 +02:00
Jan Christoph Uhde
d3654d99d8
finish RequestType enum
2016-08-23 14:49:29 +02:00
Jan Christoph Uhde
e1e7e2da0b
Merge remote-tracking branch 'origin/engine-vs-velocystream' into obi-velocystream-merge
...
* origin/engine-vs-velocystream: (91 commits)
removed useless include
removed JsonParser
removed JsonHelper
Fixed another failed nullptr handling in LogicalCollection cluster case.
Fixed undefined behaviour in rest error creation
Implemented updated of LogicalCollectionInfo. Right now this is only used in Cluster Mode
agency startup changed to bootstrapping
Mention howto control core files on linux.
shutdown fixed
Removed create / drop system collection from Cluster test. This is forbidden now
The logical colleciton now knows it's journalSize
Fixed a bug in collectionNameResolver. It now returns cid 0 for not found collections in cluster again.
pushing corrected unittest script and cluster startup scripts
adjusting startup scripts
missing source file added
we have a bootstrapping agency
votes are processed correctly again
Add module.context.createDocumentationRouter
Don't implicitely build the windows packages.
remove debug print
...
Conflicts:
arangod/Cluster/ClusterComm.cpp
arangod/GeneralServer/VppCommTask.h
arangod/RestHandler/RestBaseHandler.cpp
lib/Rest/VppRequest.h
2016-08-19 14:35:05 +02:00
Jan Christoph Uhde
3a9867f86d
merge with frank
2016-08-19 10:00:43 +02:00
Frank Celler
aed99f6b53
fixed ownership of handler
2016-08-18 23:06:36 +02:00
Michael Hackstein
17a6da8afb
Removed all references on TRI_vocbase_col_t and replaced them by LogicalCollection class. Not everything is properly moved and implemetned yet. This commit causes crashes.
2016-08-17 11:10:39 +02:00
Michael Hackstein
14e0411a87
Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types
2016-08-16 10:29:26 +02:00
jsteemann
680042b062
moved compaction info into StorageEngine
2016-08-15 18:35:22 +02:00
Michael Hackstein
94ca36fdb2
Removed cluster-wide CollectionInfo and replaced it with a logical collection. The Logical collection shall be always available, in cluster and single server.
2016-08-15 09:08:24 +02:00
jsteemann
95ac01313b
privatization
2016-08-04 17:06:51 +02:00
jsteemann
9677210e57
refactoring
2016-08-02 15:00:25 +02:00
jsteemann
3664511e36
privatize vocbase methods
2016-08-02 13:49:22 +02:00
jsteemann
d92f15aeed
entirely removed TRI_document_collection_t
2016-07-29 17:48:51 +02:00
jsteemann
59ed0a902c
refactoring
2016-07-29 17:07:16 +02:00
jsteemann
ebaabdb076
Merge branch 'obi-velocystream-4' of https://github.com/arangodb/arangodb into engine-vs-velocystream
2016-07-28 16:11:26 +02:00
jsteemann
329b733090
moved dropCollection into TRI_vocbase_t
2016-07-28 13:14:12 +02:00
jsteemann
b3bdd3a66a
more refactoring
2016-07-28 11:47:20 +02:00
jsteemann
b71e12f6a0
some vocbase refactoring
2016-07-28 11:06:21 +02:00
jsteemann
31407c3561
refactoring
2016-07-27 17:15:52 +02:00
jsteemann
89e0c11b44
refactoring
2016-07-26 16:25:38 +02:00
jsteemann
df4daf4122
CleanupThread is now derived from Thread
2016-07-26 12:54:08 +02:00
jsteemann
2aa2e0dab4
removed server.h
2016-07-25 16:49:52 +02:00
Jan Christoph Uhde
da81c32539
remove body() method from GeneralRequest
2016-07-25 16:46:53 +02:00
jsteemann
431262cc19
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-07-21 16:42:47 +02:00
Jan Christoph Uhde
5edaf0043a
preparations for velocystream completed
2016-07-21 09:32:00 +02:00
jsteemann
2b4c3707e3
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-07-20 13:22:29 +02:00
Jan Christoph Uhde
06bd01695a
removed: body() from GeneralRequest
2016-07-19 09:16:07 +02:00
jsteemann
2dab54a751
removed a define
2016-07-18 17:15:41 +02:00
jsteemann
f373a2c327
removed TRI_vocbase_defaults_t
2016-07-18 16:55:25 +02:00
jsteemann
807f287868
moved server id detection and pagesize detection into their own features
2016-07-18 14:37:12 +02:00
Jan Christoph Uhde
a0dca93e65
complete: adding toVelocyPack() function that returns slice instead of builder
2016-07-16 21:33:03 +02:00
Jan Christoph Uhde
beae8a8f74
first changes for set/get payload methods ->
...
toVelocyPack now returns slices
2016-07-15 16:38:13 +02:00
Jan Christoph Uhde
682cf7a2f1
virtualize functions of request/response
2016-07-14 08:40:05 +02:00
Jan Christoph Uhde
ff49d7b0b4
Merge remote-tracking branch 'origin/devel' into obi-merge-restserver-next
...
* origin/devel: (105 commits)
Fixed failure tests in SkiplistIndex
Fixed a bug with reset of new skiplist index iterator
whitespace removal
micro optimization for key generator key tracking
GraphQL! Hype! 🎉
explicit
remove unused variable
explicit
Fix VS complaints
complaints
complaints
updated CHANGELOG
fixed issue #1937
Modified the SkiplistIndex lookup s.t. it does not build one large VPackBuilder containing all combinations of search values, but instead has an option to rewrite it in-place and just has to maintain the intervals.
ignore revision ids
fix destructuring of Externals in MERGE
make it code.
ignore primary and edge indexes during cluster restore
grunt build [ci skip]
semist.
...
2016-07-13 07:33:13 +00:00
jsteemann
76f55d84bc
remove unused variable
2016-07-12 16:56:48 +02:00
Jan Steemann
233453bb42
ignore primary and edge indexes during cluster restore
2016-07-12 10:18:12 +02:00
Max Neunhoeffer
869a820275
Use babies in handler for arangorestore.
...
This fixes bad performance and corresponding errors due to timeouts
in the cluster case with synchronous replication in the restored
collections.
2016-07-11 23:37:38 +02:00
Jan Christoph Uhde
b2e29c4353
fix: createResponse -> setResponseCode; remove delete
...
remove delete _response in RestEdgesHandler
2016-07-07 08:54:41 +00:00
Jan Steemann
617a833040
handle "isSystem" somewhat smarter
2016-07-06 10:23:37 +02:00
Jan Christoph Uhde
4aa7222d98
Merge remote-tracking branch 'origin/devel' into FHM
...
* origin/devel:
Start adding a hybrid logical clock.
Handle replicationFactor and numberOfShards in arangorestore.
upgrade script for homebrew
Fix namespace stuff for VC++
Use standard GNU install dirs
2016-07-05 08:09:08 +02:00
Max Neunhoeffer
b7e957664f
Handle replicationFactor and numberOfShards in arangorestore.
...
This adds an option --default-replication-factor to arangorestore and
makes it more convenient to specify the number of shards for restored
collections.
2016-07-05 00:10:20 +02:00
Frank Celler
38a55ed13c
Merge branch 'devel' of github.com:arangodb/arangodb into FMH
2016-07-04 17:09:40 +02:00
Kaveh Vahedipour
1a8636c34c
removing more locks from cluster-agency communication
2016-06-23 11:14:21 +02:00
Max Neunhoeffer
1f926fc24b
Fix synchronous replication: use shard name instead of ID.
...
Explanation: Different replicas of the same shard will have different
local collection IDs. Therefore we have to use the shard name
(collection name) to indentify collections in synchronous replication.
2016-06-13 13:54:32 +02:00
Max Neunhoeffer
659a06765d
Let a follower unfollow a leader.
2016-06-08 10:00:19 +02:00
Max Neunhoeffer
20ef93d76b
Cleanup of error handling for asyncRequest and syncRequest.
...
I have added a thorough description of events to the comments
in ClusterComm.h. This should enable everybody to do proper
error handling when using ClusterComm::asyncRequest and
ClusterComm::syncRequest.
2016-06-04 23:05:48 -06:00
Jan Steemann
8b1366205a
added 28 compatibility flag for dumping
2016-06-03 12:47:51 +02:00
Max Neunhoeffer
7943e1567c
Add a cast to make Windwos happier.
2016-05-25 15:59:04 +02:00
Frank Celler
3e0930aa16
Merge branch 'devel' of github.com:arangodb/arangodb into FMH
2016-05-24 10:21:18 +02:00
Max Neunhoeffer
611b7f9ee0
Repair resilience for system collections.
...
Plus a lot of synchronous replication bugfixes.
2016-05-23 14:02:01 +02:00
Frank Celler
c441700c20
Merge branch 'devel' of github.com:arangodb/arangodb into FMH
2016-05-22 21:45:40 +02:00
Frank Celler
af0b0900af
WIP
2016-05-22 21:08:37 +02:00
Frank Celler
806fce1dec
WIP
2016-05-21 21:58:42 +02:00
Max Neunhoeffer
fa27587124
Add /_api/replication/holdReadLockCollection for sync. replication.
2016-05-21 01:03:14 +02:00
Max Neunhoeffer
d810641ff3
Add a waitForSync in replication.
2016-05-19 14:04:52 +02:00
jsteemann
0ce8599598
fixes for MSVC
2016-05-10 19:01:21 +02:00
Max Neunhoeffer
39ecd9fd13
Rename prefix and prefixStripped in AgencyComm.
2016-05-10 16:00:07 +02:00
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