1
0
Fork 0
Commit Graph

3632 Commits

Author SHA1 Message Date
Jan Steemann 0496b06cf9 error reporting 2014-07-24 14:39:59 +02:00
Max Neunhoeffer 00b9106dd3 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-07-24 14:13:49 +02:00
Max Neunhoeffer 970ad56b2b Add new node type. appendAsString method missing. 2014-07-24 14:13:34 +02:00
Jan Steemann 1b5c1118bd Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-07-24 14:00:19 +02:00
Jan Steemann e1c7843ecb parser 2014-07-24 14:00:13 +02:00
Max Neunhoeffer 9b4a56d0d5 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-07-24 13:51:42 +02:00
Max Neunhoeffer d9876b1c5a First draft of infrastructure for ExecutionPlan. 2014-07-24 13:51:21 +02:00
Jan Steemann 2ee0390e10 reordered attribute names 2014-07-24 13:44:57 +02:00
Jan Steemann be3766e4fa use parser 2014-07-24 11:59:11 +02:00
Jan Steemann a2cb09b82c Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Makefile.files
2014-07-24 11:54:38 +02:00
Jan Steemann 010ae07265 added Parser 2014-07-24 11:53:38 +02:00
Max Neunhoeffer 934c1df189 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Makefile.files
2014-07-24 11:50:48 +02:00
Max Neunhoeffer 97071bcabb Start ExecutionPlan infrastructure. 2014-07-24 11:50:13 +02:00
Jan Steemann cdf9ce0002 renaming 2014-07-24 11:45:59 +02:00
Jan Steemann d3720fe6ba cxx 2014-07-24 11:22:01 +02:00
Jan Steemann 5e2ac40608 copied query error 2014-07-24 11:18:20 +02:00
Jan Steemann b7b5c661a7 cxx 2014-07-24 09:43:08 +02:00
Jan Steemann 8cb85fd973 optimization for AQL queries with limit 2014-07-23 17:15:01 +02:00
Jan Steemann 1db7abdb84 updated documentation 2014-07-23 15:23:52 +02:00
Frank Celler 48eb317461 do not open the logfile manager when checking the version
Conflicts:
	CHANGELOG
2014-07-23 14:41:11 +02:00
Jan Steemann f0f9664bae fix compile warnings for Visual Studio 2014-07-23 11:35:17 +02:00
Max Neunhoeffer 7b889bd3bf Merge branch 'maxmh' into devel
Conflicts:
	arangod/VocBase/document-collection.cpp
2014-07-23 10:39:31 +02:00
Max Neunhoeffer eae59e1468 Add some explanations. 2014-07-23 10:36:29 +02:00
Max Neunhoeffer 0a414b7e48 Fix bug with the size counting. 2014-07-23 10:27:39 +02:00
Max Neunhoeffer 04065a951d Find original legend in same WAL file if needed. 2014-07-22 23:32:08 +02:00
Jan Steemann 373f581990 fixed memleak 2014-07-22 17:38:34 +02:00
Jan Steemann 4c033b8962 fixed hanging recovery procedure 2014-07-22 17:38:19 +02:00
Max Neunhoeffer a8e3236560 Snapshot, legend cache started. 2014-07-22 16:59:19 +02:00
Jan Steemann b36ad17cc6 finished --wal.suppress-shape-information 2014-07-22 15:16:49 +02:00
Jan Steemann fe71a8f26d added startup option `--wal.suppress-shape-information` 2014-07-21 18:02:16 +02:00
Jan Steemann 712358d069 added optional `ttl` attribute to specify result cursor expiration for HTTP API method `POST /_api/cursor`
The `ttl` attribute can be used to prevent cursor results from timing out too early.
2014-07-21 15:48:43 +02:00
Jan Steemann ddf69e99a9 fixed tasks with offset 0.0 2014-07-21 14:22:39 +02:00
Max Neunhoeffer 69c1a399b4 Fix a wrong allocation for a TRI_aql_node_t. 2014-07-18 16:10:56 +02:00
Max Neunhoeffer 0482a1be12 Move some stuff to C++/STL for Ahuacatl. 2014-07-18 16:02:12 +02:00
Max Neunhoeffer 37210e2598 Fix replication bug (no collection lock for single document transactions). 2014-07-16 13:03:06 +02:00
Frank Celler 6ec2cf2a3c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-15 20:20:42 +02:00
Max Neunhoeffer 52be2ada03 Some cleanup. 2014-07-14 16:21:23 +02:00
Frank Celler cf81e3ff00 generate .cpp file instead of .c file 2014-07-10 19:13:12 +02:00
Max Neunhoeffer 4e95044faa Hand on --force option of arangorestore. 2014-07-10 14:34:21 +02:00
Max Neunhoeffer 4f88753ea5 Improve error handling in arangorestore.
In particular:
  - Notice if collections mentioned in _from and _to fields of edges
    do not exist.
  - In cluster case make the coordinator report errors from the
    DBservers better.
  - Fail more quickly if arangorestore does not go well.
2014-07-10 14:06:26 +02:00
Frank Celler e436ecfa40 if a cancelation has occured, flush the module cache 2014-07-08 11:54:53 +02:00
Thomas Schmidts c2fa9cb091 Erased useless @startDocuBlocks 2014-07-08 11:16:56 +02:00
Jan Steemann 607267a675 small fixes 2014-07-08 00:31:48 +02:00
Thomas Schmidts 1a78807a67 Fixed a few @startDocuBlock errors 2014-07-07 16:15:50 +02:00
Jan Steemann 6de5e40452 removed superfluous stuff 2014-07-07 00:10:40 +02:00
Jan Steemann 13e47e43db removed superfluous step in collector 2014-07-07 00:08:55 +02:00
Jan Steemann 97bfed54dd fixed startup w/ old databases 2014-07-06 23:47:21 +02:00
Jan Steemann ddb26d76f8 wrote documentation for WAL 2014-07-06 18:31:41 +02:00
Jan Steemann 7b8122acb3 wrote WAL configuration documentation 2014-07-06 17:34:01 +02:00
Jan Steemann fcadb40af6 updated replication documentation 2014-07-06 15:59:52 +02:00
Jan Steemann 286d015bbc updated replication manual 2014-07-06 15:25:36 +02:00
Jan Steemann 40ebe10d0e Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-06 13:53:53 +02:00
Jan Steemann 08654635f1 fixed examples 2014-07-06 13:53:45 +02:00
Frank Celler 40edb310f2 generated files 2014-07-06 13:43:53 +02:00
Jan Steemann c12df38eb2 fixed broken examples 2014-07-06 02:25:19 +02:00
Jan Steemann 0b4040265f added derived files 2014-07-06 00:46:03 +02:00
Jan Steemann ca97aa4a07 added tests, fixed segfault 2014-07-05 22:58:36 +02:00
Jan Steemann a37ae5f3aa typecast 2014-07-05 16:58:56 +02:00
Jan Steemann e4e879db9f fixed compile warning 2014-07-05 16:41:48 +02:00
Jan Steemann cb76a38bf1 added separate logfile remover thread 2014-07-05 16:41:15 +02:00
Jan Steemann 6f4ab77d9b fixed WAL collector moving markers 2014-07-04 13:52:31 +02:00
Jan Steemann 0cbf99d6f0 cxx 2014-07-03 22:50:37 +02:00
Jan Steemann 04ed18be47 recovery 2014-07-03 22:50:22 +02:00
Jan Steemann f939b079c4 recovery 2014-07-03 22:49:49 +02:00
Jan Steemann 470839ffb9 fixed tests 2014-07-03 18:51:40 +02:00
Jan Steemann 7554ead5d4 fixed recovery 2014-07-03 16:58:10 +02:00
Jan Steemann d5e4f6762c foxx-directories test 2014-07-03 12:58:02 +02:00
Jan Steemann 599176d1e3 do not delete foxx apps on replay 2014-07-03 11:42:16 +02:00
Jan Steemann 60fd8e44e4 nullptr 2014-07-03 10:17:10 +02:00
Thomas Schmidts 0328c9a900 Fixed a few spelling and code erros and deleted last examples 2014-07-02 17:48:54 +02:00
Jan Steemann 8a36d58524 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-02 16:53:30 +02:00
Jan Steemann d4858f90d3 added test for renaming 2014-07-02 16:53:23 +02:00
Thomas Schmidts e46d87f23c Changed documentation code in configure chapter 2014-07-02 14:08:41 +02:00
Jan Steemann 804099aa1a removed debug message 2014-07-02 13:34:38 +02:00
Jan Steemann 4b32cf076d fixed memleak 2014-07-02 12:38:05 +02:00
Jan Steemann 28965618d1 handle renaming of collections 2014-07-02 10:28:43 +02:00
Jan Steemann 6f98d17b7b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-02 09:54:37 +02:00
Jan Steemann 84ef51aaf4 handle properties marker 2014-07-02 09:54:28 +02:00
Thomas Schmidts 55aa1645ac Changes in the code documentation 2014-07-02 09:51:26 +02:00
Jan Steemann ab70cfb9bb Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-02 09:31:17 +02:00
Jan Steemann 7fa01da9b4 handle empty logfiles on startup 2014-07-02 09:31:00 +02:00
Jan Steemann ac2f6e61de added "insert" method as an alias for "save" 2014-07-02 00:34:33 +02:00
Jan Steemann 7c2c3744fa in or into 2014-07-01 23:17:31 +02:00
Jan Steemann 7c9de61e48 fix compile warnings 2014-07-01 20:49:00 +02:00
Max Neunhoeffer 6d7708db12 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-01 17:00:36 +02:00
Max Neunhoeffer 2f784c7e4d Add a WAL flush for the cluster to flush the WAL on all DBservers. 2014-07-01 17:00:05 +02:00
Jan Steemann a5cf53d417 fixed examples 2014-07-01 16:48:47 +02:00
Max Neunhoeffer 34f4334ffa Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-01 15:56:36 +02:00
Max Neunhoeffer b2f7793c26 Let DBservers report the cluster-wide collection name instead of the
shard name in error messages for single document operations.
2014-07-01 15:55:41 +02:00
Jan Steemann ef6f7b44ab comments 2014-07-01 15:14:16 +02:00
Jan Steemann 34e727b5f7 simplified 2014-07-01 14:12:25 +02:00
Jan Steemann 1f75c1266b dont crash on applier shutdown 2014-07-01 14:12:07 +02:00
Max Neunhoeffer 5d39caa6a7 Provide increaseNumbers in TransactionBase. 2014-07-01 14:02:10 +02:00
Max Neunhoeffer c0fd6bac8d Fix the fix of the arangodump bug in cluster. 2014-07-01 13:54:15 +02:00
Jan Steemann 4cd20bfb7c fixed syncs across multiple files 2014-07-01 13:12:36 +02:00
Jan Steemann 9f51f9a5dd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-01 11:36:26 +02:00
Jan Steemann c28b672fe5 fixed test 2014-07-01 11:35:57 +02:00
Max Neunhoeffer 90d5b0cd4a Fix a bug in arangodump for sharded edge collections.
Collection name in _from and _to fields was not reported correctly.
2014-07-01 10:48:58 +02:00
Max Neunhoeffer 99936e3624 Fix compilation in non-maintainer-mode. 2014-07-01 08:47:56 +02:00
Jan Steemann 41008dab3a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-30 19:00:42 +02:00
Jan Steemann d55626c038 xxx 2014-06-30 19:00:36 +02:00
Thomas Schmidts 9e2a538096 Changed API documentation in code 2014-06-30 17:29:15 +02:00
Thomas Schmidts d9b733b997 Fixes some documentation pages for API. fixes #922 2014-06-30 14:22:17 +02:00
Jan Steemann 3995b9b4d3 write-throttling fix 2014-06-30 13:52:12 +02:00
Jan Steemann 6d5da6d834 fixed test 2014-06-30 13:28:26 +02:00
Jan Steemann d6a93a5535 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-30 13:07:56 +02:00
Jan Steemann bda2db16da recovery and replication 2014-06-30 13:07:48 +02:00
Max Neunhoeffer a2e7477751 Create setNumbers method for TransactionBase class. 2014-06-30 11:07:56 +02:00
Thomas Schmidts c263b2a5e1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-29 03:34:42 +02:00
Thomas Schmidts c2cb0d5a10 Some changes to the comments in the code 2014-06-29 03:34:22 +02:00
Jan Steemann abf273d453 wait until gc thread is fully done 2014-06-29 00:20:22 +02:00
Jan Steemann 56a9361f9f fill secondary indexes after recovery only 2014-06-29 00:18:21 +02:00
Jan Steemann 21ea9b4d4b recovery tests 2014-06-28 01:58:06 +02:00
Jan Steemann c393ea6600 removed unused code 2014-06-27 23:58:46 +02:00
Jan Steemann 57b5cde21e nullptr 2014-06-27 23:58:13 +02:00
Jan Steemann 483862240f fixed undefined behavior 2014-06-27 22:30:08 +02:00
Jan Steemann 76de1ae762 cppcheck 2014-06-27 22:20:17 +02:00
Jan Steemann eabc3f8138 VS 2014-06-27 19:32:16 +02:00
Jan Steemann 067dbf63b2 WAL recovery 2014-06-27 19:11:41 +02:00
Jan Steemann 553d03001f cpp 2014-06-27 08:38:37 +02:00
Jan Steemann 9003d5c340 added remote transaction markers 2014-06-27 08:38:24 +02:00
Jan Steemann 5707e81a2d made function private 2014-06-27 08:32:23 +02:00
Jan Steemann 028f451edd removed method 2014-06-27 08:26:40 +02:00
Jan Steemann 477f682a23 better error messages 2014-06-26 16:01:55 +02:00
Jan Steemann 0b68523c75 allow creation of secondary indexes in recovery 2014-06-26 15:45:31 +02:00
Jan Steemann 9ca37522a7 fixed undefined behavior in task shutdown 2014-06-26 15:44:08 +02:00
Jan Steemann b64156ca5e Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-26 15:23:20 +02:00
Jan Steemann 108a2cf619 clean up deleted collections without leaks 2014-06-26 15:23:10 +02:00
Esteban Lombeyda 0c2376dead Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-26 14:58:36 +02:00
Esteban Lombeyda 99e2aac9a8 avoiding segmentation fault in cluster 2014-06-26 14:57:57 +02:00
Jan Steemann 12008e5da8 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-26 13:08:08 +02:00
Jan Steemann 96569367d7 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/VocBase/document-collection.cpp
2014-06-26 13:07:53 +02:00
Frank Celler 83b14f0707 missing init 2014-06-26 13:07:00 +02:00
Jan Steemann 1bb171787f clean up when journal creation fails 2014-06-26 13:03:45 +02:00
Frank Celler 13f91392bb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-26 12:51:00 +02:00
Frank Celler 4ae1f0cd4a added temporary attribute entries in shaper 2014-06-26 12:50:50 +02:00
Jan Steemann 9f37a21729 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-26 12:37:11 +02:00
Jan Steemann 07d244488d changed crud signatures 2014-06-26 12:37:01 +02:00
scottashton de0da1e7b7 changed signature of the traversal functions 2014-06-26 11:55:35 +02:00
Jan Steemann f558878964 nullptr 2014-06-26 11:53:54 +02:00
Jan Steemann 723a0ab265 fixed some memory errors 2014-06-26 11:52:37 +02:00
Jan Steemann 183469227c fixed rollback of updates 2014-06-26 11:38:41 +02:00
Jan Steemann 1ebaa7e35c make primary hash index hash function explicit 2014-06-26 11:20:12 +02:00
Thomas Schmidts 45f27782e0 More changes in the documentation code 2014-06-25 17:27:12 +02:00
Thomas Schmidts a43e8e065d Some changes in the documentation code 2014-06-25 16:29:17 +02:00
Thomas Schmidts cba9529153 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-25 16:15:36 +02:00
scottashton 9d0399ee0e new templates for graph management 2014-06-25 16:08:21 +02:00
scottashton 235a438c0c finished documentation of complexity 2014-06-25 15:51:41 +02:00
Thomas Schmidts 4d7b22b05a Some changes in the documentation code 2014-06-25 15:17:51 +02:00
Thomas Schmidts f005d676cb Some changes in the code documentation 2014-06-25 15:10:13 +02:00
Thomas Schmidts f7be757b0b Some changes in the code documentation 2014-06-25 14:57:29 +02:00
Frank Celler 291c92dbf3 renamed ReadOnly to NoCreate 2014-06-25 14:32:00 +02:00
Jan Steemann 81a0180c8f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 17:32:51 +02:00
Jan Steemann 66ffe61a76 renamed enum values 2014-06-24 17:32:43 +02:00
Thomas Schmidts 34e1addcfb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-24 17:23:54 +02:00
Jan Steemann 0d75f16e09 NULL 2014-06-24 16:31:19 +02:00
Jan Steemann 68f2b5a926 removed bogus error message 2014-06-24 16:11:53 +02:00
Jan Steemann f411fceb2e exposed WAL API 2014-06-24 16:10:27 +02:00
Thomas Schmidts f4c6c97488 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-24 16:09:27 +02:00
Jan Steemann a289c9aa78 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 15:11:30 +02:00
Jan Steemann c4aad1e0cd added tests 2014-06-24 15:11:19 +02:00
Thomas Schmidts 0bf957ddd7 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-24 14:28:50 +02:00
Thomas Schmidts 0d969e6814 Changes in the gitbook, also bug fixing in code 2014-06-24 14:28:30 +02:00
scottashton 3cc95a23fd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 14:27:16 +02:00
Jan Steemann 9e818fb010 removed warnings 2014-06-24 14:26:51 +02:00
scottashton 3dc7188141 heal the build 2014-06-24 14:26:46 +02:00
Jan Steemann 50fba66900 close failed transactions on start 2014-06-24 13:56:17 +02:00
scottashton 3ba8719173 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 13:13:09 +02:00
scottashton 4f01409c4b processed lucas feedback regarding aql docu 2014-06-24 13:13:01 +02:00
Jan Steemann 7756deff01 typo 2014-06-24 12:07:00 +02:00
Jan Steemann 303378d8e2 honor `--server.disable-statistics` 2014-06-24 12:06:47 +02:00
Jan Steemann 4f282cbe02 removed startup option `--database.remove-on-drop` 2014-06-24 11:54:32 +02:00
Jan Steemann 97e36a7eb0 fixed examples 2014-06-24 11:26:51 +02:00
Jan Steemann 98f87b1f80 write-throttling 2014-06-24 10:55:05 +02:00
Jan Steemann 9695b25673 added tests 2014-06-24 09:19:26 +02:00
Jan Steemann 8ec5ad2a1e removed bogus warning 2014-06-24 09:02:36 +02:00
Jan Steemann cc041c4851 typecasts 2014-06-24 08:20:35 +02:00
Jan Steemann 5ce280b5f4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 00:38:33 +02:00
Jan Steemann d56719ae4d simplification of signatures 2014-06-24 00:32:40 +02:00
Thomas Schmidts 8d4527a8c9 Changed Documentation in code 2014-06-24 00:01:27 +02:00
Jan Steemann 53909c0dcd adjusted tests 2014-06-23 18:45:06 +02:00
Jan Steemann e89e390cda re-added replication applier 2014-06-23 17:55:08 +02:00
Jan Steemann f72ccde9cf Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-23 17:46:25 +02:00
Jan Steemann 13e061bd76 fixed tests 2014-06-23 17:46:00 +02:00
Thomas Schmidts 03881bf63c Made Examples instead of verbinclude 2014-06-23 17:16:19 +02:00
Thomas Schmidts 19bd94b967 Added line to Makefiles.files for code examples 2014-06-23 17:00:36 +02:00
Thomas Schmidts af1805b627 Fixed small spelling errors 2014-06-23 15:15:50 +02:00
Thomas Schmidts 10a5b782fd Some changes in the documentation code 2014-06-23 14:55:14 +02:00
Jan Steemann 34a80c08b1 fixed assertion 2014-06-23 14:53:23 +02:00
Jan Steemann 82bd150a11 dump 2014-06-23 14:32:06 +02:00
Jan Steemann b31c2330d4 exclude collections 2014-06-23 14:24:12 +02:00
Jan Steemann c930740862 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-23 13:22:56 +02:00
Jan Steemann 3b0d8b15d6 re-added replication 2014-06-23 13:22:38 +02:00
Thomas Schmidts 7b11a3e9f3 Changed some comments in code 2014-06-23 13:22:02 +02:00
Jan Steemann ebb7e61045 removed code for special handling of _trx and _replication 2014-06-23 09:03:42 +02:00
Thomas Schmidts 06e033c0c8 Some improvements in the python script 2014-06-23 08:55:47 +02:00
Jan Steemann 82a220361c issue #919: fixed null options handling 2014-06-23 08:40:51 +02:00
Jan Steemann fc823938c0 nullptr 2014-06-21 03:27:38 +02:00
Jan Steemann 72f54eee21 simplified 2014-06-21 02:39:26 +02:00
Jan Steemann 16bf152c8f fully removed replication logger 2014-06-21 00:32:47 +02:00
Jan Steemann f66f4688aa fixed invalid marker size 2014-06-20 18:13:27 +02:00
Frank Celler 28f4433bff Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/Wal/LogfileManager.cpp
2014-06-20 16:43:28 +02:00
Frank Celler 24a5ec0739 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.c
	arangod/Ahuacatl/ahuacatl-grammar.cpp
	arangod/Ahuacatl/ahuacatl-grammar.h
2014-06-20 16:42:43 +02:00
Jan Steemann 5556cd8dad fixed startup on Windows 2014-06-20 16:42:21 +02:00
Frank Celler 4dcf5dc817 updated disclaimer 2014-06-20 16:40:35 +02:00
Jan Steemann 0d1a4b4b80 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-20 16:14:03 +02:00
Jan Steemann 022d7f32d0 bison 2014-06-20 16:13:49 +02:00
Lucas Dohmen 95fb92b195 Move testrunner into the org/arangodb 'namespace' 2014-06-20 16:05:09 +02:00
Jan Steemann 99a67861e6 fixed VS warnings 2014-06-20 15:51:53 +02:00
gschwab eefd78ae0a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-20 15:49:23 +02:00
Jan Steemann 7e52ebbc3b fixes for Visual Studio 2014-06-20 15:46:33 +02:00
gschwab 3fb7a85ca0 error handling 2014-06-20 15:36:26 +02:00
Thomas Schmidts 90ad06833f Change some comments in the code 2014-06-20 15:10:16 +02:00
Frank Celler 5ac431a453 generated files 2014-06-20 15:06:18 +02:00
Jan Steemann 65eac66ca3 silence compiler 2014-06-20 14:36:27 +02:00
Jan Steemann 09a64c1f7f fixed compile warnings 2014-06-20 14:30:36 +02:00
Jan Steemann 7b6af73f85 added check for number of logfiles 2014-06-20 13:52:05 +02:00
Jan Steemann 9b713fccba renamed macro 2014-06-20 13:43:29 +02:00
Jan Steemann a56a0e457c fixed edge index hashing error 2014-06-20 13:37:52 +02:00
Jan Steemann 1ff9bbb2f7 check startup options 2014-06-20 09:45:27 +02:00
Jan Steemann 56b032c688 more tests 2014-06-20 09:38:35 +02:00
Jan Steemann cc35e4696c added more tests 2014-06-20 09:20:27 +02:00
Jan Steemann c60bde28b6 added crash tests 2014-06-20 08:36:36 +02:00
Jan Steemann 6c0dcf85c4 WAL DDL markers 2014-06-19 14:33:38 +02:00
Jan Steemann d266bedd38 removed now obsolete functions 2014-06-19 12:08:01 +02:00
Jan Steemann 5fb901d713 cppcheck 2014-06-18 21:27:53 +02:00
Jan Steemann 9fc03ec85f cppcheck 2014-06-18 21:13:20 +02:00
Jan Steemann 005e089a43 fixed compile error 2014-06-18 20:10:04 +02:00
Jan Steemann d3221c33ba fixed undefined variable 2014-06-18 17:29:58 +02:00
Jan Steemann 589ff8e208 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-18 17:26:20 +02:00
Jan Steemann e11581b430 removed now obsolete functions 2014-06-18 17:26:04 +02:00
Jan Steemann d51fb26272 indenting 2014-06-18 17:16:14 +02:00
Jan Steemann 1d68586500 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js
2014-06-18 16:37:28 +02:00
Frank Celler f5419205ac added voice 2014-06-18 16:34:55 +02:00
Jan Steemann 8b9cdbe075 fixed tests 2014-06-18 16:34:11 +02:00
Jan Steemann d1cdd1e40f macos 2014-06-18 15:27:25 +02:00
Jan Steemann b952c6724d recovery 2014-06-17 18:19:04 +02:00
Jan Steemann acba4c8851 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	CHANGELOG
2014-06-17 15:31:04 +02:00
Jan Steemann 091491d13b crash recovery tests 2014-06-17 15:30:11 +02:00
Frank Celler f794ee8368 fixed datafile debugger
Conflicts:
	CHANGELOG
2014-06-17 09:22:56 +02:00
Jan Steemann 30460bb72c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-17 00:49:37 +02:00
Jan Steemann b303db2b50 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
2014-06-17 00:49:18 +02:00
Jan Steemann 793ad88cbe slightly adjusted grammar 2014-06-17 00:45:42 +02:00
Jan Steemann a1177816aa modifiable AQL, final syntax 2014-06-17 00:37:08 +02:00
Jan Steemann 74fb8fe2ad issue #906: changed returned field in primary index description from `_id` to `_key`. 2014-06-16 17:08:45 +02:00
Jan Steemann ff494cc897 added recovery tests (not functional yet) 2014-06-16 16:52:26 +02:00
Lucas Dohmen b5764513d9 Extracted the test runner from jsunity 2014-06-16 14:39:40 +02:00
Jan Steemann 2a0e0b18d0 added many tests 2014-06-16 14:39:26 +02:00
Jan Steemann b3d18d0deb cppcheck 2014-06-16 09:50:38 +02:00
Jan Steemann ae6ac271e3 index rework 2014-06-14 23:40:56 +02:00
Jan Steemann 37a30b420d prevent exceptions 2014-06-14 15:05:54 +02:00
Jan Steemann 964af24fe7 fixed compiler warnings 2014-06-14 01:49:17 +02:00
Jan Steemann b54b89d68d key generator rework 2014-06-14 00:33:40 +02:00
Jan Steemann 35a81dc54d more asserts 2014-06-13 21:40:34 +02:00
Jan Steemann 34389a10d3 added AQL TRANSLATE function 2014-06-13 19:53:58 +02:00
Jan Steemann 0c5950507c fixed test 2014-06-13 17:50:44 +02:00
Jan Steemann 47999865d6 read-only mode 2014-06-13 15:32:13 +02:00
Jan Steemann d7f35bcc7b fixed datafile ticks issues 2014-06-13 14:46:21 +02:00
Jan Steemann fabc51f889 fixed wrong ASSERT usage 2014-06-13 12:10:35 +02:00
Jan Steemann 80a70667c0 made headers a real class 2014-06-13 11:31:40 +02:00
Jan Steemann d5e695e63f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangod/RestServer/ArangoServer.h
	arangod/VocBase/server.cpp
	js/common/bootstrap/errors.js
2014-06-13 02:23:03 +02:00
Jan Steemann bbdbbd5736 removed implicit parameter from function signature 2014-06-13 01:59:19 +02:00
Jan Steemann 1b94fbf904 fixed crash in dump 2014-06-13 01:53:44 +02:00
Jan Steemann 41dc6a808e fixed recovery 2014-06-13 00:20:24 +02:00
Jan Steemann 2fc5647892 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-12 18:13:57 +02:00
Jan Steemann bc52f3408f recovery, not functional yet 2014-06-12 18:13:48 +02:00
Max Neunhoeffer 131da49f60 Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh 2014-06-12 15:42:06 +02:00
Max Neunhoeffer 982ca7460b Implement StringifyMarkerDump for WAL markers.
This implements a LegendReader class inheriting from TRI_shaper_t,
to allow for TRI_StringifyArrayShapedJson to work.
2014-06-12 15:30:18 +02:00
Jan Steemann 93862b99ed add handlers for remove, update, save, replace 2014-06-12 14:00:52 +02:00
Max Neunhoeffer 9f4a2236e0 Adjust some comments. 2014-06-12 12:07:48 +02:00
Jan Steemann 0c8e01ca40 fixed assertion fail 2014-06-12 12:00:58 +02:00
Jan Steemann 101b5ac95f Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-12 11:29:08 +02:00
Jan Steemann dae5a5151d call (still empty) WAL recovery procedure at startup 2014-06-12 11:28:48 +02:00
Max Neunhoeffer d939dce2e1 Fix compilation for arangodump. 2014-06-12 10:45:00 +02:00
Max Neunhoeffer ed1a588baa Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh 2014-06-12 10:39:13 +02:00
Max Neunhoeffer 82ab5bc0ac More checks for protected getShaper accesses.
Also: Make arangodump possible using fake trx objects.
2014-06-12 10:38:39 +02:00
Jan Steemann bca5b999d9 removed fcall 2014-06-12 10:26:53 +02:00
Jan Steemann 1cc46c4626 copy WAL documents 2014-06-12 10:26:24 +02:00
Frank Celler 299b99ed00 fixed check-version for empty directory 2014-06-11 19:30:12 +02:00
Jan Steemann 89f6070e01 cppcheck 2014-06-11 17:53:44 +02:00
Jan Steemann 86171cd881 removed old-style comments 2014-06-11 17:48:09 +02:00
Jan Steemann fa6e98d94c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
2014-06-11 17:40:15 +02:00
Jan Steemann 9de0b212c4 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-11 17:39:06 +02:00
Jan Steemann cc115a2766 removed outdated upgrade methods 2014-06-11 17:38:49 +02:00
Max Neunhoeffer 1d8e5f73d0 Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh 2014-06-11 16:11:49 +02:00
Max Neunhoeffer f83a845c31 Activate shaper protection runtime check. Fix bugs. 2014-06-11 16:11:26 +02:00
Jan Steemann 9535779916 removed lol message 2014-06-11 15:52:58 +02:00
Jan Steemann 772ed8bccc hash index optimization 2014-06-11 15:46:55 +02:00
scottashton 8209796f7c added documentation to ahuacatl general graph functions and refactored common_Neighbors and common_properties 2014-06-11 15:45:31 +02:00
Max Neunhoeffer 88a19e5928 Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	lib/ShapedJson/Legends.cpp
2014-06-11 14:22:53 +02:00
Max Neunhoeffer b8ac498e8b Add shaper test (inactive for now). 2014-06-11 14:21:48 +02:00
Jan Steemann 28d2ae151e flush 2014-06-11 14:18:04 +02:00
Jan Steemann b802973273 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangod/Wal/CollectorThread.cpp
2014-06-11 11:33:48 +02:00
Jan Steemann 7e6750c397 wal flush w/ collection unload 2014-06-11 11:33:02 +02:00
Max Neunhoeffer f0bef2496f Make _shaper private and use getter/setter. 2014-06-11 11:18:22 +02:00
Max Neunhoeffer 6b31c2ddb1 Sort out deallocation of TRI_document_collection_t and TRI_collection_t. 2014-06-11 10:56:28 +02:00
Max Neunhoeffer c2bddb1c19 Let TRI_document_collection_t inherit from TRI_collection_t. 2014-06-11 10:51:47 +02:00
Max Neunhoeffer af17694ec1 Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh 2014-06-11 09:37:43 +02:00
Max Neunhoeffer 2527e34d9d stuct TRI_collection_t and struct TRI_document_collection_t 2014-06-11 09:37:07 +02:00
Jan Steemann 5a8cdb0ec5 wal flush 2014-06-11 09:32:20 +02:00
Max Neunhoeffer c5e5e64135 Initialise _dataptr in constructor.
Fix a bug found by a unittest.
2014-06-10 21:42:23 +02:00
Max Neunhoeffer 8b8d11eb61 Check in ahuacatl-grammar generated files. 2014-06-10 21:42:01 +02:00
Jan Steemann eba885d583 fixed member initialization in second constructor 2014-06-10 17:41:11 +02:00
Max Neunhoeffer dd9c4810e1 Revert "Add protector assertions in voc-shaper."
This reverts commit f0ed0d9122fa6470ff9a30d4cb732becc206886c.
2014-06-10 16:46:18 +02:00
Jan Steemann 2a13bc9527 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-10 16:43:12 +02:00
Max Neunhoeffer eb8453e455 Add protector assertions in voc-shaper. 2014-06-10 16:42:46 +02:00
Jan Steemann dfc34c0c98 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-10 16:42:43 +02:00
Jan Steemann 7c599ef893 barriers 2014-06-10 16:42:15 +02:00
Max Neunhoeffer 12a5ba03fd Move class TransactionBase to voc-types.h 2014-06-10 16:37:35 +02:00
Max Neunhoeffer e405d06370 AQL syntax now "REMOVE d IN coll" instead of "FROM" to avoid keyword FROM. 2014-06-10 16:05:17 +02:00
Max Neunhoeffer c49f1a80d6 Went through all TRI_doc_mptr\(_copy\)_t ...
... to see whether _copy is needed.
2014-06-10 16:04:30 +02:00
Max Neunhoeffer e575b94222 Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh 2014-06-10 15:56:31 +02:00
Max Neunhoeffer 30e16bc127 Fix two comments. 2014-06-10 15:51:53 +02:00
Jan Steemann c686c13c91 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-10 15:42:46 +02:00
Jan Steemann ede9c634c3 assert 2014-06-10 15:42:39 +02:00
Jan Steemann 7e181d0bfa changed keywords 2014-06-10 15:42:05 +02:00
Max Neunhoeffer f07cba1cc3 Remove Hans accidentally committed. 2014-06-10 15:20:42 +02:00
Max Neunhoeffer 7f867a0940 Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh 2014-06-10 15:19:40 +02:00
Max Neunhoeffer 02a8b4e388 Edge index lookup returns now TRI_doc_mptr_copy_t.
Move TRI_document_edge_t to voc-types.h.
2014-06-10 15:19:11 +02:00
Jan Steemann 43600f712f Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-10 15:06:04 +02:00
Jan Steemann 511a9c6fca let collectorthread adjust sizes 2014-06-10 15:05:48 +02:00
Max Neunhoeffer ea837012f0 Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh 2014-06-10 14:33:25 +02:00
Max Neunhoeffer dbfe62fd66 TRI_SelectByExample now uses copies of master pointers. 2014-06-10 14:32:57 +02:00
Jan Steemann a8e28a01b6 properly return logfile id 2014-06-10 14:32:28 +02:00
Jan Steemann 2d8408dba5 add fake transaction object while collecting 2014-06-10 14:04:14 +02:00
Jan Steemann 14097f5473 create fake transaction for loading collections 2014-06-10 14:01:35 +02:00
Max Neunhoeffer 3f03956fe8 Fake TransactionBase. 2014-06-10 14:00:27 +02:00
Jan Steemann 0883a973aa set header fid 2014-06-10 13:44:25 +02:00
Jan Steemann aa173b315b update cap constraint sizes 2014-06-10 13:40:33 +02:00
Max Neunhoeffer 2dc70409cf Fix protection assertion system one more time. 2014-06-10 13:28:58 +02:00
Max Neunhoeffer d4b5ee25ee Fix protection assertions. 2014-06-10 13:16:01 +02:00
Max Neunhoeffer d0ba832ffb Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangod/Utils/Transaction.h
2014-06-10 13:05:33 +02:00
Max Neunhoeffer 3c0c785ba5 First set of protection assertions. 2014-06-10 13:03:04 +02:00
Jan Steemann 85a773e177 cleanup 2014-06-10 12:03:55 +02:00
Jan Steemann 370d7bc083 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-10 11:56:56 +02:00
Jan Steemann da9f8247fb barriers are now created automatically by transactions 2014-06-10 11:56:40 +02:00
Max Neunhoeffer f7e5e28780 Create thread global transaction protection assertions. 2014-06-10 11:31:07 +02:00
Jan Steemann 00f593b8a9 cleanup 2014-06-10 09:55:44 +02:00
Jan Steemann d9653bc462 DML for AQL 2014-06-10 09:30:27 +02:00
Jan Steemann 3f22fa03be fixed some indexes 2014-06-08 03:03:16 +02:00
Jan Steemann 05ddccd515 fixed wrong sorts 2014-06-08 00:18:56 +02:00
Jan Steemann 72a102e794 major internal changes 2014-06-08 00:12:53 +02:00
Jan Steemann ca959cab9d simplified usage of transactions 2014-06-06 23:28:34 +02:00
Jan Steemann f6a157b3af removed unused function 2014-06-06 23:06:59 +02:00
Jan Steemann 3f6cb4d9ed fixed update policy 2014-06-06 22:53:59 +02:00
Jan Steemann ed0377f671 moved calculation into function 2014-06-06 22:01:41 +02:00
Jan Steemann 85aa80ede7 mini cleanup 2014-06-06 21:56:01 +02:00
Jan Steemann c8702aaa02 moved declarations 2014-06-06 21:49:06 +02:00
Jan Steemann 368091d7c3 function cleanup 2014-06-06 21:35:34 +02:00
Jan Steemann 982673ef52 read "old" transactions when loading a database 2014-06-06 18:32:48 +02:00