1
0
Fork 0
Commit Graph

281 Commits

Author SHA1 Message Date
Simran 34ec56d421 Feature/misc spelling corrections (#5164) 2018-07-13 13:06:20 +02:00
Tobias Gödderz fc3e11dbbc Async AQL (#5806)
* Modified header to new initializeCursor API

* Adapted initializeCursor to DONE/WAITING API. Compiles but not tested and no one reacts to WAITING state, it is not returned anywhere yet

* Subqueries now expect a WAITING return from initilize cursor. However they will just return a nullptr and pretend the query is empty, this will be fixed later

* First attempt to simulate thread waiting over information within the query

* Small fix to allow for isDirect handlers to go to sleep.

* Waiting in the necessary places now for the async request to be send.

* Thank you auto-casting compiler, you are totally right i absolutely wanted to use this bool value as an index in may Array. How could i possibly not want to use it here?

* Include cond-var header

* Fixed mutex/cond_var usage

* Added oldAPI wrappers in AQL Blocks for get/skip some variants. This Commit compiles but is NOT tested

* Let getSome now return unique_ptr of AqlItemsBlocks. Also implemented the async variant of getSome in subqueries.

* Removed all references to OLD implementations in AQL. only the base wrappers are allowed to call OLD functions from now on. Now the testing part starts

* Fixed endless virtual recursion

* Implemented new getOrSkip API in SortBlock

* Implemented new getOrSkip API in LimitBlock

* Initilaize all variables

* Fixed logic bug in SubqueryBlock

* getBlock in ExecutionBlock now returns a state. All blocks need to handle this properly!

* Createad a wrapper getBlockOld that servers the old sync api and is used now in AQL. To be replaced overtime.

* Added IndexBlock::skipSome and IndexBlock::getSome

* getBlock now returns its old return value along with the state

* Switch from getBlockOld to getBlock in IndexBlock::skipSome

* Switch from getBlockOld to getBlock in IndexBlock::getSome

* ShortestPathBlock::skipSome is not implemented! Added a regression test

* Attempt to fix SubQueryResult memory management

* Fixed LIMIT Block

* Moved from ShortestPathBlock::getSomeOld to ::getSome

* Implemented ASYNC api on SingletonBlock

* Adapted EnumerateCollectionBlock to new async API

* Fixed FilterBlock and adapted return block to async API

* Adapted NORESULTS block to async AQL api.

* Adapted Modification Blocks to async API

* Fixed some initialize cursor functions to reset values required during get/skipSome

* First steps to adapt ClusterNodes to Async AQL api. Not there yet, need to implement the core still

* Added asnyc implementation for xxxForShard in ClusterBlocks. This commit changes internal logic of _doneForShard. Needs additional testing as soon as everything is in place.

* Adapted CalculationBlock to async API

* Adapted TraversalBlocks to ASYNC Aql. This is not optimal yet, we need a better decission if we are DONE or not on RETURN

* Adapted EnumerateListBlock to Async AQL api

* Adapted RemoteBlock to ASYNC API in getSome/skipSome. The whole thing is now LIVE in the cluster. Exetensive testing to be started now

* Fixed IndexBlock WAITING behaviour if Waiting occurs during a index processing

* Adapted IReasearchViewBlock to ASYNC AQL API

* Fixed SortingGatherBlock in WAITING state.

* Adapted IResearch ExecutionBlockMock to Async API

* Unified the HASMORE/DONE distinction. Code is much more readable now and harder to get incorrect 👍

* Implemented tonly heoretically reachable function of non void function.

* Fixed last commit

* Added inline TODO comments

* fix warning

* Fixed a clearing logic bug in RemoveNodes

* Fixed Error Handling in RemoteBlocks. Also fixed a logic bug (true/false simply has a 50% chance of getting it wrong) in Distribute and Scatter.

* remove unused methods

* Fixed failure test

* implement skipping

* Moved the Query Waiting out of the ExecutionEngine.

* changed one of the collect blocks

* Removed _upstreamState from ExecutionBlockMock, that is in the base-class now

* Added a Test Mock for a an ExecutionBlock that simulates the WAITING/HASMORE/DONE api.

* do not check "hasMore" if not necessary

* Added DistinctCollectBlock::getOrSkipSome from ~Old and changed its return type

(still uses getBlockOld)

* Save state to resume in DistinctCollectBlock::getOrSkipSome

* Extracted redundant code

* fixed some ops

* added one more test

* fix endless blocking

* fix compile error

* fix test

* Refactored HashedCollectBlock::getOrSkipSome

* Return blocks to the manager

* Replaced usage of getBlockOld in HashedCollectBlock::getOrSkipSome

* remove unused shutdown calls, simplify ownership for expressions

* Removed superfluous variable

* Capture const variable by value

* Removed SortedCollectBlock::getOrSkipSomeOld in favour of getOrSkipSome

* Added a working version of SortedCollectBlock::getOrSkipSome

Has yet to be cleaned up

* Removed isTotalAggregation special treatment

* On no input, return a group of nulls (instead of no group at all)

* Bugfixes

* Simplified code

* Move return to the end, eliminate duplicate code

* Corrected skipped count in HashedCollectBlock

* Aligned getNextRow() implementations

* Added comments

* some cleanup

* fix potential memleak

* Bugfix

* Fixed failure tests

* Removed usage of getBlockOld in ExecutionBlock::getOrSkipSome

* Replaced hasMore with an async implementation (mostly)

* Removed getBlockOld()

* Added hasMoreState to the AQL API (and renamed hasMore methods to hasMoreState)

* RemoteBlock now uses the async hasMoreState route

* remove job queue

* options

* Bugfixes in the async implementation of LimitBlock

* LimitBlock::getOrSkipSome now always skips when calculating the fullcount

* fix compile warnings

* restrict threads

* Fixed api of Waiting ExecBlockMock. Unused yet

* Made SortedGatherBlock async-capable

* Removed nonEmptyIndex hack

* Removed duplicate traceGetSome~ calls, moved all to getSome

* Added asserts before replacing getNr*Registers

* Added a TODO note and a comment

* Removed getSomeWithoutRegisterClearoutOld()

* Removed skip()

* Removed common code by using getNr*Registers()

* Use getNr*Registers() in the TraversalBlock as well

* started to add lane

* started to add lane

* added lane

* completed lane

* removed debug output

* fixed merge

* Began working on a test suite for AQL tracing/profiling

* Added more tests and asserts in aql-profiler

* Made some ExecutionBlocks final

* Added a type enum to all blocks and the per-block stats

* Add block type to stats nodes when tracing AQL on block level

* Removed initializeCursor call from instantiateFromPlan

* Avoided additional getSome calls after DONE

* Added more profiler tests

* Refactored ExecutionBlock::getOrSkipSome and fixed two bugs

- set _upstreamState also when skipping
- explicitly use xecutionBlock::getHasMoreState()

* Bugfix: update state

* Reuse parent _skipped wherever possible; rename where not (LimitBlock)

* Simplified SortedCollectBlock::getOrSkipSome and reused general pattern & code

* Implemented missing virtual function (with USE_FAILURE)

* Reset neccessary values during initializeCursor

* Simplified code in EnumerateListBlock a little

* Added a test for DistinctCollectBlock in aql-profiler

* Avoid redundant getSome calls in DistinctCollectBlock

* fix compilation

* Fixed DistinctCollectBlock profiler test

* Added a second profiler test for the DistinctCollectBlock

* Added a profiler test for EnumerateCollectionBlock

* Bugfix in EnumerateListBlock

* added --server.fifoN-size

* Simplified EnumerateCollectionBlock::getSome

* Simplified EnumerateCollectionBlock::getSome, and return HASMORE less often when DONE

* Fix testEnumerateCollectionBlock1 for mmfiles

* do not pass by reference

* Fixed compile error

* fixed merge conflicts

* Added profiler tests for EnumerateCollectionBlock

* Test fix for mmfiles

* Fixed IResearch tests

* Bugfix in DistinctCollectBlock and a regression test

* Updated comment

* Bugfix for query statistics in cluster

* Check plan in distinct test

* Fix aql-profiler tests in cluster

* Removed unused line / bugfix for single server test runs

* This commit implements waking up of AQL queries. (#5651)

* Non-compiling intermediate commit for handover.

* Make branch compile again

* Started implementation of continueable rest cursor handler by moving the callbacks to the outer part. This is not yet fully tested!

* Made finalizeExecute noexcept. We cannot react to this errors as the response was potentially written before. Also introduced continueExecution in the RestHandler engine.

* First successful query wakeup.

* The wakeup callback now posts on the scheduler directly. A resthandler only needs to provide a callback that encapsulates the continueExecution call on this handler

* renamed finalizeExecute to shutdownExecute

* Added a differentiation between Handler and Callback in Query continuation. Handler will be posted in IO service. Callback will be executed directly

* fix audit log

* Removed callback from deleteQueryCursor. This cannot be waiting

* use CONDITION_LOCKER

* removed yet another thread-local variable

* Fixed forward declaration

* Made RestAqlHandler repeatable

* Use defer to close the query in RestAqlHandler. Now waiting will close the query as well.

* Added a mutex in the RestHandlers to make sure if the callback over network is too fast that there is only one Thread running in the RestHandler

* Captured the GeneralCommTask if it is posted to a RestHandler. This is necessary in the PAUSED case

* Refactoring of _noLockHeader responsibilities. Now the BaseHandler selects them and resets them after it is done. Only Coordinators are allowed to define them if a query is loaded.

* Removed reaction to existing nolockheaders in Coordinator Query Planning Phase

* Removed incorrect assertion.

* Further refactoring of NoLockHeaders. Now there is a wrapper class around it which allows for debugging and logging. The state now seems to be better. Also all non-rest-handler triggered queries clean up the NoLockHeaders properly.

* Fixed UserManager, now deletes nolock headers properly

* Swing to the Symphony of Destruction

* Forgot about community build...

* Fixed compiling of Catch tests

* Fixed community build

* need thread for size

* Made the restSimpleHndler repeatable

* Implemented dump and dumpSync in Cursors, Sync will block a thread, dump allows to wait, only relevant for Streaming cursor

* Reactivated StreamingCursors

* Removed debug output.

* Fixed false query continuation

* Reset thread output to non-debug

* Added missing return statements

* Allow some CollectionMethods to hand-in a context that may contain a transaction. This is meant to honor nolock headers.

* Fixed hidden merge conflict

* Bugfix in aql-profiler.js: use plan.nodes order, not stats

* Added two profiler tests for filter

* Avoid too many getBlock calls in the FilterBlock

* Removed debug output

* RemoteBlock API will now send a done(bool) flag whenever we request documents from remote Servers. It is possible that we are DONE and have a result. The pre 3.4.0 API uses exhausted which is exclusive to a result. This API is still implemented for beckwards compatibility.

* Implemented an executeSync function in AqlQuery. This will block the thread until query execution is complete

* Added another test for FILTER, and one test for the HashedCollectBlock

* Added more tests for HashedCollectBlock; avoid unneccessary getSome calls

* Added an profiler IndexBlock test

* IndexBlock: avoid redundant getSome calls, added missing traceGetSomeEnd calls

* Added a second test profiling IndexBlock

* Added a third test for IndexBlock

* Moved general code to module

* Moved noncluster tests into a separate file

* Split aql-profiler testsuite into three files

* Added profiler tests for LimitBlock

* Added a test for NoResultsBlock

* Added profiler tests for TraversalBlock

* Shutdown of an AQL query is now asynchronous. However in Error-Cases it will be executed in a blocking way still

* Optimized TraversalBlock getSome calls due to new (nightly) test results

* Fixed std::min calls I broke

* Let shutdown calls in AQL wait, if the query is executed successfully.

* Fixed queryResult going out of scope

* fix compile error through merge conflict with devel

* Fixed compiler warning "mismatching tags"

* Removed debug log output

* Added TODO notes

* Fixed test fail due to devel merge

* Fixed some invalid sync waiting implementations

* Added a profiler test for SortBlock

* Added profiler tests for SortedCollectBlock

* Fixed bug introduced by devel merge

* Fixed Remoteblocks ignoring errors!

* Added some more continue Callbacks in used places. And removed debug log

* Removed debug log output

* Suppress clang warnings

* Bugfix: use of invalid stack pointer

* Bugfix: RemoteBlock::shutdown now sends code as int, not string

* Revert "Suppress clang warnings"

This reverts commit 05591649c59743c992edd5e78814edc8ca2a83e0.

* Bugfix: cleanup state in RemoteBlock ::shutdown, ::getSome and ::skipSome

* Bugfix in Subquery shutdown: don't skip subquery shutdown when main query shutdown failed

* Allow copy elision
2018-07-09 14:24:10 +02:00
Wilfried Goesgens bd8976956c Doc - Add example anchors (#5752) 2018-07-06 16:19:36 +02:00
Simon f47367a495 Allow dumping / restoring of views (#5774)
* allow dumping and restoring of views

* fix restore, adding some tests

* remove debug print

* fix global replication
2018-07-05 17:55:28 +02:00
maxkernbach 10a2709318 Doc - fix documentation build script + a few other things (#5751) 2018-07-03 18:12:36 +02:00
Jan b88fde9659
added key generators "uuid" and "padded" (#5740) 2018-07-03 15:23:47 +02:00
Simon 545561e9a9 Read only server (#5652) 2018-07-03 09:58:16 +02:00
Jan 5ce22a3bc9
make API for POST /_api/aqlfunction downwards-compatible again (#5636) 2018-06-20 12:52:54 +02:00
Jan Christoph Uhde edd3168023 add test for RocksDB exclusive collections in js transactions (#5469) 2018-06-01 18:38:39 +02:00
Wilfried Goesgens 59390ef374 Doc - Improves fetch-script. Fresh Swagger. Sync external repos (#5463) 2018-05-28 16:29:30 +02:00
Jan Christoph Uhde a2dcb6cc5d WIP - start adding optional overwrite to insert operation (RepSert) (#5268) 2018-05-24 19:47:15 +02:00
Jan 7f37314df8
added REST API endpoint GET /_admin/server/availability (#5251) 2018-05-04 11:31:05 +02:00
Wilfried Goesgens 7646d02702 Documentation/re add link (#5241) 2018-05-02 11:09:12 +02:00
jsteemann a95a9b0db0 fix documentation 2018-04-30 19:14:18 +02:00
Wilfried Goesgens c4b0ccb56f Doc - fix restheader (#5209) 2018-04-27 13:15:42 +02:00
Simon 95c8710dec Fixing subqueries in aql profiler (#5195)
* Fixing subqueries in aql profiler

* Adding additional testsuite

* Fix AQL profiling example name, add API example

Also use different query for explain and profiling with SLEEP() for
non-zero runtimes.

* New/updated examples for query explain/profiling

* Fix runtime calculation
2018-04-25 13:35:55 +02:00
Simon 468231efc5 AQL Profiling code (#5165)
* initial start of profiling

* adding profiling code

* Fixing remote block tracing, fixing width and units

* Fixing some tests

* Various fixes

* adressing review comments
2018-04-24 16:17:30 +02:00
maxkernbach 0c13321694 Doc - Issue #4868 (#5070)
fix early doc block ending
2018-04-10 11:05:44 +02:00
Manuel B 028eabc297 Doc - more AQL examples (#5016) 2018-04-09 11:48:36 +02:00
Frank Celler 59953d641c
added /_admin/status (#5055) 2018-04-08 20:43:18 +02:00
Dan Larkin-York 690bb61c8e Doc - Documentation for cluster health API (#4834) 2018-03-23 11:10:42 +01:00
Vasiliy 399c1ce2f0 manually-merge: add more tests, backport some miscellaneous fixes 2018-03-20 16:40:35 +03:00
Manuel B ffe11c652a Doc - check for no new line after restdescription (#4883) 2018-03-19 20:40:09 +01:00
Jan 5fd0bb7dbf
removed remainders of dysfunctional `/_admin/cluster-test` and `/_admin/clusterCheckPort` API endpoints and removed them from documentation (#4861) 2018-03-18 22:48:09 +01:00
Jan 89bde50c93 Doc - Fixes issue #4868 2018-03-16 18:16:25 +01:00
Simon eb709e0dd8 Using stream cursor in arangoexport and arangosh (#4807) 2018-03-12 09:41:43 +01:00
Simon 5609cbf517 Deadlock detection uses TransactionID instead of Thread ID (#4787) 2018-03-09 18:35:38 +01:00
Simon 102998dd65 Streaming Query Cursor (#4769) 2018-03-08 09:18:41 +01:00
Wilfried Goesgens 8297fd38b8 Doc - Fix doc build attempt 2 (#4744) 2018-03-02 15:02:42 +01:00
sleto-it 0ba532b16a
Doc - Replication Refactor - Part 1 (#4555)
Next steps after DC2DC and Cluster doc improvements:

- We refactor replication sections and make more intuitive separation between Master/Slave and the new Active Failover in 3.3
- We create corresponding sections for Master/Slave and Active Failover in the Administration and Deployment chapters, as well as in the Scalability chapter, where these "modes" are introduced
- We touch and improve the "Architecture" chapter as well, where some architecture info have to be placed
- We reorg the TOC having in more "logical" order:
-- Deployment
-- Administration
-- Security
-- Monitoring
-- Troubleshooting
- We adds parts in the TOC
- We add toc per pages, using page-toc plugin
- We also put close together "Scalability" and "Architecture" chapters, preliminary steps of further improvements / aggregation
- We improve swagger

Internal Ref:
- https://github.com/arangodb/planning/issues/1692
- https://github.com/arangodb/planning/issues/1655
- https://github.com/arangodb/planning/issues/1858
- https://github.com/arangodb/planning/issues/973 (partial fix)
- https://github.com/arangodb/planning/issues/1498 (partial fix)
2018-02-28 12:23:19 +01:00
Vasiliy 423ce33ed1 Changes since last PR: remove 'dataPath' IResearchView configuration property and use a hardcoded path similar to a LogicalCollection (#4683) 2018-02-27 18:10:32 +01:00
Simon 11a7bbf321 Replacing statistics handler with c++ (#4653) 2018-02-26 15:33:43 +01:00
Wilfried Goesgens 4edbcc58f0 remove old way to invoke unittests (#4648) 2018-02-21 18:28:49 +01:00
Wilfried Goesgens 878ee09df9 remove long gone long_echo functionality (#4645) 2018-02-21 16:34:52 +01:00
Mark cd97787adf Fix Foxx API (#4614) 2018-02-20 10:22:27 +01:00
Andrey Abramov d130e0f7c6 Bug fix/internal issue #350 (#4601) 2018-02-15 18:57:08 +01:00
Wilfried Goesgens 139aca6967 Doc - fix examples (#4579) 2018-02-13 20:32:01 +01:00
Wilfried Goesgens 619155a62d Feature/aqlfunction to cpp (#4573) 2018-02-13 11:50:49 +01:00
Simon 35136a89c0 Fix some problems with active failover (#4540) 2018-02-09 15:11:53 +01:00
Mark 599da158b5 Bugfix Foxx API tests (#4446) 2018-02-05 11:31:27 +01:00
Vasiliy aa041ddfb9 locally tested only (#4476) 2018-02-05 11:24:34 +01:00
Wilfried Goesgens 054989cd41 Documentation/rename iresearch files (#4456) 2018-01-29 17:23:18 +01:00
Kaveh Vahedipour 739d483724 distributeShardsLike documented for /_api/collection (#4410) 2018-01-25 15:24:38 +01:00
Andrey Abramov a1cfb3d72b Feature iresearch (#4105) 2018-01-19 14:23:58 +01:00
Mark 62f262fc6a REST API docs: POST /_api/cursor: Add skipInaccessibleCollections (#4288) 2018-01-12 11:15:39 +01:00
Jan 2a96df5ca5
Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
Jan baf633f953
fixed example (#4043) 2017-12-14 23:40:36 +01:00
Max Neunhöffer 8634a1d4c6 Harmonize capitalization of Etag in the documentation. (#3814) 2017-11-27 20:16:31 +01:00
Jan ba9bc41457 fix some typos in code and docs (#3671) 2017-11-13 17:33:36 +01:00
Simon Grätzer 87f441753b RocksDB WAL tailing fixes (#3595) 2017-11-10 09:31:53 +01:00
m0ppers b552853909 Feature/optional replication factor enforcement (#3570) 2017-11-02 21:41:25 +01:00
jsteemann f3469e73d4 fix documentation 2017-10-19 14:23:04 +02:00
Wilfried Goesgens 107344eeee Add documentation for the loglevels, so the swagger becomes useable for users to choose their loglevel with it. (#3406)
* Add documentation for the loglevels, so the swagger becomes useable for users to choose their loglevel with it.

* implement review
2017-10-13 12:30:45 +02:00
Mark e48a4e85d0 Foxx docs improvements (devel) (#3279)
* Document single file in Foxx

* Add docs install Foxx service
2017-09-18 14:58:36 +02:00
jsteemann 74f6dca8f1 hotfix: fix examples in documentation, so the examples actually build 2017-08-23 14:19:36 +02:00
Simon Grätzer 6c2ea0a246 Fixing wrong response for DELETE _api/users/database (#3094)
* Fixing issue 2847

* Added changelog entry and additional http_server test

* Update CHANGELOG
2017-08-23 11:08:32 +02:00
Jan Christoph Uhde df76bbc690 Bug fix/planning issue 514 replication api (#3021)
* add "cluster selectivity estimates" to CHANGELOG

* add some documentation to RocksDBRestReplicationHandler

* fix building with relative paths

* add some more doc

* add some tests for the replication api

* fix RocksDBRestReplicationHandler and add tests

* update documentation

* remove obsolete parameter

* fix error message

* Implementing logger-first-tick, logger-tick-ranges. Fixing dump `chunkSize` documentation
2017-08-22 10:46:06 +02:00
Jan 6180fcfdd1 Bug fix/prevent multiple journals (#3027)
* prevent multiple journals

* fix documentation

* remove _nrDesired, as it is not used anymore
2017-08-15 23:02:08 +02:00
Jan 0238d651fb Bug fix/3.2.1 issues (#3009)
* fix documentation

* fix crash in explain
2017-08-09 16:49:24 +02:00
Jan bfa1051345 Feature/slow queries log bind vars (#2954)
* add bind variables when logging slow queries, and make this configurable

* added bind variable tracking
2017-08-04 20:45:12 +02:00
Jan e6ba5713ca fixed issue #2943 (#2945) 2017-08-04 13:37:35 +02:00
Jan 33a7b8b853 Bug fix/mini issues (#2878)
* ignore some return codes when closing zip files and do not report them

* hide mostly useless debug message

* clear basic authentication cache after deletion of users and after updating them

otherwise deleted/changed users can still access the database!

* adjust wording

* added notes about mmfiles-specific parameters

* updated CHANGELOG and documentation
2017-07-27 11:37:34 +02:00
Simon Grätzer 59f75c1c3f Fix missing changelog and docs entries (#2837)
* Adding missing changelog entries

* Modified changelog

* Add index deduplication option HTTP docs

* added info about ARANGODB_DEFAULT_ROOT_PASSWORD

* Revert "added info about ARANGODB_DEFAULT_ROOT_PASSWORD"

This reverts commit 3f0241f90c4e3f59c58edda5a1f6019debae9735.
2017-07-19 17:03:28 +02:00
Simran Brucherseifer bfe7ee15d1 Docs: Remove obsolete note about missing cluster support 2017-07-18 17:48:27 +02:00
Frank Celler b0a958ae0c fixed anchor (#2816) 2017-07-16 14:53:03 +02:00
Frank Celler a692577f5b Feature/auth context (#2815) 2017-07-16 09:39:03 +02:00
Jan c4564fe163 added deduplicate array to some places in docs (#2741) 2017-07-06 17:32:35 +02:00
Frank Celler bbe7484521 Feature/auth context (#2704)
* added read-only users
2017-07-02 23:15:57 +02:00
Jan 91bce94e5c to be but not to bee (#2708)
that's not even a question
2017-07-02 12:54:21 +02:00
Alan Plum bf9c018f7b Add idiomatic flag to Foxx tests (#2693) 2017-06-29 15:12:58 +02:00
Alan Plum bbca34b210 Allow passing plain JSON data for config/deps (#2688) 2017-06-28 14:08:54 +02:00
Frank Celler d88590783d fixed typos in loadIndexesIntoMemory 2017-06-13 00:13:54 +02:00
Michael Hackstein 9edb884bc8 Feature/planning issue 188 (#2547)
* add warmup documentation - #188

* warn when relinking build directory

* add warmup documentation - #188

* warn when relinking build directory

* Renamed warmup to loadIndexesInMemory which is a better name for the current implementation of this feature.

* Adapted WebUI to state 'load indexes in memory' instead of 'warmup'

* Added loadIndexesInMemory documentation.

* Renamed loadIndexesInMemory => loadIndexesIntoMemory
2017-06-12 18:54:45 +02:00
Jan e04991ca13 add a few missing options for the HTTP API, some general documentation cleanup (#2549) 2017-06-12 18:18:15 +02:00
Frank Celler 781b02f7fb Revert "remove satelites" (#2544)
This reverts commit 5d1263a4fe.
2017-06-12 11:05:51 +02:00
Mark f832dd0388 Implement endpoint "commit coordinator state" (#2513)
Implement endpoint "commit coordinator state" (also see #2479)
2017-05-31 18:21:50 +02:00
jsteemann a35f85bcc7 added proper docs for --query.fail-on-warning 2017-05-29 15:46:48 +02:00
Alan Plum 5d017d733c Improve Foxx cluster resilience (#2479)
* Improve Foxx cluster resilience

Fixes #2083
Fixes #2384
Fixes #2408
Addresses #1892

* Port old Foxx API

* Implement single-file services

* Add console.errorStack/warnStack/infoStack helpers

* Simplify serviceInfo validation

* Extract github/upload logic into Aardvark and old FM API
* Move generator logic into Aardvark
* Move zip/js buffer logic into FM core

* Add Foxxmanager tests

* Send empty response when no README

* Disambiguate script arg format

Historically we allow passing an array of positional arguments or an arbitrary first argument.
This is surprising behaviour, so we should just always treat the value as a first argument.

* Rebuild bundle in development mode

* Nicer HTTP docs formatting

* Create Foxx HTTP docs

* Simplify service upload handling

* Remove inline swagger docs

* Implement public download route

* Consistency

* Rebuild aardvark

* Move bundle route into /_api/foxx/_local

* Rebuild Swagger API docs

* Add changes to CHANGELOG

* More docs
2017-05-16 17:41:29 +02:00
m0ppers a54caacb9f Update JSF_post_api_collection.md 2017-05-16 05:22:18 -07:00
m0ppers 17eb198c04 Update JSF_post_api_collection.md 2017-05-16 05:20:10 -07:00
Andreas Streichardt 166bd2065c Document waitForSyncReplication 2017-05-16 03:29:35 -07:00
Wilfried Goesgens 5d1263a4fe remove satelites 2017-05-12 16:23:02 +02:00
hkernbach a1d6804a1a modified documentation 2017-04-04 15:34:23 +02:00
Wilfried Goesgens d41a5cfb3f add the new engine api 2017-03-22 15:38:23 +01:00
Max Neunhoeffer b48664da21 Fix documentation. 2017-03-16 11:41:38 +01:00
Max Neunhoeffer 4017bfb296 Revise /_api/cluster/endpoints API and Documentation. 2017-03-16 11:33:46 +01:00
Max Neunhoeffer c8a205b1aa New /_api/cluster/endpoints.
Also fix documentation (and deprecate) /_api/endpoint.
2017-03-15 13:33:50 +01:00
Wilfried Goesgens 2ececd8fb0 show that we expect this setup call to fail 2017-03-15 11:23:44 +01:00
Wilfried Goesgens 88aa18b90b remove obsolete setup/teardown to non existing calls, we can't create endpoints at runtime anymore. 2017-03-15 11:12:56 +01:00
jsteemann 0941e14b92 fixed issue #2367 2017-03-09 11:27:59 +01:00
jsteemann 644ef08ce0 added "bindVars" to attributes of currently running and slow queries 2017-03-07 00:19:01 +01:00
Max Neunhoeffer d20444d183 Fix two documentation typos. 2017-03-06 15:17:51 +01:00
jsteemann b3b427c660 fixed issue #2350 2017-03-03 13:26:44 +01:00
jsteemann 3a39921147 fixed documentation and added tests for grants API 2017-03-03 12:33:13 +01:00
jsteemann cdf8fbac7f fixed misleading documentation 2017-03-03 12:05:05 +01:00
jsteemann 76db809cc0 fixed issue #2349 2017-03-03 11:45:30 +01:00
jsteemann 9ce2956d98 fix some more example snippets 2017-02-13 08:38:41 +01:00
Wilfried Goesgens 59ab494489 fix missing return codes as pointed out by ewout 2017-02-07 13:29:43 +01:00
jsteemann 75481b4299 issue #2289 2017-01-30 09:02:35 +01:00
jsteemann 9b42e9cee6 some improvements for memory management
added more memory diagnostics for memory usage:
- collection.figures() now returns a "readCache" attribute which contains the
  number of and memory usage of entries in the document revisions cache for the
  collection, and a "revisions" attribute with the number and memory usage
  of entries in the storage engine's revision lookup table for the collection
- the default value for --database.revision-cache-target-size was changed from
  75% of RAM to 30% of RAM
2016-12-15 15:30:28 +01:00
Andreas Streichardt 9238463cc1 More documentation for satellites 2016-12-08 17:38:08 +01:00
Mark 75474ad665 fixed docu PUT /_api/simple/by-example 2016-12-07 15:28:46 +01:00
jsteemann 369b2c7bc6 added optional memory limit for AQL queries 2016-12-06 13:23:41 +01:00
Simran Brucherseifer 098564f20c Clarify the transaction API's sub-attributes of collections parameter 2016-11-18 01:39:45 +01:00
Mark 94b76ed2f5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-08 14:08:17 +01:00
Mark 38dac8d774 fixed doku: get collection properties - added replicationFactor 2016-11-08 14:07:59 +01:00
Simran Brucherseifer bb5df3b73b Role is now SINGLE instead of UNDEFINED for a single instance 2016-11-08 13:50:32 +01:00
Jan Steemann b450dfd0f1 added "silent" attribute to HTTP documentation 2016-10-26 10:46:14 +02:00
Jan Steemann 5fd15812d9 updated documentation 2016-10-24 15:23:02 +02:00
Simran Brucherseifer 7b21fe309f Sharding and other collection properties can't be changed after creation 2016-10-20 12:54:26 +02:00
Wilfried Goesgens 73f87e8e01 Add two other roles we know 2016-10-14 14:15:49 +02:00
Frank Celler d22408f027 allow users to get information about themselves 2016-10-14 11:31:10 +02:00
Michael Hackstein faf6f871d3 Added Documentation for SmartGraphs via HTTP. 2016-10-13 13:37:00 +01:00
Michael Hackstein b096b09e85 Fixed JS syntax bug in gharial module 2016-10-13 13:10:43 +01:00
Simran Brucherseifer 55ae5b4bb6 Try to circumvent markdown parser quirks 2016-09-13 14:49:55 +02:00
Simran Brucherseifer 3b9c8fb4d5 Typo fixes in docs 2016-09-12 09:52:36 +02:00
jsteemann 504b102268 added HTTP REST APIs for online loglevel adjustments:
- GET `/_admin/log/level` returns the current loglevel settings
- PUT `/_admin/log/level` modifies the current loglevel settings
2016-09-08 11:15:49 +02:00
Mark e417e34d0e changed default for keepNull of modifyVertex/modifyEdge to true in Gharial 2016-09-07 10:31:35 +02:00
Mark af9585dc14 fixed Graph-API Doku 2016-09-06 15:38:22 +02:00
Wilfried Goesgens 4c04e0af35 Remove duplicate RESTURLPARAMS leading to errnous header outputs 2016-09-01 10:33:22 +02:00
Jan Steemann 84c9b301ce fixed issue #2023: added replicationFactor to docs 2016-08-29 08:55:48 +02:00
jsteemann b8bc3b2592 fixed docs 2016-08-18 16:49:34 +02:00
Simran Brucherseifer e0800cfd9b Correct HTTP docs about user parameters 2016-08-11 19:49:00 +02:00
Wilfried Goesgens e306ef019e Add missing body parameter descriptin. Thanks to @janavolkova9 for pointing this out. 2016-08-01 12:25:37 +02:00
Simran Brucherseifer 963066e42d Replace more require('internal') by require('@arangodb') where possible 2016-07-27 14:44:17 +02:00
Frank Celler c665b0499f replaced require("internal").db by require("@arangodb").db 2016-07-22 16:22:23 +02:00
Simran Brucherseifer 3010ccb403 Docs: formatting 2016-07-18 13:35:08 +02:00
Simran Brucherseifer 46afaf5005 Docs: AQL query cursors 2016-07-18 12:15:35 +02:00
Wilfried Goesgens 9e06af757c Add missing documentation of the users database list and the hint that this should be used instead of the database api. 2016-07-15 16:01:19 +02:00
Jan Steemann a1c2b7cc63 fixed issue #1941 2016-07-14 10:08:17 +02:00
Wilfried Goesgens 08b892f09f Fix documentation. 2016-07-13 15:19:58 +02:00
Wilfried Goesgens cbe634a0e6 Fix syntax errors in user auth documentation 2016-07-13 11:24:20 +02:00
Wilfried Goesgens 1b826e9292 Fix more dead links. 2016-06-14 17:13:28 +02:00
Wilfried Goesgens e0e38fbf88 Fix links. 2016-06-14 10:39:52 +02:00
Frank Celler 806f277eb1 fixed manual errors 2016-06-13 15:03:42 +02:00
Frank Celler efa3198126 added user managment 2016-06-12 21:41:45 +02:00
Frank Celler 577cc50e1f edge handling 2016-06-12 12:19:37 +02:00
Wilfried Goesgens 4af03df4d9 use backticks to hilight AQL syntax. 2016-06-09 17:45:04 +02:00
Michael Hackstein 88813b393d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-06-08 16:07:08 +02:00
Michael Hackstein c422805cd0 Fixed All examples for Graph Documentation. 2016-06-08 16:05:56 +02:00
Andreas Streichardt 496454df3f /_admin/shutdown will now need a DELETE request 2016-06-08 15:26:53 +02:00
Michael Hackstein 082a78596f Removed graph-blueprints from example files it does not work any more 2016-06-08 11:36:15 +02:00
Manuel B 5166e1b171 Update API_EDGE_REPLACE.md
as suggested by @dothebart
2016-06-07 16:36:43 +02:00
Manuel B 00b9daba91 Edge Replace: _to and _from are required
rm Note: The attributes _from and _to of an edge are immutable
2016-06-07 16:22:38 +02:00
Jan Steemann 0ef15e0fdf updated documentation 2016-06-07 15:48:59 +02:00
Jan Steemann e77a571fc4 better error messages 2016-06-07 15:48:11 +02:00
Frank Celler 0d4c08b65a fixed typo 2016-06-03 12:03:17 +02:00
Frank Celler ad3b8ac2f7 moved to docu block 2016-06-03 12:00:16 +02:00
Andreas Streichardt f43a5f44ae Obsolete? documentation seems to be in a mdpp now 2016-06-03 11:34:39 +02:00
Frank Celler d7df0ee667 updated doc 2016-06-01 17:57:20 +02:00