1
0
Fork 0
Commit Graph

1130 Commits

Author SHA1 Message Date
Kaveh Vahedipour 1f81ce28b0 merge in cpp & js from 3.1.18 yet to do tests 2017-04-21 15:41:05 +02:00
Jan Christoph Uhde 95007fe28e Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api-arango-result
* 'engine-api' of https://github.com/arangodb/arangodb: (46 commits)
  Merged RocksDBPathBasedIndex into RocksDBVPackIndex.
  fix handling of externals
  fix toArray()
  fix returning documents
  Added hash-, skip list, persistent indexes
  harmonize filtering - filter on full filename.
  mini modifications
  standardize starting of servers for replication tests
  Edge index compliant with design doc
  another fix for #2404
  Moved „removeLargeRange“ method to commons
  Added length byte to IndexValue keys.
  fixed issue #2404
  Added drop to primary index
  Added drop() to indexes
  Fixes a coordinator crash in Clustered Traversal. In case of failover during query planning.
  Fixed edge index
  Expand on CORS documentation
  Let ArangoDB handle the allow-credentials header
  make the authentication tests run on directories
  ...
2017-03-30 19:46:17 +02:00
Jan Christoph Uhde b83ae2ab82 refactor some code to make use of arangodb::Result 2017-03-30 09:39:21 +02:00
Simon Grätzer cd9e9a13cf Path based enumerator 2017-03-29 17:33:02 +02:00
jsteemann 2aa2fd65a4 more startup 2017-03-24 14:20:51 +01:00
jsteemann 8e51e3ba50 fix slow queries 2017-03-22 11:20:07 +01:00
Kaveh Vahedipour a87fb6d71e restructured the leadership takeover 2017-03-17 15:44:58 +01:00
Max Neunhoeffer 428b6aa67f Port thread fixes from 3.1 to devel. 2017-03-16 13:53:40 +01:00
Kaveh Vahedipour 5e01e89e7a oops 2017-03-13 14:53:04 +01:00
Kaveh Vahedipour 870eef2f52 backport of 3.1 bug fixes and resilience improvements 2017-03-13 13:35:19 +01:00
Michael Hackstein 046793815c Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-03-09 16:37:51 +02:00
jsteemann 645889949c move engine-specific V8 functions into storage engine 2017-03-09 12:59:44 +01:00
Michael Hackstein 90b4876d3c Moved WriteMarker code Vocbase => MMFilesEngine. Also removed the decission to write a marker out of Vocbase-API 2017-03-09 11:12:39 +01:00
Kaveh Vahedipour 51b63027fe should not overimplement LoggerStream. allows unified behaviour of std::cout and LOG_TOPIC(.,.) 2017-03-01 11:51:27 +01:00
jsteemann cf5d20ddee Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-28 17:02:42 +01:00
jsteemann b6a265068a fix velocypack-over-HTTP responses 2017-02-28 17:01:59 +01:00
jsteemann a420093f2d Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-27 17:25:51 +01:00
jsteemann 666b2f8da9 renaming 2017-02-27 14:38:27 +01:00
jsteemann ba9283f43f remove logically dead code 2017-02-27 12:02:34 +01:00
jsteemann 0e6df4833f removed unused variable 2017-02-24 17:38:33 +01:00
Kaveh Vahedipour b1299ec3b9 fixes from 3.1.11 in agency/state 2017-02-21 17:44:27 +01:00
Kaveh Vahedipour 4cc830b0df merge from 3.1 2017-02-20 20:05:52 +01:00
jsteemann a743ec4320 Merge branch 'engine-api' of https://github.com/arangodb/arangodb into devel 2017-02-15 16:55:35 +01:00
Andreas Streichardt 8de9941df5 Also remove from includes 2017-02-15 16:18:41 +01:00
Andreas Streichardt c8302bc50d Remove useless methods 2017-02-15 16:16:16 +01:00
Michael Hackstein 71a004492a Merge branch 'devel' of github.com:arangodb/arangodb into engine-api 2017-02-15 14:35:34 +01:00
Andreas Streichardt 43692a97a2 Fixed unused variable 2017-02-15 14:10:44 +01:00
jsteemann e8a9d1347e attempt to fix build with picky compilers 2017-02-15 13:59:03 +01:00
jsteemann df3a3eff9f refactoring 2017-02-15 10:26:05 +01:00
Kaveh Vahedipour 37472ddcdc revisited the appendEntries API 2017-02-14 15:18:07 +01:00
Kaveh Vahedipour 05250b6c7b back port of bug fixes in 3.1 2017-02-14 15:07:51 +01:00
jsteemann b3ac54d065 remove global namespace include 2017-02-13 13:03:33 +01:00
Kaveh Vahedipour 27c35dd782 WFS set 2017-02-13 12:02:33 +01:00
Kaveh Vahedipour 0a03034d15 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-13 10:48:43 +01:00
Kaveh Vahedipour a86ae11d76 fixed wrong logic in FailedLeader job 2017-02-13 10:48:31 +01:00
Max Neunhoeffer c5d79c5a85 Fix Supervision bug in failedFollower. 2017-02-13 09:57:47 +01:00
Max Neunhoeffer dad4f34f7a Fix a wrong log message. 2017-02-10 17:44:18 +01:00
Kaveh Vahedipour 7fbf9fb621 AgencyCallBacks registry and unregistry are more talkative than bool 2017-02-10 17:31:26 +01:00
Kaveh Vahedipour 76e5dec3d7 agent with less traffic 2017-02-10 17:03:15 +01:00
Kaveh Vahedipour dabdb8febb size_t is correct 2017-02-10 13:10:46 +01:00
Kaveh Vahedipour 06c1f70bac Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-10 11:26:03 +01:00
Kaveh Vahedipour 29d73b2e9c sendAppendEntries does resonable estimation of follower time needs leading to less frequent spamming of followers 2017-02-10 11:25:55 +01:00
jsteemann d024a6d00a remove logging for non-topics 2017-02-10 09:32:50 +01:00
Max Neunhoeffer 298b9ffc3b Add AQLFeature. 2017-02-09 11:57:51 +01:00
Kaveh Vahedipour e9651ae65c compaction thread tested and functional 2017-02-08 16:01:15 +01:00
Kaveh Vahedipour 3ee7a8d595 compaction thread tested and functional 2017-02-08 14:18:46 +01:00
Max Neunhoeffer 0a9c235530 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2017-02-07 15:32:30 +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
Andreas Streichardt 8349f56e40 Properly check return valiue 2017-02-07 15:15:56 +01:00
Kaveh Vahedipour a1650d6b76 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-02-07 14:16:33 +01:00
Kaveh Vahedipour b931aa967a new compaction thread for agency 2017-02-07 14:16:22 +01:00
jsteemann d503a4d354 added reactor type 2017-02-07 12:41:41 +01:00
Kaveh Vahedipour 8d66d69f83 supervision handles coordinator demise correctly 2017-02-07 11:29:37 +01:00
Kaveh Vahedipour 9ca79d216a checking agency failures for high catchup data 2017-02-06 15:49:55 +01:00
Kaveh Vahedipour f846c0fd0f backports from 3.1 2017-02-06 09:26:37 +01:00
Kaveh Vahedipour f3cb1307a5 3.1 fixes backported to devel 2017-02-03 10:48:25 +01:00
jsteemann fa917937c4 do not use namespaces in header files 2017-02-01 13:41:31 +01:00
jsteemann 8b62579789 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-31 10:04:56 +01:00
Kaveh Vahedipour b7b8a6cf88 lowering log output in agencycomm 2017-01-31 09:37:47 +01:00
jsteemann 6598828449 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-31 00:33:42 +01:00
jsteemann ba398494d0 make option hidden 2017-01-30 16:01:12 +01:00
jsteemann 1294cf6128 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-30 12:53:19 +01:00
Kaveh Vahedipour 6647fb1c14 no need to udate single host agencies' endpoints 2017-01-30 09:55:34 +01:00
jsteemann 09851cdf75 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-27 16:37:32 +01:00
Kaveh Vahedipour 3f3633bd2c supervision to proper preconditioning of jobs on plan 2017-01-27 15:29:22 +01:00
jsteemann f37a2d8014 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-27 12:11:57 +01:00
Kaveh Vahedipour ab22ffa8ee shard jobs should check for the plan to be the same as expected 2017-01-27 11:27:45 +01:00
jsteemann f0d4770879 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-27 11:16:37 +01:00
Kaveh Vahedipour c803d52f51 startLocalCluster handles port offset so that multiple clusters can be started on same machine 2017-01-27 09:33:42 +01:00
jsteemann 0cb7d416d0 moved transaction collections into their own files 2017-01-26 16:51:57 +01:00
jsteemann df7fee7d32 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-26 16:25:22 +01:00
Kaveh Vahedipour 53a7e2b316 resilienceMove will do more reporting in cleanouts 2017-01-26 16:12:51 +01:00
jsteemann 2709504d74 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-26 15:21:08 +01:00
Kaveh Vahedipour f06fdf9e0f getDBServers response changed for aardvark frontend. needed reflection in resilienceMove tests 2017-01-26 12:37:59 +01:00
Kaveh Vahedipour 2eab5bf5bc proper shutdown procedure in agent 2017-01-26 10:24:23 +01:00
Kaveh Vahedipour 5bccc799a9 proper shutdown procedure in agent 2017-01-26 10:20:38 +01:00
Kaveh Vahedipour 618955369a _sent in AgencyCommResult assigned too late? 2017-01-26 09:40:02 +01:00
Kaveh Vahedipour 6ec875bf92 _sent in AgencyCommResult assigned too late? 2017-01-26 09:34:58 +01:00
jsteemann 6df6c874fd Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-01-25 16:31:21 +01:00
Kaveh Vahedipour d4a3dac65a Agent handles beginShutdown of inception fully 2017-01-25 14:09:34 +01:00
jsteemann 00b1632ece factored out AccessMode from transaction.h 2017-01-25 11:57:21 +01:00
Max Neunhoeffer 27e975c016 Let AgencyComm timeout early, if server is already stopping. 2017-01-24 14:43:17 +01:00
Kaveh Vahedipour 3a034f5817 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-24 12:52:35 +01:00
Kaveh Vahedipour c4bff477a6 wrong persistence of status 2017-01-24 12:52:31 +01:00
Max Neunhoeffer e11c7c96c1 Please static analyis. 2017-01-24 12:30:07 +01:00
Kaveh Vahedipour 344bcd8ea6 AgencyComm evaluates fully sent requests properly. 2017-01-24 09:17:15 +01:00
Kaveh Vahedipour f45d775106 AgencyComm evaluates fully sent requests properly. 2017-01-24 09:14:28 +01:00
Kaveh Vahedipour 95a165d5f4 inquiring about 503 and 0 2017-01-23 16:35:50 +01:00
Kaveh Vahedipour 8d70132c9d handling agency comm failures 2017-01-23 11:16:23 +01:00
Kaveh Vahedipour bc30fbe1ef handling agency comm failures 2017-01-23 11:14:25 +01:00
Kaveh Vahedipour cfbdaff0a8 Back in add follower 2017-01-23 09:39:32 +01:00
Kaveh Vahedipour b123779e87 fixing inquiry 2017-01-23 09:15:47 +01:00
Kaveh Vahedipour cad69aef1b trying new inquiry in ClusterInfo 2017-01-23 09:10:36 +01:00
Kaveh Vahedipour c1e270991e testing uint? 2017-01-23 09:09:34 +01:00
Kaveh Vahedipour 327fd2b32e trying new inquiry in ClusterInfo 2017-01-21 10:28:41 +01:00
Kaveh Vahedipour 7fd5de5bd7 trying new inquiry in ClusterInfo 2017-01-21 10:19:04 +01:00
Kaveh Vahedipour fc2d36ccb1 Dealing with 412 in ClusterInfo 2017-01-20 18:58:07 +01:00
Kaveh Vahedipour 163e0158dc before cppcheck enthusiasts start slacking :) 2017-01-20 15:22:30 +01:00
Kaveh Vahedipour d2760f4ef1 pushing avoidServers property 2017-01-20 15:15:03 +01:00
Kaveh Vahedipour bbb45ca397 Correct depiction of servers health status 2017-01-20 09:17:04 +01:00
Kaveh Vahedipour 40c6e2b48c unobserve should not create entries in agency, if empty before 2017-01-20 08:06:27 +01:00
Max Neunhoeffer 427c8e4553 Merge branch 'devel' into schmutz-ng 2017-01-19 14:53:46 +01:00
Kaveh Vahedipour 67cd7deaaa ClusterInfo enjoys clientIds 2017-01-19 14:51:29 +01:00
Max Neunhoeffer 7e4f45ec5c Fix server list comparison. 2017-01-19 14:20:00 +01:00
Kaveh Vahedipour 54ccffc0ee agencycommresult with clientids 2017-01-19 14:11:09 +01:00
Kaveh Vahedipour c3f7a0b774 inquire in agency interface adjusted 2017-01-19 13:26:55 +01:00
Kaveh Vahedipour 1967853619 inquire in agency interface adjusted 2017-01-19 13:26:13 +01:00
Kaveh Vahedipour 41a7a81591 inquire in agency interface adjusted 2017-01-19 13:22:06 +01:00
Kaveh Vahedipour 8441da1be1 inquire in agency interface adjusted 2017-01-19 13:21:15 +01:00
Jan Christoph Uhde 3ab9377e6b fix: build error on GCC (disambiguate query)
GCC complained about usage before type deduction
2017-01-19 12:30:04 +01:00
Kaveh Vahedipour 3639e2ad5b inquire in agency interface adjusted 2017-01-19 11:33:01 +01:00
Max Neunhoeffer 370cb09d89 Merge branch 'devel' into schmutz-ng 2017-01-19 10:32:43 +01:00
Kaveh Vahedipour eb661f95f2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-18 17:26:54 +01:00
Kaveh Vahedipour f47b3b3c9d transient heartbeats 2017-01-18 17:26:45 +01:00
jsteemann 73da10a7e7 remove unused variable 2017-01-18 13:50:07 +01:00
Kaveh Vahedipour aaee2f9e61 transient heartbeats 2017-01-18 13:43:33 +01:00
Kaveh Vahedipour ea7e16979a agency bug in precondition and log handling fixed 2017-01-18 11:07:30 +01:00
Kaveh Vahedipour 54dbf0a814 inquire interface and clientids 2017-01-17 17:33:12 +01:00
Kaveh Vahedipour 2d21b62007 agency compaction leaves last compaction-keep-size indices behind for reference 2017-01-17 12:15:18 +01:00
Andreas Streichardt 7b13a56b91 Merge branch 'devel' into schmutz-ng 2017-01-16 16:15:09 +01:00
Kaveh Vahedipour 6283da5da8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-16 15:43:47 +01:00
Kaveh Vahedipour 879102117d more replicationTest 2017-01-16 15:43:32 +01:00
Andreas Streichardt 10d3bd2200 Merge branch 'devel' into schmutz-ng 2017-01-16 15:22:17 +01:00
jsteemann 5566e6bb8f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-01-16 14:48:18 +01:00
jsteemann cdabaa931f renaming 2017-01-16 14:48:13 +01:00
Kaveh Vahedipour a75b3624de resilience move ok again? 2017-01-16 12:09:21 +01:00
Kaveh Vahedipour 91e19fb271 arangod/Agency/Supervision.cpp 2017-01-16 11:57:31 +01:00
Kaveh Vahedipour a6c48619b7 fix broken vacillant interface 2017-01-16 10:26:17 +01:00
Kaveh Vahedipour 272324c506 towards clientids in agency transactions 2017-01-16 09:54:55 +01:00
Max Neunhoeffer f35e3a7aaf Merge branch 'devel' into schmutz-ng 2017-01-16 09:54:09 +01:00
Andreas Streichardt 2a72d3edd1 Carrot fix for duplicate keys and invalid json 2017-01-13 18:30:19 +01:00
Andreas Streichardt 191f399ce2 Move AgencyCallback stuff to cluster so it is (hopefully) clear that this
is being used within the cluster and not within the agency.
2017-01-13 18:08:27 +01:00
Andreas Streichardt 9e721e77f6 Finally fix the useless "Expecting item" error 2017-01-12 16:26:55 +01:00
Kaveh Vahedipour 169cf88c0b too short timeouts for load situations 2017-01-11 08:58:31 +01:00
Kaveh Vahedipour f34796b432 move resilience should now be correct as a test 2017-01-10 17:30:09 +01:00
Kaveh Vahedipour d30458b011 Supervision should not exit of empty plan collection 2017-01-10 16:53:24 +01:00
Kaveh Vahedipour 331d074ebe more information from ClusterInfo's dropCollectionCoordinator 2017-01-10 16:25:00 +01:00
Kaveh Vahedipour 90c18e4914 waitFor will report more paranoid 2017-01-10 13:53:31 +01:00
Kaveh Vahedipour fffba306a1 waitFor will report more paranoid 2017-01-10 13:51:31 +01:00
Kaveh Vahedipour 150ff8a1e3 waitFor will report more paranoid 2017-01-10 10:38:18 +01:00
Kaveh Vahedipour 59dc050070 missing prototypes 2017-01-09 10:38:53 +01:00
Kaveh Vahedipour 55985ed5de missing prototypes 2017-01-09 10:38:34 +01:00
Andreas Streichardt 466f932701 First steps to low level replication debugging 2017-01-06 17:19:07 +01:00
jsteemann 7359ac44b2 more style cleanup 2017-01-05 10:52:03 +01:00
Kaveh Vahedipour 5b3d95298b agent restart from persistence with complete set of new endpoints 2017-01-03 15:39:52 +01:00
Kaveh Vahedipour 67b53bb91b no need considering reportIn for updating endpoints 2017-01-03 09:40:03 +01:00
Kaveh Vahedipour 449800d922 agent id is in configuration part 2017-01-03 09:35:33 +01:00
Kaveh Vahedipour 466d645545 it is probably a must to continue if leader cannot be reached 2017-01-03 09:26:45 +01:00
Kaveh Vahedipour 202f0636df nolock swap active member in agent configuration not needed 2017-01-03 09:01:53 +01:00
Kaveh Vahedipour bd28896b69 do not resend inception message, if their leaderId and id are the same 2017-01-03 08:43:27 +01:00