1
0
Fork 0
Commit Graph

1241 Commits

Author SHA1 Message Date
Max Neunhoeffer ad9f182916 Introduce a boolean switch _sparse in TRI_index_t.
At this stage it is always set to false for all indexes.
However, TRI_InitIndex already has an additional argument for this.
2014-08-30 00:34:33 +02:00
Max Neunhoeffer dc0c204424 Store documents in a skiplist index even if some indexed attrs are empty. 2014-08-29 23:54:22 +02:00
Jan Steemann 1367a016cf Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-29 20:38:30 +02:00
Jan Steemann 5928d285ad fixed WAL recovery which hung in certain conditions 2014-08-29 12:03:38 +02:00
Jan Steemann 910c029730 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-28 14:28:11 +02:00
Jan Steemann a2da3eb7ee removed debug output 2014-08-28 14:27:43 +02:00
Jan Steemann 86ce08c96f added comments 2014-08-27 11:34:37 +02:00
Jan Steemann 86bf8e3c4f removed unused function argument 2014-08-23 00:50:37 +02:00
Jan Steemann 683fbf4ec4 using emplace 2014-08-23 00:48:39 +02:00
Jan Steemann a70a9613f6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/BasicsC/voc-errors.h
2014-08-22 21:51:38 +02:00
Jan Steemann 0a439474e5 cppcheck 2014-08-22 12:51:26 +02:00
Max Neunhoeffer c4918e4fb7 Silence another compiler warning. 2014-08-22 09:36:31 +02:00
Jan Steemann f03d628efb issue #920: attempt to use new user document format in authentication 2014-08-20 18:20:12 +02:00
Jan Steemann 30b32f1f90 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.h
	arangod/V8Server/v8-vocbase.cpp
	js/server/tests/ahuacatl-general-graph.js
2014-08-13 16:29:57 +02:00
Jan Steemann 8f9591ca1e properly stringify _from and _to attributes using CollectionNameResolver 2014-08-13 15:59:56 +02:00
Jan Steemann ea418088c5 fixed simple expressions 2014-08-13 15:39:56 +02:00
Max Neunhoeffer 28f0d7be05 Sort out TRI_CompareValuesJson to use UTF8 on demand. 2014-08-13 14:22:05 +02:00
Frank Celler be06ef7f25 new upgrade-database (formely known as version-check) and new startup procedure 2014-08-07 14:12:19 +02:00
Max Neunhoeffer 7956c69c69 Use two shapers in TRI_CompareShapeTypes 2014-08-07 09:51:24 +02:00
Max Neunhoeffer d07706674b Change signature of TRI_CompareShapedJson. 2014-08-06 15:23:48 +02:00
Jan Steemann 196441b9b4 improved v8 object generation 2014-08-05 13:23:37 +02:00
Jan Steemann 4a2d943d45 added helper methods 2014-08-05 10:56:37 +02:00
Max Neunhoeffer bfe568f48a Add virtual destructor for TRI_doc_mptr_t. 2014-07-28 09:40:31 +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 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
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
Max Neunhoeffer 37210e2598 Fix replication bug (no collection lock for single document transactions). 2014-07-16 13:03:06 +02:00
Max Neunhoeffer 52be2ada03 Some cleanup. 2014-07-14 16:21:23 +02:00
Jan Steemann 97bfed54dd fixed startup w/ old databases 2014-07-06 23:47:21 +02:00
Jan Steemann 286d015bbc updated replication manual 2014-07-06 15:25:36 +02:00
Jan Steemann a37ae5f3aa typecast 2014-07-05 16:58:56 +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 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 599176d1e3 do not delete foxx apps on replay 2014-07-03 11:42:16 +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 7c9de61e48 fix compile warnings 2014-07-01 20:49:00 +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
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 d55626c038 xxx 2014-06-30 19:00:36 +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
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 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 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 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 108a2cf619 clean up deleted collections without leaks 2014-06-26 15:23:10 +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 4ae1f0cd4a added temporary attribute entries in shaper 2014-06-26 12:50:50 +02:00
Jan Steemann 07d244488d changed crud signatures 2014-06-26 12:37:01 +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
Frank Celler 291c92dbf3 renamed ReadOnly to NoCreate 2014-06-25 14:32:00 +02:00
Jan Steemann 66ffe61a76 renamed enum values 2014-06-24 17:32:43 +02:00
Jan Steemann 68f2b5a926 removed bogus error message 2014-06-24 16:11:53 +02:00
Jan Steemann c4aad1e0cd added tests 2014-06-24 15:11:19 +02:00
Jan Steemann 9e818fb010 removed warnings 2014-06-24 14:26:51 +02:00
Jan Steemann 4f282cbe02 removed startup option `--database.remove-on-drop` 2014-06-24 11:54:32 +02:00
Jan Steemann 98f87b1f80 write-throttling 2014-06-24 10:55:05 +02:00
Jan Steemann 8ec5ad2a1e removed bogus warning 2014-06-24 09:02:36 +02:00
Jan Steemann d56719ae4d simplification of signatures 2014-06-24 00:32:40 +02:00
Jan Steemann e89e390cda re-added replication applier 2014-06-23 17:55:08 +02:00
Jan Steemann 13e061bd76 fixed tests 2014-06-23 17:46:00 +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 3b0d8b15d6 re-added replication 2014-06-23 13:22:38 +02:00
Jan Steemann ebb7e61045 removed code for special handling of _trx and _replication 2014-06-23 09:03:42 +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
Frank Celler 4dcf5dc817 updated disclaimer 2014-06-20 16:40:35 +02:00