1
0
Fork 0
Commit Graph

196 Commits

Author SHA1 Message Date
Alan Plum bb6ffd70de
Cluster: expose body as V8 buffer in asyncRequest 2017-04-03 22:20:37 +02:00
Alan Plum a5a3542280
Cluster: expose getFoxxmaster in V8 2017-04-03 22:20:37 +02:00
jsteemann 645889949c move engine-specific V8 functions into storage engine 2017-03-09 12:59:44 +01:00
Michael Hackstein 86c34d1b88 ClusterInfo now uses the general toVPack function of LogicalCollection instead of building everything locally. 2017-02-28 17:05:30 +01:00
Michael Hackstein de31c68539 Moved isVolatile into MMfiles collection. 2017-02-23 14:56:54 +01:00
Jan Christoph Uhde 071137adf6 move doCompact into PhysicalColletion 2017-02-20 10:53:11 +01:00
Jan Christoph Uhde 2d5e74f7f6 move journaize() to PhysicalCollection
MMFilesCollection ctor might be buggy
2017-02-17 20:06:47 +01:00
Andreas Streichardt 39436dac89 Finally remove lock methods 2017-02-10 19:47:31 +01:00
Max Neunhoeffer 883c11ea45 Handle the case that ClusterComm is already shut down gracefully.
This touches every single place where ClusterComm is being used.
2017-02-07 15:31:40 +01:00
Max Neunhoeffer 71dae630c3 Store ClusterComm singleton in shared_ptr. 2017-02-06 15:25:18 +01:00
Max Neunhoeffer 20e2128a44 Fix shardDistribution in case of leader change. 2017-02-06 09:45:00 +01:00
Frank Celler 37805f6bc9 safety check 2017-02-04 13:08:13 +01:00
Frank Celler 602795deea safety check 2017-02-04 13:08:08 +01:00
Kaveh Vahedipour 8509200040 MoveShard with ShortNames 2017-01-26 11:35:44 +01:00
Andreas Streichardt b56621a01b First current tests 2017-01-23 15:29:25 +01:00
Kaveh Vahedipour fe48bcb982 fixed for short names in frontend shard view 2017-01-11 16:31:19 +01:00
Andreas Streichardt 466f932701 First steps to low level replication debugging 2017-01-06 17:19:07 +01:00
Kaveh Vahedipour a0af781630 to lock or not to lock 2017-01-06 14:46:57 +01:00
Kaveh Vahedipour 4ac74301d5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-06 11:10:36 +01:00
Andreas Streichardt dafb5d0724 Allow setInitialized within DEBUG_SYNC_REPL mode 2017-01-06 10:44:35 +01:00
Kaveh Vahedipour e87182d971 more verbose output on failure to create plan 2017-01-06 09:38:37 +01:00
jsteemann 0070b40fbf attempt to fix Windows build 2017-01-04 09:08:13 +01:00
Kaveh Vahedipour f66688c397 visual studio ridiculous once again 2017-01-03 17:45:57 +01:00
Kaveh Vahedipour 9d5a5537ce remove deceased agents from AgencyComm 2017-01-02 17:12:00 +01:00
Kaveh Vahedipour a2ee40d4f3 restarting agents inform rest of their new endpoints 2017-01-02 15:58:38 +01:00
Kaveh Vahedipour 4928358e04 removing trace of agency locks part 1 2016-12-30 11:21:11 +01:00
Kaveh Vahedipour ff701ff57c getting rid of locks in cluster.js 2016-12-29 15:03:09 +01:00
Kaveh Vahedipour e9f465d13b read/write/transact interface lifted up to js 2016-12-28 15:37:05 +01:00
jsteemann f0a4d69b69 use bulk allocator for index elements 2016-12-09 21:40:49 +01:00
Frank Celler e4ba82e8e9 rewrite of AgencyComm 2016-10-23 00:46:30 +02:00
Frank Celler 959797c54f moved to Agency 2016-10-23 00:46:30 +02:00
Michael Hackstein 4fac851560 Added some better handling of SmartEdgeCollections in simpleQueries. 2016-10-19 15:19:33 +02:00
Andreas Streichardt 1318fa313b Implement cluster authentication 2016-10-17 13:35:55 +02:00
Max Neunhoeffer 82e548ff8b Change setup of getResponsibleShard w.r.t. collection. 2016-10-07 21:05:18 +02:00
jsteemann 9611f30796 Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types 2016-09-07 11:44:49 +02:00
Kaveh Vahedipour a37d073813 a candidate of a leader could ask a strarting up agent for a vote before it having a vocbase. 2016-09-07 11:02:15 +02:00
jsteemann ffa00e26a0 some index cleanup 2016-09-06 10:49:40 +02:00
Michael Hackstein 3c851f8687 Added proper error handling for collection not found in V8 2016-09-01 17:42:27 +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 d3654d99d8 finish RequestType enum 2016-08-23 14:49:29 +02:00
Mark 3bd5c27c0c changes for Visual Studio 2016-08-19 17:22:57 +02:00
Michael Hackstein efce89e3f4 Fixed database/collection lookup in cluster. It did not get the correct vocbase when using a Database other than _system 2016-08-18 17:39:25 +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 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
Michael Hackstein 7b328d39e9 Merge branch 'devel' of github.com:arangodb/arangodb into engine-vs-velocystream 2016-08-11 12:41:08 +02:00
Andreas Streichardt 87c8c0033a Improve clusterawareness in foxx and foxx queues 2016-08-10 12:26:24 +02:00
Jan Christoph Uhde 53b08d018b Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into obi-velocystream
* 'engine-vs-velocystream' of github.com:arangodb/arangodb: (34 commits)
  some fixes
  integrated agency bugfix from 3.0
  integrated agency bugfix from 3.0
  Add tokens so we can enable the uid during the build.
  Add missing body parameter descriptin. Thanks to @janavolkova9 for pointing this out.
  Fix the representation of the post bodys; thanks to @janavolkova9 for pointing out.
  just in case someone changes the epoch
  added a panic interrupt of memory gets low
  fixed epoch computation
  Fix switch warning
  entirely removed TRI_document_collection_t
  Fix a bug in <coll>.replace() with isRestore and _rev.
  refactoring
  Style cleanup for the docker mesos cluster.
  BOLD
  Polish docs
  Fix foxx issues in cluster
  Add technical details about UDFs in clusters
  moved functionality into TRI_collection_t
  Fix bug in synchronous replication.
  ...
2016-08-02 13:50:44 +02:00
Jan Christoph Uhde 25226b1459 add: header() / headers() implemented for VppRequest 2016-08-02 11:36:06 +02:00
jsteemann 80f1a7aaee Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-29 17:16:20 +02:00