1
0
Fork 0
Commit Graph

10593 Commits

Author SHA1 Message Date
jsteemann ed1e29bf57 execute ternary operator in C++ as well 2016-08-15 11:07:12 +02:00
Kaveh Vahedipour ec27b6f60e Agency compiling again 2016-08-11 13:52:17 +02:00
Kaveh Vahedipour 4759b2a434 Agency compiling again 2016-08-11 12:05:53 +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
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
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
Kaveh Vahedipour 8f75b4a891 removing debug warnings 2016-08-08 09:40:08 +02:00
Jan Steemann 103b19f22f fix confusion with local and cluster databases 2016-08-05 17:45:20 +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
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
Andreas Streichardt 1a5d9bef55 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-08-05 11:24:43 +02:00
Kaveh Vahedipour bc042e858e raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 09:41:50 +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
Andreas Streichardt f28d429bd5 fix ssl endpoint 2016-08-04 13:34:42 +02:00
jsteemann 8a200f754c WG beautification 2016-08-04 12:36:14 +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
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
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 Steemann 53ad777be7 fixed extraction of _id attribute 2016-08-03 09:21:37 +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
Kaveh Vahedipour 5c0c95f618 fixed compaction bug in RAFT 2016-08-02 13:55:53 +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
Wilfried Goesgens 04a1be577f Merge branch 'devel' of github.com:arangodb/ArangoDB into pipeline 2016-08-02 09:22:46 +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
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
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
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
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
Jan Steemann ddecc740e6 fixed issue in `INTERSECTION` AQL function with duplicate elements in the source arrays 2016-07-28 17:11:21 +02:00
Frank Celler 24db83573a added thread affinity for MacOSX 2016-07-27 22:29:59 +02:00
Andreas Streichardt 5fe3274000 Fix CORS with credentials 2016-07-27 11:25:46 +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
jsteemann d6baadf59a fix recovery edge case 2016-07-25 17:57:25 +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 158f21b0da cppcheck 2016-07-25 16:00:27 +02:00
Jan Steemann ee7def3440 initialize all instance variables 2016-07-25 12:23:19 +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
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
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
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
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
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
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
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
Jan Steemann 6d856efd4f added test for "fake" _key values 2016-07-14 09:29:42 +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
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
Jan Steemann 6b7defc737 fixed array index batch insertion issue 2016-07-13 11:32:39 +02:00
jsteemann fe079b50f3 prevent compile warning 2016-07-13 09:45:23 +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
Michael Hackstein 6e5f6d1a48 Fixed failure tests in SkiplistIndex 2016-07-13 07:26:35 +02:00
Max Neunhoeffer 4649036943 Add and read out HLC time stamps in HTTP headers. 2016-07-12 23:36:14 +02:00
Max Neunhoeffer 985723e468 Add HLC timestamp as HTTP header in asyncRequst and syncRequest. 2016-07-12 23:11:57 +02:00
Max Neunhoeffer 18925faf8f Merge branch 'devel' into HLC 2016-07-12 22:51:40 +02:00
Michael Hackstein c46ff5c085 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-07-12 18:07:21 +02:00
Michael Hackstein 63bad694c5 Fixed a bug with reset of new skiplist index iterator 2016-07-12 18:07:11 +02:00
jsteemann 522b23590b whitespace removal 2016-07-12 17:58:05 +02:00
jsteemann d687cd7ebe micro optimization for key generator key tracking 2016-07-12 17:16:06 +02:00
jsteemann 04992ab68d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-07-12 17:01:40 +02:00
jsteemann 94556cb9fb explicit 2016-07-12 17:01:34 +02:00
Max Neunhoeffer 386f0fe883 Remove an unused var. 2016-07-12 16:56:51 +02:00
jsteemann 76f55d84bc remove unused variable 2016-07-12 16:56:48 +02:00
jsteemann 28479d3778 explicit 2016-07-12 16:56:42 +02:00
Max Neunhoeffer 183bcb50df FIx typo. 2016-07-12 16:55:59 +02:00
Max Neunhoeffer 2c2c50aa19 Rewrite old revision strings with new HLC time stamps. 2016-07-12 16:51:25 +02:00
jsteemann 6713ec39dc Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-07-12 16:49:36 +02:00
Jan Steemann 5773154791 complaints 2016-07-12 15:37:37 +01:00
Jan Steemann d9aa695cea complaints 2016-07-12 15:36:47 +01:00
jsteemann dcfaee33e9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-07-12 15:57:40 +02:00
Jan Steemann 403ba8a30c fixed issue #1937 2016-07-12 15:57:19 +02:00
Max Neunhoeffer 846e6b6127 Merge remote-tracking branch 'origin/devel' into HLC 2016-07-12 15:10:24 +02:00
Michael Hackstein daeef23761 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-07-12 14:46:35 +02:00
Michael Hackstein d9e1f41871 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. 2016-07-12 14:46:24 +02:00
Max Neunhoeffer 17e4c05de5 Change encoding of HLC time stamps, tolerate old ticks in _rev. 2016-07-12 14:01:33 +02:00
jsteemann e03cf68861 ignore revision ids 2016-07-12 13:54:41 +02:00
Jan Steemann 1719d3c993 fix destructuring of Externals in MERGE 2016-07-12 13:37:39 +02:00
Jan Steemann 233453bb42 ignore primary and edge indexes during cluster restore 2016-07-12 10:18:12 +02:00
Jan Steemann 3705a1d2f9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-07-12 09:45:52 +02:00
Jan Steemann 6f3091e30a fix recovery issues 2016-07-12 09:45:45 +02:00
Jan Steemann 94bd64d9ab fix complaining about null keys 2016-07-12 09:42:32 +02:00
Jan Christoph Uhde 4f357502b0 fix: add missing mutex 2016-07-12 09:30:49 +02:00
Max Neunhoeffer 7571a16c9d Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-07-11 23:46: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 Steemann 2d7faa795a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-07-11 18:39:18 +02:00
Jan Steemann 10db618129 fix recovery 2016-07-11 18:36:00 +02:00
Jan Steemann fe25732635 ignore document not found on recovery 2016-07-11 15:40:42 +02:00
Jan Steemann fe845d4b7a respond with better error message 2016-07-11 13:42:14 +02:00
Frank Celler 36a9b7852e Merge branch 'devel' into HLC 2016-07-11 07:03:49 +00:00
Michael Hackstein 9f60536584 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-07-11 08:58:59 +02:00
Jan Steemann cb14a63778 pass UDF name into UDF call via this argument 2016-07-08 14:31:14 +02:00
Andreas Streichardt 256d5b818d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-07-07 18:50:24 +02:00
jsteemann ba8a8a8afe Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-07-07 16:56:17 +02:00
jsteemann 3c536d6aff do not make options hidden 2016-07-07 16:56:07 +02:00
Max Neunhoeffer a98916d755 Merge branch 'devel' into HLC 2016-07-07 15:23:24 +02:00
Jan Steemann 351f800eb1 fix upsert 2016-07-07 15:15:43 +02:00
Jan Steemann 3e50e06140 fixed comment 2016-07-07 15:15:42 +02:00
Jan Steemann 664cf840e7 fix assertion failure 2016-07-07 13:24:07 +02:00