1
0
Fork 0
Commit Graph

10341 Commits

Author SHA1 Message Date
Kaveh Vahedipour 8d9e636779 fixing follower agency compaction 2016-07-01 10:36:54 +02:00
Kaveh Vahedipour 204a57940d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-07-01 09:33:45 +02:00
Kaveh Vahedipour afbddb643b compaction bug on followers 2016-07-01 09:33:34 +02:00
jsteemann 0aaf58837b babify cluster import 2016-06-30 18:29:04 +02:00
Jan Steemann b4159ade4e always adjust tick values when loading collections and when modifying documents with _rev value specified 2016-06-30 18:04:03 +02:00
jsteemann f145c79f10 initialize variable 2016-06-30 15:41:41 +02:00
Frank Celler 89a6419b4b fixed periodic jobs: only one instance should be running 2016-06-30 14:57:50 +02:00
Kaveh Vahedipour 7dcee21432 bug fixes agancy backported from devel 2016-06-30 14:04:26 +02:00
Kaveh Vahedipour bfbc89f4f9 bug fixes agancy backported from devel 2016-06-30 14:00:52 +02:00
Kaveh Vahedipour 07bba4a9a9 bug fixes agancy backported from devel 2016-06-30 13:50:12 +02:00
Jan Steemann 6c2f9148cc increase max. number of collections to 256 2016-06-30 13:44:31 +02:00
Jan Steemann 3016fad94c issue #1915 2016-06-30 13:44:25 +02:00
Jan Steemann b05d4f7681 issue #1914: fix unterminated buffer 2016-06-30 13:15:10 +02:00
jsteemann 42b83af963 micro optimizations 2016-06-29 23:34:58 +02:00
jsteemann 77e19df7c7 reuse operation cursors for const expressions 2016-06-29 22:56:42 +02:00
jsteemann e554f5463a primary index and cursor optimizations 2016-06-29 22:13:24 +02:00
jsteemann aa4591193a removed unused Json include 2016-06-29 22:01:36 +02:00
jsteemann 10367c1de4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-29 17:44:29 +02:00
jsteemann dd92e97c03 speed up primary index lookups 2016-06-29 17:44:03 +02:00
Kaveh Vahedipour 29acdad6bf unnecessary double condition 2016-06-29 17:42:41 +02:00
Jan Steemann 4642d2932e do not use revision id comparisions for compaction, but marker addresses 2016-06-29 15:59:35 +02:00
Kaveh Vahedipour e922909d6d empty arrays handled wrong 2016-06-29 15:39:51 +02:00
Kaveh Vahedipour 4c8ae6e5c5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-29 14:59:16 +02:00
Kaveh Vahedipour 1baf2050c6 waitForCommited bug in agency fixed 2016-06-29 14:54:05 +02:00
Michael Hackstein 712e495fe2 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-29 13:08:13 +02:00
Michael Hackstein 59dd29e760 Improved OperationCursor. It now uses unique instead of shared ptr. It was never shared anyways. Also many more places now use direct MasterPointers in favor of OperationResults. Also added a generic IndexIterator nextBabies function. 2016-06-29 13:08:07 +02:00
jsteemann 9db548ff40 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-29 12:53:24 +02:00
jsteemann 4a5b75b485 escape Unicode characters in JSON dumps 2016-06-29 12:53:08 +02:00
Jan Steemann 0fea8cc711 add write collections before read collections 2016-06-29 11:10:27 +02:00
Jan Steemann 71c778e0bb Visual Studio 2016-06-29 09:53:42 +02:00
Jan Steemann eea20e5fa2 fix VS warnings 2016-06-28 17:23:49 +02:00
Jan Steemann 8002607b67 prevent VS warnings 2016-06-28 17:16:48 +02:00
Kaveh Vahedipour 516127aeb2 checking and documenting 2016-06-28 14:39:17 +02:00
Michael Hackstein 433d89b2d7 Removed unused imports 2016-06-28 14:07:15 +02:00
Michael Hackstein 12dc78450f Removed dead code. 2016-06-28 13:40:09 +02:00
Kaveh Vahedipour ff0fed4d37 some additional checking of vector bounds and assertions 2016-06-28 11:02:10 +02:00
Kaveh Vahedipour 363556bbf6 some additional checking of vector bounds and assertions 2016-06-28 11:01:50 +02:00
Kaveh Vahedipour 4c41193796 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-28 11:00:43 +02:00
Kaveh Vahedipour 2152566d29 some additional checking of vector bounds and assertions 2016-06-28 11:00:36 +02:00
jsteemann b6fd7d0c23 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-28 10:45:46 +02:00
jsteemann 664788eb75 make usage of SimpleAttributeEqualityMatcher consistent 2016-06-28 10:45:25 +02:00
Kaveh Vahedipour 5fd847c2e9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-28 10:45:23 +02:00
Kaveh Vahedipour 811275889f too ambitious minimum election time in agency for wait-for-sync 2016-06-28 10:45:13 +02:00
jsteemann 07571f45c0 micro optimizations 2016-06-28 10:22:34 +02:00
Kaveh Vahedipour e06a5bc70f some additional checking of vector bounds and assertions 2016-06-28 09:26:33 +02:00
Kaveh Vahedipour 72045d3021 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-27 17:11:29 +02:00
Kaveh Vahedipour 2f4fcba0c8 supervision missed a leadership change while getting unique ids 2016-06-27 17:11:18 +02:00
Michael Hackstein 65c82ee38e Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-27 16:57:54 +02:00
Michael Hackstein 808cb97707 Fixed a bug in SHORTEST_PATH using a distance attribute. In some cases the computed path was not correct. 2016-06-27 16:57:47 +02:00
Kaveh Vahedipour e6ccc76d36 bogus matching entries warnings 2016-06-27 13:42:54 +02:00
Kaveh Vahedipour 5326e35b3b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-27 13:37:11 +02:00
Kaveh Vahedipour 58e1b8fe0d agency will hold back responses until such time that leader has been elected 2016-06-27 13:37:04 +02:00
Max Neunhoeffer c1ea48b699 Fix a deadlock in the Constituent. 2016-06-27 13:35:11 +02:00
Max Neunhoeffer 5a6b5af02a Ensure that Store::_agent is set when first used.
This fixes a data race at startup.
2016-06-27 12:13:25 +02:00
jsteemann b56cf9f903 optimized away an unneeded shared_ptr 2016-06-25 23:48:09 +02:00
jsteemann e340b2d710 more index optimizations 2016-06-25 19:34:18 +02:00
jsteemann f65610ba23 more index optimizations 2016-06-25 18:26:08 +02:00
jsteemann 71a0ebb24a optimizations for edge index lookups 2016-06-25 15:55:11 +02:00
jsteemann 96e2473ae2 fixed "collection is a nullptr" issue when starting a traversal from a transaction 2016-06-25 15:54:14 +02:00
jsteemann c18ec8589b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-24 17:24:00 +02:00
jsteemann 50cbf416b3 optimizations for primary index lookups 2016-06-24 17:23:43 +02:00
Wilfried Goesgens b126df61c2 Improve error handling for invalid graph definitions 2016-06-24 17:18:10 +02:00
Max Neunhoeffer 23fe65688f Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-24 16:55:59 +02:00
Kaveh Vahedipour 37d5956bec Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-24 16:52:42 +02:00
Max Neunhoeffer fe4a8e4695 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-24 16:38:11 +02:00
Kaveh Vahedipour 1043af68f7 agency will hold back responses until such time that leader has been elected 2016-06-24 16:37:57 +02:00
Max Neunhoeffer b1395ce1bd No longer use return value of next() method of ArrayIterator. 2016-06-24 16:37:49 +02:00
jsteemann 4bfc58b8a9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-24 16:24:49 +02:00
jsteemann c0a716e28d performance optimizations for primary index lookup 2016-06-24 16:24:39 +02:00
Kaveh Vahedipour 6d1d1e6b0b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-24 15:37:08 +02:00
Kaveh Vahedipour bbade806c3 more agency tests 2016-06-24 15:36:57 +02:00
jsteemann 274801b7b6 issue #1891: renamed to OUTERSECTION 2016-06-24 14:07:41 +02:00
jsteemann 04b29e9c34 optimize handling of `[*]` operator in case no projection, no filter and no offset/limit values are used 2016-06-24 14:04:30 +02:00
jsteemann daf6d42683 optimize away some more filter parts of type `"const" IN collection.attribute 2016-06-24 14:03:58 +02:00
Kaveh Vahedipour a54c66ea2f vectorized arrays in key-value-store 2016-06-24 12:17:40 +02:00
jsteemann 6769130f33 enable import API for cluster 2016-06-24 10:53:00 +02:00
Kaveh Vahedipour 0a7decc303 this is the end of CommLock as we know it ... 2016-06-24 10:48:10 +02:00
jsteemann 50c3aa93a9 issue #1891: added AQL function `DIFFERENCE` to return the symmetric difference of its input arguments 2016-06-24 10:35:49 +02:00
Kaveh Vahedipour 761b16e407 added 'in'-check for agency precondition 2016-06-23 17:17:03 +02:00
Kaveh Vahedipour f673b5c5cc Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-23 15:51:06 +02:00
Kaveh Vahedipour f510275562 added 'in'-check for agency precondition 2016-06-23 15:50:58 +02:00
Kaveh Vahedipour d125d21912 added 'in'-check for agency precondition 2016-06-23 15:49:06 +02:00
jsteemann 8f0991e18e potential performance optimizations
simplifications

small optimizations
2016-06-23 14:47:44 +02:00
Wilfried Goesgens dd5e2b1c1b Fix warning message - the algorithm adds dashes, no need to do this here. 2016-06-23 13:15:50 +02:00
Kaveh Vahedipour cd9175a409 this is the end of CommLock as we know it ... 2016-06-23 13:09:58 +02:00
Kaveh Vahedipour 9003a50537 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-23 12:51:38 +02:00
Kaveh Vahedipour cf685fa444 no more agency locks in cluster info 2016-06-23 12:51:05 +02:00
jsteemann 7496fa2c67 issue #1894: make list of edge collections unique in traversal 2016-06-23 12:17:04 +02:00
Kaveh Vahedipour 1a8636c34c removing more locks from cluster-agency communication 2016-06-23 11:14:21 +02:00
Kaveh Vahedipour ab0b3fc321 agency test waits exactly for the leader election to have ended 2016-06-23 10:52:43 +02:00
Kaveh Vahedipour b40e5a3d24 agency test waits exactly for the leader election to have ended 2016-06-23 10:48:26 +02:00
Kaveh Vahedipour d55c85f8fa no commlockers in ClusterFeature anymore 2016-06-22 18:19:12 +02:00
Kaveh Vahedipour 11a36db83c getting rid of locks in cluster comm 2016-06-22 16:42:43 +02:00
Kaveh Vahedipour 34aed57a6d adding IN operator to kv-store 2016-06-22 14:44:43 +02:00
Kaveh Vahedipour 4f6f22928b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-22 13:15:44 +02:00
Kaveh Vahedipour a6d5c61029 forward in removing locks in AgencyComm 2016-06-22 13:15:36 +02:00
Jan Steemann 992da3d4f0 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-22 11:15:18 +02:00
Jan Steemann 4038c21c10 reserve buffer ahead of time 2016-06-22 11:14:50 +02:00
Kaveh Vahedipour 48832c2d52 fix agency test error 2016-06-22 10:14:00 +02:00
Kaveh Vahedipour dcc2b257e3 fix agency test error 2016-06-22 10:02:30 +02:00