1
0
Fork 0
Commit Graph

7702 Commits

Author SHA1 Message Date
Richard Parker 0e3ce44885 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-02-02 14:54:54 +00:00
Richard Parker 35973ae675 Detect invalid lat/longitude on remove and searches 2016-02-02 14:52:08 +00:00
Jan Steemann bfd5d6614a fixed namespace usage 2016-02-02 15:10:44 +01:00
Jan Steemann 11736660d8 removed namespace 2016-02-02 14:41:34 +01:00
Jan Steemann 5eb9687e21 turn off deadlock detection in cluster 2016-02-02 14:02:28 +01:00
Jan Steemann 48f1ce865b don't swallow detailed return codes 2016-02-02 14:01:26 +01:00
Jan Steemann bc6fce75d4 removed some unnecessary explicits 2016-02-02 12:13:21 +01:00
Jan Steemann 45d9745756 fixed display of Traversals in AQL explain 2016-02-02 11:24:51 +01:00
Andreas Streichardt e5ec93223f Oops ... fix signature 2016-02-01 19:05:05 +01:00
Andreas Streichardt b8204d0f3c initialize cluster structure 2016-02-01 18:59:01 +01:00
Jan Steemann 22df27632a added helper method 2016-02-01 13:30:47 +01:00
jsteemann 3aed47d8e2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-02-01 13:15:05 +01:00
Jan Steemann b7abf5a40d attempt to fix Windows build 2016-02-01 12:04:28 +01:00
Michael Hackstein e0455850fc Replaced doc_mptr_copy with doc_mptr which is the correct type in this case. 2016-02-01 11:40:18 +01:00
Michael Hackstein 8fad43282d Asserted the length of the traversal condition. 2016-02-01 11:36:08 +01:00
Michael Hackstein 4e139f1865 Added an additional nullptr check. 2016-02-01 11:17:06 +01:00
jsteemann 54c796b6e8 fixed issues identified by `-fsanitize=undefined` 2016-01-31 23:30:41 +01:00
jsteemann 349a6d9754 more logging 2016-01-31 21:48:59 +01:00
jsteemann 745493763b fixed filename order in Makefile 2016-01-31 19:36:44 +01:00
jsteemann b635983d9c removed unused functions and headers 2016-01-31 19:08:39 +01:00
jsteemann ae25d2b53b removed `using namespace std` 2016-01-31 18:22:00 +01:00
jsteemann 4e94803ad7 honor results of clang-test, clang-tidy and clang-modernize 2016-01-31 15:56:18 +01:00
jsteemann 13481bbebc fix or annotate problems identified by clang-check 2016-01-31 03:32:31 +01:00
jsteemann d59595f1bf fixed leak 2016-01-31 02:22:15 +01:00
jsteemann 2d7323a560 fixed warnings shown by clang-3.7 2016-01-31 02:17:36 +01:00
jsteemann ac634b9dab fixed compile error in non-maintainer-mode 2016-01-30 14:38:31 +01:00
jsteemann 353c9732b7 removed last LOG_xxx macros 2016-01-30 04:03:18 +01:00
jsteemann dbd5c500cb remove TRI_ENABLE_LOGGING 2016-01-30 00:46:40 +01:00
jsteemann 9482ee1cca use Logger 2016-01-30 00:08:35 +01:00
jsteemann 00a68113b5 more files using the Logger 2016-01-29 23:45:10 +01:00
jsteemann ff21453255 logger transition: all files in arangod exception transactions.cpp 2016-01-29 23:28:44 +01:00
jsteemann dad0de602b preparation for logging changes 2016-01-29 23:06:44 +01:00
Jan Steemann 828f46c76b shut up compiler 2016-01-29 19:19:06 +01:00
Jan Steemann cd4cbae6ce ported fixes to devel 2016-01-29 19:05:27 +01:00
Michael Hackstein e0f0a6f1a8 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-29 14:18:05 +01:00
Max Neunhoeffer 09f974d660 Fix a merge. 2016-01-29 14:10:35 +01:00
Michael Hackstein 436c377cb5 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-29 14:01:53 +01:00
Max Neunhoeffer 238937128a Merge branch 'devel' into ClustUp2 2016-01-29 13:59:11 +01:00
Max Neunhoeffer dcf4ed8bca Sort out FollowerInfo. 2016-01-29 13:56:37 +01:00
Michael Hackstein 0b583d756a Duplicated static helper functions in AQLFunctions to be able to hadle VPack. Added a dummy for AqlValue->VPack. We have to clarify the data responsibilites before continuing here. 2016-01-29 13:42:15 +01:00
Andreas Streichardt 9850058d01 Merge branch 'devel' into waitforagency 2016-01-29 11:27:35 +01:00
Jan Steemann 2112d7c1f8 added override and final specifiers 2016-01-29 11:10:46 +01:00
Jan Steemann b82e9c692a removed unnecessary block 2016-01-29 11:10:24 +01:00
jsteemann c3fc7e1aa7 don't lock in destructor
we have a global instance of the query cache and its destruction is
called during static deinitialization after main. if we use locks in
the dtor then we will use locks during static deinitialization (which
is fine in general, but prevents us from tracking the lock usage by
threads using thread-local storage)
2016-01-29 01:12:59 +01:00
jsteemann 04d459a5db Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-29 00:51:14 +01:00
jsteemann 43639aee79 removed hint about "normal mode" as there is only a normal mode nowadays 2016-01-29 00:50:51 +01:00
jsteemann 1ca11411fd added (still disabled) optimizer rule `inline-subqueries` 2016-01-29 00:50:37 +01:00
jsteemann 7f662bac09 simplify code 2016-01-29 00:11:24 +01:00
jsteemann df68e95e06 some useful methods 2016-01-29 00:09:55 +01:00
Michael Hackstein 19a1943a8a Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-01-28 23:11:07 +01:00
Jan Steemann 5e9a36783f fixed crash 2016-01-28 20:00:22 +01:00
Andreas Streichardt b83184cfbb typo 2016-01-28 18:35:37 +01:00
Andreas Streichardt 54569ac01a Wait for agency to come up 2016-01-28 18:13:23 +01:00
Michael Hackstein 651e705ebd Introduced a new EMPTY_GRAPH error which is thrown during AQL execitions whenever the graph has no edge collections. 2016-01-28 18:07:26 +01:00
Michael Hackstein 0a421a1cc0 Finished implementation for multi-direction traversals. 2016-01-28 15:43:19 +01:00
Michael Hackstein 9c740d257c Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-01-28 14:07:56 +01:00
Michael Hackstein 582f1f46f0 Preparation for multi-direction traversals. As requested in #1683. Internal traverser can now work with one direction per collection. Next: AQL needs to learn this too. 2016-01-28 14:07:50 +01:00
Jan Steemann 58a5920aa5 another log message 2016-01-28 13:31:43 +01:00
Jan Steemann 2b57652880 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-27 19:29:13 +01:00
Jan Steemann de52abbf83 added AQL function `IS_SAME_COLLECTION` 2016-01-27 19:29:01 +01:00
Wilfried Goesgens e1a8726606 Don't optimize the traverser if there are functions on the traversal attribute side; this fixes #1684 2016-01-27 19:21:17 +01:00
Jan Steemann 37a083edca Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-27 18:53:29 +01:00
Jan Steemann 585208afcf changed directory name pattern for collections 2016-01-27 18:53:16 +01:00
Michael Hackstein d1cec2a423 Cursor dump now uses VPack instead of TRI_json_t. There is only one temporary TRI_json_t from shaped json 2016-01-27 17:28:18 +01:00
Michael Hackstein 08101cbe47 Fixed logic bug in creation of unique hash index 2016-01-27 17:27:11 +01:00
Frank Celler 175e1e6b51 moved low level mutex in Mutex class 2016-01-27 15:31:02 +01:00
Max Neunhoeffer 5375ada8a7 Add replicationFactor and replicationQuorum to properties(). 2016-01-27 15:21:55 +01:00
Max Neunhoeffer 6ff1538000 Change namespace. 2016-01-27 15:21:40 +01:00
Michael Hackstein 7360cba43a The cursor now returns VPackSlices instead of TRI_json_t 2016-01-27 14:26:36 +01:00
Michael Hackstein 19cfa3429c Fixed another cluster indexes bug. 2016-01-27 14:24:00 +01:00
Jan Steemann 9046e1831b clang-format 2016-01-27 13:43:46 +01:00
Jan Steemann 3d8a52cdf4 some refactoring 2016-01-27 13:28:19 +01:00
Michael Hackstein 32c159f352 Fixed a bug when creating indexes in cluster. Their information was not returned correctly. 2016-01-27 13:26:42 +01:00
Jan Steemann 53d268c843 pacify cppcheck 2016-01-27 09:37:23 +01:00
Max Neunhoeffer 887e571a26 Merge branch 'devel' into ClustUp2 2016-01-26 18:01:42 +01:00
Jan Steemann ad31aea8b9 TRI_datafile_t 2016-01-26 17:56:10 +01:00
Michael Hackstein 6f4d8ca509 Fixed invalid storage of Collection status in Cluster 2016-01-26 17:19:37 +01:00
Jan Steemann 1634421d3b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-26 17:09:15 +01:00
Wilfried Goesgens ac277648f3 Change the way windows eventlogging is handled: initialize it once on start.
Fix unhandled exception handler to do less resource allocation.
2016-01-26 16:50:19 +01:00
Jan Steemann ee6d77c425 some locks removed 2016-01-26 16:43:21 +01:00
Jan Steemann 7069810778 removed some low-level locks 2016-01-26 16:16:18 +01:00
Michael Hackstein b49830c106 Started migrating cursors to VelocyPack 2016-01-26 16:00:29 +01:00
Jan Steemann 3fc862f0ef changed locking macros 2016-01-26 15:39:12 +01:00
Michael Hackstein 521816670f Simplyfied a function call and thereby removed TRI_json_t in v8-vocindex 2016-01-26 13:37:50 +01:00
Michael Hackstein f9ada16a89 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-26 13:27:41 +01:00
Michael Hackstein 969ac75d19 Removed all TRI_json_t references from v8-vocindex and all it's surroundings 2016-01-26 13:27:21 +01:00
Max Neunhoeffer bee3f7e21a Cleanup ClusterComm library. Allow singleRequest asyncRequests.
Also run ClusterComm sender thread and connection manager in
single server mode.
2016-01-26 11:05:15 +01:00
Charles Phillips 1b120d8a29 fix,solaris: conflicting declaration 'typedef struct index_t index_t'
} index_t;
   ^
In file included from /usr/include/sys/stat.h:35:0,
                 from /usr/include/fcntl.h:37,
                 from ./lib/Basics/Common.h:60,
                 from arangod/FulltextIndex/fulltext-common.h:27,
                 from arangod/FulltextIndex/fulltext-index.h:27,
                 from arangod/FulltextIndex/fulltext-index.cpp:24:
/usr/include/sys/types.h:125:16: note: previous declaration as 'typedef short int index_t'
 typedef short  index_t;
                ^
2016-01-25 23:29:05 -08:00
Charles Phillips a846405545 fix,solaris: call of overloaded 'log(size_t&)' is ambiguous
return depCost + nrItems * log(nrItems);
                                         ^
arangod/Aql/SortNode.cpp:196:41: note: candidates are:
In file included from /opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.3/include-fixed/math.h:47:0,
                 from ./lib/Basics/Common.h:62,
                 from arangod/Aql/SortNode.h:27,
                 from arangod/Aql/SortNode.cpp:24:
/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.3/include-fixed/iso/math_iso.h:221:21: note: long double std::log(long double)
  inline long double log(long double __X) { return __logl(__X); }
                     ^
/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.3/include-fixed/iso/math_iso.h:189:15: note: float std::log(float)
  inline float log(float __X) { return __logf(__X); }
               ^
/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.3/include-fixed/iso/math_iso.h:89:15: note: double std::log(double)
 extern double log __P((double));
               ^
2016-01-25 23:29:05 -08:00
Jan Steemann f5d2839bf0 removed reference to unused variable 2016-01-25 18:17:50 +01:00
Jan Steemann 1e77b11090 added comment 2016-01-25 17:56:48 +01:00
Jan Steemann 5dc0a429b2 removed spinlocks and TRI_WINDOWS_VISTA_LOCKS 2016-01-25 17:55:06 +01:00
Michael Hackstein 0a63cb5d48 Removed TRI_json_t from v8-query. 2016-01-25 16:58:53 +01:00
Michael Hackstein 18b66d5c83 Removed TRI_json_t entirely from AgencyComm. Also no legacy support anymore. 2016-01-25 16:39:56 +01:00
Michael Hackstein bc1b69af70 Fixed error where a nullptr was dereferenced without any checks 2016-01-25 16:00:17 +01:00
Michael Hackstein fb136f2b00 Removed TRI_json_t from V8QueueJob. 2016-01-25 14:57:20 +01:00
Michael Hackstein 5d16679de9 Removed TRI_json_t from baground tasks 2016-01-25 14:45:55 +01:00
Jan Steemann 3dc247e18b fixed segfault 2016-01-25 14:20:06 +01:00
Jan Steemann 7800085a9b unified behavior of `RANGE` function 2016-01-25 14:19:49 +01:00
Jan Steemann 31bdc67d12 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-25 13:47:57 +01:00