1
0
Fork 0
Commit Graph

10943 Commits

Author SHA1 Message Date
Jan Christoph Uhde 341891ed74 clang format 2016-08-16 13:33:16 +02:00
Jan Christoph Uhde 6f2ce0cd5a make better use of readbuffer 2016-08-16 13:32:30 +02:00
jsteemann d5af72f47f fix typo in method name 2016-08-16 13:11:39 +02:00
jsteemann 3d2591f746 Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into engine-vs-velocystream 2016-08-16 13:09:18 +02:00
jsteemann f8ed409997 moved CheckCollection into storage engine 2016-08-16 13:06:11 +02:00
jsteemann 7231436c5e always remove compactor thread 2016-08-16 12:18:09 +02:00
jsteemann a957963222 "privatize" compactor thread 2016-08-16 12:11:14 +02:00
jsteemann 9547b2b746 remove unused private members 2016-08-16 11:23:06 +02:00
Jan Christoph Uhde d8d6fb1ed0 Merge branch 'obi-velocystream' into engine-vs-velocystream
* obi-velocystream:
  fix buffer clean up
  avoid bug that occurred during buffer resize by allocating up front
  i fix type of execepton so it gets caught
  avoid dumper exception
  failed try to resolve externals
  add sanitizeExternalsChecked function
  added handleSimpleError for database not found
  fix build issue
  silence complier warnings
  fix: now returns object instead of string
  try to fix simple route
2016-08-16 11:12:23 +02:00
Jan Christoph Uhde 9afe3a1016 fix buffer clean up 2016-08-16 10:58:20 +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
Jan Christoph Uhde a3328dc944 avoid bug that occurred during buffer resize by allocating up front 2016-08-16 10:28:31 +02:00
Jan Christoph Uhde a7229bb698 i fix type of execepton so it gets caught 2016-08-16 09:29:02 +02:00
Jan Christoph Uhde b50659ed27 avoid dumper exception 2016-08-16 09:12:54 +02:00
Jan Christoph Uhde d142dc6b08 Merge branch 'obi-velocystream' of github.com:arangodb/arangodb into obi-velocystream
* 'obi-velocystream' of github.com:arangodb/arangodb:
  added handleSimpleError for database not found
2016-08-16 08:52:51 +02:00
Jan Christoph Uhde 1d1e19678d failed try to resolve externals 2016-08-15 22:58:21 +02:00
Kaveh Vahedipour a712b60ee3 single agent with uuid after fresh start 2016-08-15 19:28:42 +02:00
jsteemann c00c4cd2bc Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-15 18:58:43 +02:00
jsteemann d4df305573 slightly improve query performance 2016-08-15 18:57:37 +02:00
jsteemann 000fd9cbdc Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-15 18:35:43 +02:00
jsteemann 680042b062 moved compaction info into StorageEngine 2016-08-15 18:35:22 +02:00
jsteemann d2c1d75705 make unary minus and plus being executed in native C++ 2016-08-15 18:07:28 +02:00
Kaveh Vahedipour 131291c2f9 single agent with uuid after fresh start 2016-08-15 17:53:01 +02:00
a-brandt 758cc8c985 added handleSimpleError for database not found 2016-08-15 17:05:35 +02:00
jsteemann 9b0ba1ebb9 simplification 2016-08-15 16:00:19 +02:00
jsteemann 4f1384b948 remove unnecessary string conversions 2016-08-15 15:58:51 +02:00
jsteemann 1ec14d0bba privatize attributes 2016-08-15 15:47:39 +02:00
Jan Christoph Uhde dfb9e3ae0c Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into obi-velocystream
* 'engine-vs-velocystream' of github.com:arangodb/arangodb: (71 commits)
  jslint
  finally fixed some nasty bugs after refactoring
  jslint
  Update README.md
  execute ternary operator in C++ as well
  added libs
  added libs
  added build
  upgraded to boost 1.61.0
  Tweak Aardvark's SUPPORT > Documentation tab
  Docs: Data model -> Data models, note that NOT_NULL() is equal to SQL's COALESCE()
  Correct HTTP docs about user parameters
  generated files
  Fix testing
  Proper roles of servers
  Streamline agency testing
  Fix if
  Fix testing
  Improve clusterawareness in foxx and foxx queues
  Add test because of keysorting bugfix
  ...
2016-08-15 15:18:54 +02:00
Jan Christoph Uhde e511cd4ab9 silence complier warnings 2016-08-15 15:18:10 +02:00
jsteemann 209c108c59 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-15 14:34:01 +02:00
jsteemann e9cabbecb7 Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into readcache 2016-08-15 14:26:50 +02:00
jsteemann ae40ea5450 finally fixed some nasty bugs after refactoring 2016-08-15 14:26:09 +02:00
Jan Christoph Uhde 02f1c4199f fix: now returns object instead of string 2016-08-15 14:06:27 +02:00
Kaveh Vahedipour 6279818369 Merge branch 'devel' of https://github.com/arangodb/arangodb into agency-startup 2016-08-15 13:14:15 +02:00
Kaveh Vahedipour 692d01638c single agent with uuid after fresh start 2016-08-15 13:13:58 +02:00
Jan Christoph Uhde 21144a37c4 try to fix simple route 2016-08-15 12:51:28 +02:00
jsteemann ed1e29bf57 execute ternary operator in C++ as well 2016-08-15 11:07:12 +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
Jan Christoph Uhde 61e384e8f2 Merge remote-tracking branch 'origin/engine-vs-velocystream' into merge_jans
* origin/engine-vs-velocystream: (54 commits)
  Fix testing
  Proper roles of servers
  Streamline agency testing
  Fix if
  Fix testing
  Improve clusterawareness in foxx and foxx queues
  Add test because of keysorting bugfix
  Couldn't query two different keys beginning with the same string in one level
  Add download and slack buttons to documentation header
  gv
  Adjustment for Repository Version
  Adjustment for Repository Version
  Adjustment for Repository Version
  Update build-repository.h.in
  improved gv
  Create build-repository.h.in
  queryView bugfix
  grunt build
  improved gv, added limit
  improved gv
  ...
2016-08-15 08:51:38 +02:00
Jan Christoph Uhde 39c84522fa vpack from body should be generated 2016-08-12 19:12:05 +02:00
Michael Hackstein 79fd589ac0 Added the first files for the LogicalCollections that are available in Cluster and Locally. All operations should use these logical collections. 2016-08-12 15:06:43 +02:00
Jan Christoph Uhde 757f276e33 add partial implementaion for vpp in v8 route 2016-08-12 15:06:22 +02:00
Michael Hackstein 796151ec19 Fixed a false nullptr assertion and removed dead code 2016-08-12 15:05:08 +02:00
Jan Christoph Uhde e62b4f69d6 add better logging and clean up code 2016-08-12 15:05:03 +02:00
Michael Hackstein 95d14e056d Fixed override warning 2016-08-12 15:04:17 +02:00
Jan Christoph Uhde 3d4e1f6922 clean up code 2016-08-11 16:44:12 +02:00
Michael Hackstein fe4fcee9e2 Added some assertions for nullptr when acessing TRI_collection_t 2016-08-11 15:36:36 +02:00
Michael Hackstein 5d8040f3d2 Removed dead code 2016-08-11 15:34:44 +02:00
Kaveh Vahedipour ec27b6f60e Agency compiling again 2016-08-11 13:52:17 +02:00
Jan Christoph Uhde a1d6909f88 make use of generateBody in payload and fix some bugs in VppCommTask 2016-08-11 13:20:58 +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
Kaveh Vahedipour 4759b2a434 Agency compiling again 2016-08-11 12:05:53 +02:00
Jan Christoph Uhde fa42f55545 clang format 2016-08-10 20:08:17 +02:00
Kaveh Vahedipour 39ca341097 trying to rebuild agency 2016-08-10 17:10:01 +02:00
Kaveh Vahedipour 1d47bc4ad5 Merge branch 'devel' of https://github.com/arangodb/arangodb into agency-startup 2016-08-10 17:08:54 +02:00
Kaveh Vahedipour a0c02ca29d trying to rebuild agency 2016-08-10 17:08:36 +02:00
Jan Christoph Uhde fe84762bef fix header of velocypack chunks 2016-08-10 16:42:42 +02:00
Jan Christoph Uhde c4444ae4e4 fix vppCommTask - do not return true when false should be returned 2016-08-10 15:17:31 +02:00
Jan Christoph Uhde 804d2e70d4 mini fixes 2016-08-10 12:50:50 +02:00
Andreas Streichardt 87c8c0033a Improve clusterawareness in foxx and foxx queues 2016-08-10 12:26:24 +02:00
Andreas Streichardt a4b21d0abc Couldn't query two different keys beginning with the same string in one level 2016-08-10 12:26:24 +02:00
Jan Christoph Uhde da0c40cff7 server should now reply 2016-08-10 11:11:26 +02:00
Jan Christoph Uhde 8f6ff64d00 fix errors in vpp protocol 2016-08-09 19:09:24 +02:00
Kaveh Vahedipour 46e201fc63 2/3 through new startup 2016-08-09 18:48:45 +02:00
Kaveh Vahedipour 5bdf6fcdb6 2/3 through new startup 2016-08-09 18:40:59 +02:00
Jan Christoph Uhde 0e5b455159 setPayload of response now takes contType instead of request 2016-08-08 14:48:56 +02:00
Kaveh Vahedipour 8f75b4a891 removing debug warnings 2016-08-08 09:40:08 +02:00
Jan Christoph Uhde 65b8e6beac vpack is now put into v8 - but the vpack used must be compatible to json 2016-08-05 18:12:40 +02:00
Jan Steemann 103b19f22f fix confusion with local and cluster databases 2016-08-05 17:45:20 +02:00
jsteemann 0ceccf6370 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-05 16:23:30 +02:00
jsteemann 3733d64dda moved functionality 2016-08-05 16:23:22 +02:00
Jan Steemann cb4b091301 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-08-05 16:18:24 +02:00
Jan Steemann 34dc856bdc removed useless && 2016-08-05 16:17:05 +02:00
Jan Steemann 0de5561659 moved mostly unused functions 2016-08-05 16:14:39 +02:00
Kaveh Vahedipour 7069fc0da0 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 14:59:39 +02:00
Kaveh Vahedipour fcf96f42a7 removing debug warnings 2016-08-05 14:41:24 +02:00
jsteemann 6b9a4a2e7f moved path-related functionality into engine 2016-08-05 14:09:58 +02:00
Kaveh Vahedipour 770d8777a2 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 12:47:08 +02:00
Kaveh Vahedipour b4883e69e4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-08-05 12:36:29 +02:00
Kaveh Vahedipour c586b63f03 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 12:36:23 +02:00
Jan Christoph Uhde 65e5d4e6ac fix handling of content type 2016-08-05 12:25:29 +02:00
Andreas Streichardt 1a5d9bef55 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-08-05 11:24:43 +02:00
jsteemann 6e47a19d37 removed define 2016-08-05 09:51:06 +02:00
Kaveh Vahedipour bc042e858e raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 09:41:50 +02:00
jsteemann f91bfee6d0 prevent warning on shutdown 2016-08-05 09:33:59 +02:00
Jan Christoph Uhde 0bcbe92433 Merge remote-tracking branch 'origin/engine-vs-velocystream' into obi-velocystream
* origin/engine-vs-velocystream: (95 commits)
  move it a class method
  speed up compaction and cleanup a bit
  privatization
  added functions V8_TO_VPACK and VPACK_TO_V8
  fixed compaction bug
  fixed compaction bug
  raft testing revealed performance optimisation in receiver and of appendentries
  more streamlining, links to the UDF documentation.
  refactoring
  By simran: review UDF documentation.
  Explain clustering impacts in the optimizer chapter.
  fixed tests
  WG beautification
  Remove iconv-lite
  Add iconv-lite and timezone
  Add missing package description file.
  compaction bug in agency
  compaction bug in agency
  compaction bug in agency
  fixed compaction bug
  ...
2016-08-04 18:48:51 +02:00
jsteemann 326b518acf move it a class method 2016-08-04 17:30:42 +02:00
jsteemann 1139505641 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-04 17:19:05 +02:00
jsteemann e06e2312c2 speed up compaction and cleanup a bit 2016-08-04 17:18:50 +02:00
jsteemann 95ac01313b privatization 2016-08-04 17:06:51 +02:00
Jan Christoph Uhde 50fe64d6ca convert contentTypes 2016-08-04 16:42:30 +02:00
Kaveh Vahedipour becf446cac fixed compaction bug 2016-08-04 15:57:32 +02:00
Kaveh Vahedipour 21ff8be494 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-08-04 15:46:29 +02:00
Kaveh Vahedipour 307332e817 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-04 15:46:23 +02:00
jsteemann 635d4d537c refactoring 2016-08-04 14:03:43 +02:00
Andreas Streichardt f28d429bd5 fix ssl endpoint 2016-08-04 13:34:42 +02:00
jsteemann bc6633e4c0 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-04 13:33:10 +02:00
jsteemann 5d640b7144 fixed tests 2016-08-04 13:32:54 +02:00
Jan Christoph Uhde 01c1c09d5a add first vpack test -- content type has to be fixed first 2016-08-04 13:32:25 +02:00
jsteemann 8a200f754c WG beautification 2016-08-04 12:36:14 +02:00
Jan Christoph Uhde 54eda61754 connect response to CommTask WriteBuffers 2016-08-03 16:08:04 +02:00
jsteemann ac1e4c1ef7 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-03 14:43:56 +02:00
Kaveh Vahedipour 99db350780 compaction bug in agency 2016-08-03 14:20:06 +02:00
Kaveh Vahedipour 9484cddd0c compaction bug in agency 2016-08-03 14:13:38 +02:00
Kaveh Vahedipour c49499c5b5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-08-03 13:59:57 +02:00
Kaveh Vahedipour 0221f2582c fixed compaction bug 2016-08-03 13:59:40 +02:00
jsteemann 8baa7ec955 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-03 13:39:00 +02:00
Jan Steemann fe87b25ebb produce more meaningful error messages 2016-08-03 13:36:13 +02:00
Kaveh Vahedipour fde28d1a61 sped up agency communication. startLocalCluster now starts up about the same time regardless of agency size. 2016-08-03 13:13:48 +02:00
jsteemann 2256ffd5b2 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-03 10:52:03 +02:00
Kaveh Vahedipour 8a6e23fbdb Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-08-03 10:31:53 +02:00
Kaveh Vahedipour e42d8e432b wrong push on startLocalCluster 2016-08-03 10:31:42 +02:00
Jan Christoph Uhde cae1d47e5d fix build errors 2016-08-03 09:42:20 +02:00
Jan Steemann 53ad777be7 fixed extraction of _id attribute 2016-08-03 09:21:37 +02:00
Jan Christoph Uhde cb275e239f add: clean buffer for VppCommTask 2016-08-03 09:20:22 +02:00
Jan Steemann 31dcdca4d3 fixed extraction of _id attribute in Traversal condition 2016-08-02 17:02:02 +02:00
Kaveh Vahedipour 97f5e957fa supervision not woken up after leadership change 2016-08-02 16:09:24 +02:00
jsteemann f437ef95c5 simplify threads 2016-08-02 16:06:47 +02:00
Jan Christoph Uhde 08cc5c543e remove unused code - small fixes 2016-08-02 15:57:30 +02:00
jsteemann dd30b47b9d make _state private 2016-08-02 15:31:55 +02:00
jsteemann f219a5605b Merge branch 'readcache' of https://github.com/arangodb/arangodb into engine-vs-velocystream 2016-08-02 15:00:57 +02:00
jsteemann 8f07f97fb4 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-02 15:00:35 +02:00
jsteemann 9677210e57 refactoring 2016-08-02 15:00:25 +02:00
jsteemann f1596fa459 refactoring 2016-08-02 14:01:04 +02:00
Kaveh Vahedipour 5c0c95f618 fixed compaction bug in RAFT 2016-08-02 13:55:53 +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
jsteemann 3664511e36 privatize vocbase methods 2016-08-02 13:49:22 +02:00
jsteemann 09437deb1a Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-02 13:49:18 +02:00
Kaveh Vahedipour e326dc3c53 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-08-02 13:13:14 +02:00
Kaveh Vahedipour cab4d78eee fixed compaction bug in RAFT 2016-08-02 13:13:05 +02:00
Jan Christoph Uhde 25226b1459 add: header() / headers() implemented for VppRequest 2016-08-02 11:36:06 +02:00
jsteemann 10341eafdb Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-02 09:42:17 +02:00
Wilfried Goesgens 04a1be577f Merge branch 'devel' of github.com:arangodb/ArangoDB into pipeline 2016-08-02 09:22:46 +02:00
jsteemann 99aaf7de9b Merge branch 'readcache' of https://github.com/arangodb/arangodb into engine-vs-velocystream 2016-08-02 08:43:34 +02:00
jsteemann cc51773a46 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-01 17:17:05 +02:00
jsteemann 788922f55a some fixes 2016-08-01 17:16:23 +02:00
Kaveh Vahedipour 3a1e10eecb integrated agency bugfix from 3.0 2016-08-01 14:41:13 +00:00
Kaveh Vahedipour da893cc056 integrated agency bugfix from 3.0 2016-08-01 13:46:52 +00:00
Jan Christoph Uhde c59a553723 fix some errors -- http tests failing in cluster 2016-08-01 15:19:11 +02:00
Frank Celler da85dc2adc added a panic interrupt of memory gets low 2016-08-01 13:43:30 +02:00
Andreas Streichardt 376075f51d Fix switch warning 2016-08-01 13:43:30 +02:00
Max Neunhoeffer 935f977132 Fix a bug in <coll>.replace() with isRestore and _rev. 2016-08-01 13:43:30 +02:00
Andreas Streichardt 6f156d8554 Fix foxx issues in cluster
Bootstrap will now be done on the bootstrap coordinator.

queues will now be executed by the "foxxmaster"
2016-08-01 13:43:30 +02:00
Jan Christoph Uhde ef12d8dc2c struggle with ctor 2016-08-01 11:48:30 +02:00
jsteemann 71bd7deace Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-08-01 09:04:17 +02:00
Jan Christoph Uhde 3e6c7617d0 small improvements 2016-08-01 08:54:27 +02:00
Frank Celler 51683dbda0 added a panic interrupt of memory gets low 2016-07-31 12:58:27 +02:00
Andreas Streichardt 8c69c9d51d Fix switch warning 2016-07-29 18:24:14 +02:00
jsteemann 885eb525c6 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-29 17:49:06 +02:00
jsteemann d92f15aeed entirely removed TRI_document_collection_t 2016-07-29 17:48:51 +02:00
Max Neunhoeffer 3c49b204e1 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-07-29 17:24:20 +02:00
Max Neunhoeffer 1bdf0ded43 Fix a bug in <coll>.replace() with isRestore and _rev. 2016-07-29 17:22:12 +02:00
jsteemann 80f1a7aaee Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-29 17:16:20 +02:00
jsteemann 59ed0a902c refactoring 2016-07-29 17:07:16 +02:00
Andreas Streichardt 526c8f42c2 Fix foxx issues in cluster
Bootstrap will now be done on the bootstrap coordinator.

queues will now be executed by the "foxxmaster"
2016-07-29 16:06:31 +02:00
Wilfried Goesgens 41a2b867d1 Merge branch 'devel' of github.com:arangodb/ArangoDB into pipeline 2016-07-29 15:37:17 +02:00
jsteemann 6b308191e1 moved functionality into TRI_collection_t 2016-07-29 11:49:58 +02:00
Jan Christoph Uhde 5f370e0f46 reading vpp should work now! 2016-07-29 11:03:26 +02:00
jsteemann 621e3df766 moved parts into TRI_collection_t 2016-07-29 09:14:05 +02:00
jsteemann 9f6545ce13 moved function into class 2016-07-29 09:07:02 +02:00
Jan Christoph Uhde 8d1a627770 Merge branch 'devel' of github.com:arangodb/arangodb into obi-velocystream-4
* 'devel' of github.com:arangodb/arangodb:
  updated CHANGELOG
  Remove sleep
  fixed issue in `INTERSECTION` AQL function with duplicate elements in the source arrays
  fixed broken downloads in firefox, issue: #1968
2016-07-28 18:16:31 +02:00
Jan Christoph Uhde af108e8fcd fix RestBatchHandler 2016-07-28 18:15:26 +02:00
jsteemann ba6bb338ba Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-28 17:25:19 +02:00
Jan Steemann ddecc740e6 fixed issue in `INTERSECTION` AQL function with duplicate elements in the source arrays 2016-07-28 17:11:21 +02:00
Jan Christoph Uhde d574570174 Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into obi-velocystream-4
* 'engine-vs-velocystream' of github.com:arangodb/arangodb: (70 commits)
  fixed undefined behavior
  fixed tests
  Latest performance measuring scripts and analysis program.
  moved dropCollection into TRI_vocbase_t
  make ctor explicit
  Improve error handling
  removed unused consts
  Fix ssl tests (CORS)
  more refactoring
  some vocbase refactoring
  updated CHANGELOG
  added thread affinity for MacOSX
  moved query id generation
  refactoring
  Fix testing.js
  Docs: make examples clearer that require modules, add note about aqlQuery -> aql
  Docs (arangosh): aqlQuery -> aql
  reactivate TickIterator
  refactoring
  New script version.
  ...
2016-07-28 16:36:36 +02:00
jsteemann deca131a58 fixed undefined behavior 2016-07-28 16:35:27 +02:00
Jan Christoph Uhde 4f00b0a48e silence compiler warning 2016-07-28 16:16:56 +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 b48779c821 fixed tests 2016-07-28 15:56:38 +02:00
Jan Christoph Uhde fa0015e658 add: implemented part of VppCommTask 2016-07-28 13:58:51 +02:00
jsteemann 329b733090 moved dropCollection into TRI_vocbase_t 2016-07-28 13:14:12 +02:00
jsteemann be8df652b7 make ctor explicit 2016-07-28 12:06:22 +02:00
jsteemann 45f775e56f removed unused consts 2016-07-28 12:04:03 +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 cc5eaea09c Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-28 09:10:17 +02:00
Frank Celler 24db83573a added thread affinity for MacOSX 2016-07-27 22:29:59 +02:00
jsteemann 5d6cd9ef71 moved query id generation 2016-07-27 17:44:31 +02:00
jsteemann 31407c3561 refactoring 2016-07-27 17:15:52 +02:00
jsteemann 314a6f6c29 reactivate TickIterator 2016-07-27 16:04:22 +02:00
jsteemann 55eda66d4a Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-27 15:57:56 +02:00
jsteemann 10a60b5458 refactoring 2016-07-27 15:40:25 +02:00
Jan Christoph Uhde 36167b8e17 Merge remote-tracking branch 'origin/devel' into obi-velocystream-4
* origin/devel: (23 commits)
  Fix trusted origin tests
  Fix CORS with credentials
  New version of script.
  updated CHANGELOG
  grunt build [ci skip]
  improved gv
  added expand function to gv
  enable: compile_commands.json
  semistandard fix
  improved gv
  gv bugfix
  updated license
  improved gv
  Adapting to 64 bit ARM architecture (aarch64) at the exceptions for TRI_PADDING_32
  improved gv performance
  fix handling of empty query strings
  fixed query editor issues
  Modularize perf script.
  Add one more event.
  Add a first perf probe monitoring script.
  ...

Conflicts:
	arangod/GeneralServer/HttpCommTask.cpp
2016-07-27 13:25:34 +02:00
jsteemann 26ce0c6936 some collection handling refactoring 2016-07-27 13:12:26 +02:00
Jan Christoph Uhde 732c182388 fix building 2016-07-27 12:08:07 +02:00
Jan Christoph Uhde 3f57335fe4 with error 2016-07-27 11:48:21 +02:00
Andreas Streichardt 5fe3274000 Fix CORS with credentials 2016-07-27 11:25:46 +02:00
Jan Christoph Uhde 9965ca9c6a Merge branch 'obi-velocystream-2' into obi-velocystream-3
* obi-velocystream-2: (21 commits)
  enable VPACK
  add some documentation
  add some documenation
  get rid fo cookies in non-http requests
  Documentation improvements
  Docs: Fix locking and isolation code examples (require db object and use AQL traversal)
  fix recovery edge case
  grunt build [ci skip]
  added edge hover event
  redirect to new gv
  ui added query execution of selected text
  gv improvements
  removed unused code path
  added convenience method getRegister()
  remove body() method from GeneralRequest
  Removing unnecessary library "z" by cross-compiling
  Adaptation of V8 architecture "arm64" with "aarch64" processor.
  Complete to __aarch64__ achritectur
  add: VppResponse
  cppcheck
  ...

Conflicts:
	arangod/GeneralServer/GeneralCommTask.cpp
	arangod/GeneralServer/GeneralCommTask.h
	arangod/GeneralServer/HttpCommTask.h
2016-07-27 10:11:50 +02:00
Frank Celler e008a3b306 moved accessControlAllowOrigins to GeneralServerFeature 2016-07-27 09:09:07 +02:00
Frank Celler 078457c302 cleanup of calls 2016-07-26 17:20:14 +02:00
jsteemann 008fc46dfc Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-26 16:25:50 +02:00
jsteemann 89e0c11b44 refactoring 2016-07-26 16:25:38 +02:00
Jan Steemann c879761d15 fix handling of empty query strings 2016-07-26 16:18:15 +02:00
Wilfried Goesgens c6a1bcc226 Cleanup buildsystem
- add RPM support
  - move macros in own file
  - cleanup sequence
  - add CMAKE switch "-DPACKAGING=[DEB|RPM|DARWIN]" that prepares package building
2016-07-26 16:13:34 +02:00
Jan Christoph Uhde d93b709b4f add some documentation 2016-07-26 13:51:56 +02:00
jsteemann df4daf4122 CleanupThread is now derived from Thread 2016-07-26 12:54:08 +02:00
Jan Christoph Uhde c17d6d0e3a add some documenation 2016-07-26 11:43:01 +02:00
Jan Christoph Uhde 96772223df Merge branch 'devel' of github.com:arangodb/arangodb into obi-velocystream-2
* 'devel' of github.com:arangodb/arangodb:
  Documentation improvements
  Docs: Fix locking and isolation code examples (require db object and use AQL traversal)
  fix recovery edge case
  grunt build [ci skip]
  added edge hover event
  redirect to new gv
  ui added query execution of selected text
  gv improvements
  removed unused code path
  added convenience method getRegister()
  Removing unnecessary library "z" by cross-compiling
  Adaptation of V8 architecture "arm64" with "aarch64" processor.
2016-07-26 10:39:24 +02:00
Jan Christoph Uhde 4c37db381a get rid fo cookies in non-http requests 2016-07-26 10:38:34 +02:00
jsteemann 9af8a30a36 fixed compactor locks 2016-07-26 10:22:44 +02:00
jsteemann b54f0a15d8 removed last occurrence of TRI_vector_t in arangod 2016-07-26 08:04:30 +02:00
jsteemann 253cb173a9 cleanup compaction responsibility a little bit 2016-07-26 07:34:02 +02:00
jsteemann 2c88ac61d3 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-25 17:58:02 +02:00
jsteemann d6baadf59a fix recovery edge case 2016-07-25 17:57:25 +02:00
jsteemann 9e2b75de7d refactoring 2016-07-25 17:31:16 +02:00
jsteemann 0113c78712 use function object 2016-07-25 17:22:41 +02:00
jsteemann 2d293261cc Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-25 16:54:12 +02:00
jsteemann fe99ca558a removed unused code path 2016-07-25 16:52:39 +02:00
jsteemann d3946a5f3c added convenience method getRegister() 2016-07-25 16:52:27 +02:00
jsteemann 2aa2e0dab4 removed server.h 2016-07-25 16:49:52 +02:00
Jan Christoph Uhde 61323d4ddc Merge branch 'devel' of github.com:arangodb/arangodb into obi-velocystream-2
* 'devel' of github.com:arangodb/arangodb:
  Complete to __aarch64__ achritectur
  cppcheck
  gv improvement + bugfix
  initialize all instance variables
  updated CHANGELOG
  issue #1962
  issue #1959
  fixed exporting documents webui
  set GYP_CROSSCOMPILE by  CROSS_COMPILING
2016-07-25 16:47:50 +02:00
Jan Christoph Uhde da81c32539 remove body() method from GeneralRequest 2016-07-25 16:46:53 +02:00
jsteemann fe3f89fe6b Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-25 16:45:00 +02:00
Frank Celler 23d7fc7247 moved startThread from HttpCommTask to RestHandler 2016-07-25 16:40:29 +02:00
jsteemann 50f3dcfb3f cleanup 2016-07-25 16:16:07 +02:00
jsteemann 158f21b0da cppcheck 2016-07-25 16:00:27 +02:00
jsteemann 6a480c0214 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-25 15:48:57 +02:00
jsteemann a0f0055b6f moved all database management functions into DatabaseFeature 2016-07-25 15:48:37 +02:00
jsteemann 33c94e5041 moved database lookup functions into DatabaseFeature 2016-07-25 14:56:39 +02:00
jsteemann b288d3e4dd moved dropDatabaseCoordinator() into DatabaseFeature 2016-07-25 14:04:55 +02:00
jsteemann de6d7182c8 move deletion of databases into DatabaseFeature 2016-07-25 13:56:34 +02:00
jsteemann e8a5b5ccf5 move createDatabase into DatabaseFeature 2016-07-25 12:35:53 +02:00
Jan Steemann ee7def3440 initialize all instance variables 2016-07-25 12:23:19 +02:00
jsteemann a92ac7be28 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-25 11:14:44 +02:00
Frank Celler a7679fe16f silenced compiler warning 2016-07-24 11:30:39 +02:00
Frank Celler 96e69b5b92 moved create of CommTask into ListenTask 2016-07-23 20:04:38 +02:00
Frank Celler a92add0a9f renamed RestServerFeature to GeneralServerFeature 2016-07-23 14:16:10 +02:00
Jan Christoph Uhde c370e9e6fe Merge remote-tracking branch 'origin/devel' into obi-velocystream-1-squashed
* origin/devel: (23 commits)
  grunt build [ci skip]
  improved gv
  fixed landscape smartphone navigation bug, improved login screen css
  improved code modal output
  updated font awesome to version 4.6.3
  version check improved
  fixed issue: #1881
  Update ISSUE_TEMPLATE.md
  documents view, now able to remove first filter element
  support view
  replaced require("internal").db by require("@arangodb").db
  gv improvements
  grunt build [ci skip]
  gv improvements
  added read/write context info
  HLC adjustments for tests
  fixed issue #1954
  fixed issue #1954
  added test case
  fixed copying of AqlValues
  ...
2016-07-23 01:19:30 +02:00
Jan Christoph Uhde b8c705868e Split Http- and HttpsCommTask
add .ctags_exclude and new CommTasks

move some code form GeneralCommTask to HttpCommTask

move more code into HttpCommTask

fix ording or initialization

if access of classes

make _requestAsHttp() private

more cleanup
2016-07-23 01:17:48 +02:00
jsteemann 95462e7796 moved database creation in DatabaseFeature 2016-07-22 17:43:22 +02:00
jsteemann 5993c1b094 refactoring 2016-07-22 15:46:45 +02:00
jsteemann 6c2d927e01 refactoring 2016-07-22 15:44:23 +02:00
jsteemann dfa2e59c4a don't access nullptr 2016-07-22 14:14:50 +02:00
jsteemann e55070dcd2 starting again... well, at least in some configuration 2016-07-22 14:03:03 +02:00
jsteemann 4f6b7a6146 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-22 11:16:17 +02:00
Jan Steemann 2aa1ae7db2 added read/write context info 2016-07-22 10:00:46 +02:00
jsteemann f3dfdb57d1 fixed issue #1954 2016-07-21 17:39:27 +02:00
jsteemann 431262cc19 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-21 16:42:47 +02:00
Jan Steemann 520e4b503f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-07-21 16:39:57 +02:00
Jan Steemann 5a4b946bd3 fixed issue #1954 2016-07-21 16:39:36 +02:00
Jan Steemann 27b846bbab fixed copying of AqlValues 2016-07-21 15:57:29 +02:00
Jan Steemann ca6fa5e7af copy row 0 2016-07-21 14:33:10 +02:00
Jan Steemann 74f7da4f45 don't copy unneeded registers 2016-07-21 12:10:09 +02:00
Jan Christoph Uhde 5edaf0043a preparations for velocystream completed 2016-07-21 09:32:00 +02:00
Max Neunhoeffer 410bd3d95b Default to JSON for the moment. 2016-07-20 16:19:17 -07:00
Max Neunhoeffer 2aa6cae452 Fix performance improvements w.r.t. headers. 2016-07-20 16:05:21 -07:00
Max Neunhoeffer 6f4b48cfcf Try to fix performance issue with single documents in cluster.
This creates a fast path in performRequests for the case that only
one request is given. We use syncRequest instead of asyncRequest
to save a network roundtrip. Furthermore, all queues and locks
in ClusterComm are circumvented.
2016-07-20 15:15:41 -07:00
jsteemann b9529d80e3 moved functionality into engine 2016-07-20 17:26:58 +02:00
jsteemann e36770efdf moved functionality 2016-07-20 16:25:41 +02:00
jsteemann 6c2d39da93 removed unused properties 2016-07-20 16:12:01 +02:00
jsteemann ca1da8fd4a moved functionality from TRI_server_t into DatabaseFeature 2016-07-20 16:09:12 +02:00
jsteemann 2b4c3707e3 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-20 13:22:29 +02:00
Jan Steemann 8369f652a4 fixed issue #1950 2016-07-20 09:38:25 +02:00
Jan Christoph Uhde 1804fa63fc Merge branch 'devel' into obi-rest-changes
* devel:
  remove unused JsonHelper includes
  Swagger: change the way attribute types are written into the docs
  Docs: formatting
  Docs: AQL query cursors
  New example files for array indexes
  Documentation improvements
  Enhance description of bind parameters
  How to use log topics in config file and minor reformatting
  Improve indexing docs
  Match inline docublocks non-greedy and prevent name collisions by expecting a whitespace character after block name
  always flush log in case of exception
  New example file.
  by @servusoft : fix rocksdb cmake compile on ARM by removing unsupported compiler flag.
  by @servusoft : use signed char if we want to operate with `-1`
  issue #1944: nicer error logging in console.log()
  remove unused script
  eshint
  added test for V8 segfault
  fixed segfault in V8, by backporting https://bugs.chromium.org/p/v8/issues/detail?id=5033
2016-07-19 10:27:53 +02:00
Jan Christoph Uhde 43d06efa76 remove: reinterpret_cast from user code 2016-07-19 10:07:09 +02:00
Jan Christoph Uhde 06bd01695a removed: body() from GeneralRequest 2016-07-19 09:16:07 +02:00
jsteemann 5ee344b685 added greetings feature 2016-07-18 18:32:27 +02:00
jsteemann 8cf7fc889d renamed method 2016-07-18 18:07:11 +02:00
jsteemann 7653b922b3 moved TRI_MSync out of server.h 2016-07-18 17:58:28 +02:00
jsteemann 232b46cef2 removed useless include 2016-07-18 17:51:04 +02:00
jsteemann 8313682b2c refactoring 2016-07-18 17:48:24 +02:00
jsteemann 53f77017fb moved SERVER away from DatabasePathFeature 2016-07-18 17:33:11 +02:00
jsteemann b005ba61fe removed unused method 2016-07-18 17:20:31 +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 904868d996 renamed DatabaseServerFeature to DatabasePathFeature 2016-07-18 15:41:10 +02:00
jsteemann 073cfb15e7 moved index threads into a feature of its own 2016-07-18 15:23:25 +02:00
jsteemann 14d6ba7c73 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-18 14:37:33 +02:00
jsteemann 807f287868 moved server id detection and pagesize detection into their own features 2016-07-18 14:37:12 +02:00
Jan Steemann a0ff5e9dc3 remove unused JsonHelper includes 2016-07-18 13:52:08 +02:00
Jan Christoph Uhde 002a1e55cb add: payload/addPayload methods 2016-07-18 13:16:08 +02:00
jsteemann b9b01b4c77 always flush log in case of exception 2016-07-18 11:44:14 +02:00
jsteemann 56ba9342c8 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-18 11:08:22 +02:00
jsteemann d8a95222a2 adjusted error messages 2016-07-18 11:08:12 +02:00
Jan Christoph Uhde 36736e3694 Merge remote-tracking branch 'origin/devel' into obi-rest-changes-next
* origin/devel: (47 commits)
  grunt build [ci skip]
  gv settings [ci skip]
  attempt to fix issue #1943
  Add missing documentation of the users database list and the hint that this should be used instead of the database api.
  added dev button to graphs view [ci skip]
  grunt build [ci skip]
  Remove jshint
  Mention updating license info
  Prevent World War 3
  Always use --global-style when installing npm deps
  gv - editable & createable nodes, edges [ci skip]
  Rebuild aardvark
  Make sure Show Interface check asks for HTML
  oops, @not supported here.
  Fix phrase explaining when the collections are dropped alongside the graph definition.
  fixed issue #1941
  gv [ci skip]
  added test for "fake" _key values
  fixed issue #1942
  In Farbe und in STEREREOOOUU!
  ...
2016-07-17 00:14:07 +02:00
Jan Christoph Uhde f2c660627f Merge branch 'obi-rest-changes' into devel
* obi-rest-changes:
  virtualize functions of request/response
  ignore build.sh
2016-07-16 19:36:01 +00:00
Jan Christoph Uhde a0dca93e65 complete: adding toVelocyPack() function that returns slice instead of builder 2016-07-16 21:33:03 +02:00
Jan Steemann 60bb0f2dde attempt to fix issue #1943 2016-07-15 17:40:42 +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
jsteemann 43b3b19ea5 server start 2016-07-15 16:30:03 +02:00
jsteemann 2b42784d81 fixed compile error 2016-07-15 14:45:02 +02:00
jsteemann 30d32bb70e factored out lock-file handling into LockFileFeature 2016-07-15 14:44:06 +02:00
jsteemann 87a96ece67 engine selection 2016-07-15 12:40:29 +02:00
jsteemann 7742e709a3 storage engine selection at server start 2016-07-15 12:26:40 +02:00
Jan Christoph Uhde 6e9304cdc4 Merge remote-tracking branch 'origin/devel' into obi-rest-changes
* origin/devel: (43 commits)
  added dev button to graphs view [ci skip]
  grunt build [ci skip]
  Remove jshint
  Mention updating license info
  Prevent World War 3
  Always use --global-style when installing npm deps
  gv - editable & createable nodes, edges [ci skip]
  Rebuild aardvark
  Make sure Show Interface check asks for HTML
  oops, @not supported here.
  Fix phrase explaining when the collections are dropped alongside the graph definition.
  fixed issue #1941
  gv [ci skip]
  added test for "fake" _key values
  fixed issue #1942
  In Farbe und in STEREREOOOUU!
  grunt [ci skip]
  gv [ci skip]
  Fix documentation.
  Fix fix.
  ...
2016-07-15 09:20:04 +00:00
jsteemann bff23ecd06 added stub for storage engine 2016-07-15 10:54:37 +02:00
jsteemann 18c4ca3f53 renamed ReadCacheChunk to GlobalReadCacheChunk 2016-07-14 17:19:45 +02:00
jsteemann 49275ac898 added stub for CollectionRevisionCache 2016-07-14 17:12:39 +02:00
jsteemann 1ce21d408a fixed gc 2016-07-14 14:47:23 +02:00
jsteemann ccf3b206bd Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-14 10:13:43 +02:00
Jan Steemann 2441b2f700 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-07-14 10:09:01 +02:00
Jan Steemann a1c2b7cc63 fixed issue #1941 2016-07-14 10:08:17 +02:00
jsteemann 0c4d507ffc Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-14 09:32:08 +02:00
Jan Steemann 6d856efd4f added test for "fake" _key values 2016-07-14 09:29:42 +02:00
jsteemann 3be664ca56 Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache 2016-07-14 09:29:21 +02:00
Jan Christoph Uhde 682cf7a2f1 virtualize functions of request/response 2016-07-14 08:40:05 +02:00
jsteemann f5608449b2 fixed issue #1942 2016-07-13 20:32:59 +02:00
jsteemann 5672171c11 initial commit for rc implementation 2016-07-13 17:33:17 +02:00
Max Neunhoeffer a78fd42b67 Merge branch 'HLC' into devel 2016-07-13 12:52:33 +02:00
Jan Christoph Uhde 03e89265fd Merge branch 'devel' of github.com:arangodb/arangodb into obi-merge-restserver
* 'devel' of github.com:arangodb/arangodb:
  updated CHANGELOG
  fixed array index batch insertion issue
  Fix syntax errors in  user auth documentation
  fix grammer.
  prevent compile warning
2016-07-13 11:35:16 +02:00