Jan Steemann
d479fa11cc
IndexBlock cleanup
2015-10-07 18:15:50 +02:00
Michael Hackstein
7d4f1f3005
Unified the Permutation State for Skiplist and HashIndex
2015-10-07 17:48:46 +02:00
Michael Hackstein
f7d3304db7
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-07 17:27:40 +02:00
Michael Hackstein
d381cf2841
Included IN operator in Skiplist. Right now only attribute IN values
2015-10-07 17:27:35 +02:00
Jan Steemann
4bf3bb047b
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-07 17:25:56 +02:00
Jan Steemann
5b423971ef
support `value IN attr[*]`
2015-10-07 17:25:22 +02:00
Michael Hackstein
cb57f39e06
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-07 17:24:42 +02:00
Michael Hackstein
ef78f03309
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-10-07 17:05:02 +02:00
Michael Hackstein
ab23a01263
Properly react to return value
2015-10-07 17:04:56 +02:00
Jan Steemann
ef04ccdc8c
fixed expansion node cloning
2015-10-07 17:03:17 +02:00
Jan Steemann
424dc81197
fixed undefined index lookup behavior
2015-10-07 16:34:01 +02:00
Michael Hackstein
5a026db641
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-07 16:13:04 +02:00
Michael Hackstein
cb57171ada
Fixed an unitialized value and a wrong condition. SkiplistIndex works now for everything except IN.
2015-10-07 16:12:58 +02:00
Jan Steemann
85eacaa458
fixed memleaks
2015-10-07 16:12:20 +02:00
Michael Hackstein
16369c7ac5
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-10-07 15:51:06 +02:00
Michael Hackstein
1ba2efed60
Fixed GraphNeighbors as locking was not woring for include data
2015-10-07 15:50:41 +02:00
Frank Celler
4b0911c799
added debugging header x-arango-v8-context
2015-10-07 13:37:35 +02:00
Jan Steemann
a1de2bfcc1
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
...
Conflicts:
CHANGELOG
2015-10-07 10:18:21 +02:00
Frank Celler
8849e184ca
fixed default language
2015-10-07 09:47:17 +02:00
Frank Celler
459c5b2c7e
changed to atomic
2015-10-07 09:47:17 +02:00
Michael Hackstein
db0e414776
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-07 09:10:56 +02:00
Michael Hackstein
86ab20ffb0
Started adapting the Skiplist Index to the new index Node. WIP does not compile
2015-10-06 17:49:44 +02:00
Jan Steemann
06fedc469d
indentation
2015-10-06 17:35:44 +02:00
Jan Steemann
8dfcc98694
use ctor/dtor for TRI_hash_index_search_value_t
2015-10-06 17:09:59 +02:00
Jan Steemann
55f82646d9
moved TRI_index_search_value_t into HashIndex.h
2015-10-06 16:39:12 +02:00
Jan Steemann
57cb864cc5
support edge queries with IN
2015-10-06 16:04:59 +02:00
Alan Plum
820e694d0c
Re-implement cleanupCancelation
2015-10-06 15:10:43 +02:00
Jan Steemann
14dc0be744
primary index now supporting IN
2015-10-06 14:46:33 +02:00
Jan Steemann
8ee068ba40
refactoring
2015-10-06 13:31:56 +02:00
Jan Steemann
a12eda295b
aha!
2015-10-06 13:03:46 +02:00
Jan Steemann
692bcd39ce
added TODOs
2015-10-06 12:24:54 +02:00
Jan Steemann
0d817c6cdc
added TODOs
2015-10-06 12:21:05 +02:00
Jan Steemann
310442c8ac
Merge branch 'aql-jmmh-conditions' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-06 11:24:02 +02:00
Jan Steemann
b6c8d77d98
some bugfixes
2015-10-06 11:23:55 +02:00
Michael Hackstein
37a4ecfbb3
Modified the IndexIterator API to return TRI_doc_mptr_t instead of *_copy_t. Index Range node now manages a list of already returned documents, making the resulting documents distinct
2015-10-06 10:45:42 +02:00
Michael Hackstein
8761e5abde
Fixed broken nested loop.
2015-10-06 09:41:30 +02:00
Jan Steemann
118f924598
support [*] operator
2015-10-05 19:15:22 +02:00
Michael Hackstein
1345659917
Implemented the HashIndexIterator interface for AQL. Now the new IndexNode can use Primary, Edge and Hash indicies ;)
2015-10-05 17:11:32 +02:00
Jan Steemann
e46ba60715
changed signatures of attribute-access-detecting functions
2015-10-05 16:01:19 +02:00
Michael Hackstein
00c99f135a
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-05 13:56:12 +02:00
Michael Hackstein
41916760c3
Implemented the IndexNode Iterator for the EdgeIndex. Seems to be working. Also removed some void* parameters from EdgeIndex
2015-10-05 13:55:55 +02:00
Jan Steemann
37bc5b64ff
fixed segfault
2015-10-05 13:49:23 +02:00
Jan Steemann
60728877e4
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-05 11:56:40 +02:00
Jan Steemann
391e9b1693
improved error message on startup
2015-10-05 11:53:22 +02:00
Jan Steemann
d9d2784a84
make replication start with 2.6 configuration
2015-10-05 11:07:58 +02:00
Jan Steemann
7c428aceb9
increase default value of `--server.descriptors-minimum` to 1024
2015-10-05 11:07:03 +02:00
Jan Steemann
1c990b7324
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
...
Conflicts:
arangod/Aql/ExecutionNode.cpp
2015-10-05 10:32:36 +02:00
Michael Hackstein
c8a48079f0
Primary Index AQL iterator now handles _key and _id as it is supposed to do
2015-10-05 10:19:26 +02:00
Jan Steemann
7d4c379598
small modifications, temporarily disabled interchange-adjacent-enumerations
2015-10-02 19:53:35 +02:00
Jan Steemann
f7b207e582
removed unused variable
2015-10-02 18:05:11 +02:00
Jan Steemann
574f88a1f9
fixed invalid cast
2015-10-02 18:04:52 +02:00
Jan Steemann
32556a828e
fixed potentially invalid cast
2015-10-02 17:40:34 +02:00
Jan Steemann
8e0ab92d1a
Merge branch 'aql-jmmh-conditions' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-02 17:39:19 +02:00
Jan Steemann
e0dcf4331d
finish IN optimizations in Condition
2015-10-02 17:39:04 +02:00
Michael Hackstein
9bfd929cf5
Indexes compile again and some expressions seem to be evaluated. Might still crash. Start with --no-server with server it is still broken
2015-10-02 17:14:18 +02:00
Michael Hackstein
5de1a9b9b5
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-02 17:03:57 +02:00
Michael Hackstein
d77dfc55c3
Started implementing runtime evaluation of IndexNode expressions
2015-10-02 17:03:53 +02:00
Michael Hackstein
4c065f470c
Registered Index Node in several places where it was not yet handled.
2015-10-02 17:02:39 +02:00
Jan Steemann
a2731a6121
blind commit
2015-10-02 17:02:02 +02:00
Michael Hackstein
6403104863
Started with PrimaryIndex for _id in IndexNode
2015-10-02 17:01:56 +02:00
Jan Steemann
3a92fa8e16
merge IN with IN
2015-10-02 15:22:21 +02:00
Jan Steemann
7292384b37
deduplicate IN arrays
2015-10-02 14:05:27 +02:00
Jan Steemann
8247ec0dff
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-02 12:59:13 +02:00
Jan Steemann
fbdeb5ef5f
make 2.7 replication compatible with 2.6
2015-10-02 12:55:15 +02:00
Jan Steemann
42b02427e6
fixed index usage
2015-10-01 17:27:57 +02:00
Michael Hackstein
d6bdf78269
Fixed double free of AstNode
2015-10-01 17:01:50 +02:00
Michael Hackstein
9c38a47aa1
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-01 17:01:27 +02:00
Jan Steemann
fab5c5902d
clarified instructions
2015-10-01 16:59:14 +02:00
Jan Steemann
0ce2356cce
added getAll()
2015-10-01 15:57:26 +02:00
Michael Hackstein
e55b5d59d5
Implemented IndexIterator for PrimaryIndex. The IndexBlock uses this Iterator. Still a double free as soon as the query is finished
2015-10-01 14:34:24 +02:00
Jan Steemann
bc4e27bdc9
added getOne()
2015-10-01 13:25:03 +02:00
Jan Steemann
32bdc19522
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-09-30 17:47:00 +02:00
Jan Steemann
0ea2247eb0
scan-build
2015-09-30 17:28:52 +02:00
Jan Steemann
806272876c
satisfy scan-build
2015-09-30 17:21:07 +02:00
Jan Steemann
e71ff5a4f5
cppcheck
2015-09-30 16:50:57 +02:00
Jan Steemann
40a1cf3ce3
fixed segfault
2015-09-30 16:03:46 +02:00
Jan Steemann
91e8884518
added AggregateNode.*
2015-09-30 15:55:38 +02:00
Jan Steemann
50fa5a2138
added SortNode file
2015-09-30 15:42:48 +02:00
Jan Steemann
9041b7b2c9
file split
2015-09-30 15:29:32 +02:00
Jan Steemann
d99f7a498d
moved index nodes to their own files
2015-09-30 15:13:49 +02:00
Jan Steemann
b5cf8ce942
moved cluster nodes out of ExecutionNode.*
2015-09-30 14:51:11 +02:00
Jan Steemann
47e1b3ceb8
stringify conditions
2015-09-30 14:35:18 +02:00
Jan Steemann
6405c82a32
removed global reverse-flag for IndexNode. this flag has to be moved into the separate indexes used by the node
2015-09-30 14:14:41 +02:00
Jan Steemann
cddabd1e20
fixed compile errors
2015-09-30 09:30:46 +02:00
Michael Hackstein
468e632abb
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-09-30 08:38:26 +02:00
Michael Hackstein
0fab24aca5
Fixed double free of condition and reactivated IndexNode
2015-09-30 08:36:56 +02:00
Jan Steemann
67de5480e8
check filter condition and sort condition support for all index types
2015-09-29 17:38:55 +02:00
Jan Steemann
27bcd7ee84
better estimates
2015-09-29 15:30:44 +02:00
Jan Steemann
7df6726c3f
calculate costs for equality lookups
2015-09-29 13:08:51 +02:00
Michael Hackstein
8f0bd93120
Disabled the IndexBlock again, not yet working
2015-09-29 10:18:46 +02:00
Michael Hackstein
c0a88a1371
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-09-29 10:04:15 +02:00
Michael Hackstein
e35ea8995e
Fixed used after free of condition node. Cloned the Condition AST whie handing it over. Still get a double free exception. IndexNodeis now handled.
2015-09-29 09:13:08 +02:00
Michael Hackstein
1e9c6f110b
Started implementing the IndexBlock. Right now it expects an iterator for each used index that is created by an evaluated expression from the Block. Then it will go through all iterators in every get/skip some step
2015-09-28 19:30:10 +02:00
Jan Steemann
89b6329985
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-09-28 18:13:29 +02:00
Jan Steemann
84f59d112e
unified index use checks
2015-09-28 18:13:04 +02:00
Jan Steemann
0d845955e2
Merge branch 'aql-jmmh-conditions' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-09-28 14:11:44 +02:00
Jan Steemann
3495816fa1
changed index signatures
2015-09-28 14:11:23 +02:00
Michael Hackstein
cf7b0734b0
Fixed compile error
2015-09-28 13:50:26 +02:00
Michael Hackstein
0cdc8afcd5
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-09-28 13:38:45 +02:00
Michael Hackstein
18f890895f
Fixed executionNode, does compile again
2015-09-28 13:38:40 +02:00
Jan Steemann
35f2bdb9fd
fixed
2015-09-28 13:31:53 +02:00
Michael Hackstein
5e0c1900f8
Added more implementation to new IndexNode
2015-09-28 11:53:23 +02:00
Michael Hackstein
18f71966e9
React to _condition is nullptr when hitting EnumerateCollection
2015-09-28 11:02:39 +02:00
Jan Steemann
aebf442e7a
note latest sort expression used in a query
2015-09-25 18:21:25 +02:00
Jan Steemann
ccd06fc1a4
simplified ConditionFinder
2015-09-25 18:01:02 +02:00
Jan Steemann
d5dabfb528
Merge branch 'aql-jmmh-conditions' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
...
Conflicts:
arangod/Aql/OptimizerRules.cpp
2015-09-25 17:41:10 +02:00
Jan Steemann
d51c984f11
use findEndNodes
2015-09-25 17:39:23 +02:00
Jan Steemann
c72c568b07
added findEndNodes
2015-09-25 17:38:46 +02:00
Michael Hackstein
17a45c8cd3
Fixed potential memleaks in failure cases
2015-09-25 17:38:04 +02:00
Jan Steemann
0f52db88c9
added EndNodeFinder
2015-09-25 17:37:50 +02:00
Michael Hackstein
368eeb95b3
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-09-25 17:23:52 +02:00
Michael Hackstein
2a342fe40f
The use-indexes rule now replaces EnumerateCollectionNodes with IndexNodes. Seems to work on visual test, needs automated test
2015-09-25 17:23:47 +02:00
Jan Steemann
f2cbaa38e0
fixed condition printing
2015-09-25 16:35:18 +02:00
Michael Hackstein
e0817f0263
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-09-25 16:34:49 +02:00
Michael Hackstein
6d814f63eb
Modified the condition finder to maintain a list of possible enumerate collections nodes
2015-09-25 16:34:44 +02:00
Jan Steemann
9472eb7b45
make it link again
2015-09-25 16:30:29 +02:00
Jan Steemann
abc87b2d5f
added IndexNode stub
2015-09-25 13:40:51 +02:00
Michael Hackstein
1941b7f880
Added a new IndexNode does not compile yet
2015-09-25 13:18:43 +02:00
Michael Hackstein
2ab13b81a4
The Condition will now successfully produce a list of Indexes that can be combined for the current EnumerateCollectionBlock. If this list is empty we can do nothing but a Full Collection Scan
2015-09-25 13:00:37 +02:00
Michael Hackstein
6eb23f14f4
The Condition findIndexes now tries to find an index for each AND block and fills a list of indexes, iff there is any element in the list we are able to use a CombinedIndexRangeNode, if not we still have to use the EnumerateCollectionNode
2015-09-25 11:45:31 +02:00
Michael Hackstein
6a11ad28ee
Adapted all indices to the new planned interface so they tell us if they can serve for a condition and present their costs
2015-09-25 10:40:04 +02:00
Jan Steemann
4249095456
issue #1507 : added optional *allowImplicit* sub-attribute for transactions
2015-09-24 15:50:00 +02:00
Michael Hackstein
180ffa74a3
Moved the conditionFinder to a seperate file
2015-09-24 14:16:25 +02:00
Michael Hackstein
6525755cc0
Fixed memleak
2015-09-23 17:04:37 +02:00
Michael Hackstein
8c3283f8a0
Fixed memleak
2015-09-23 16:29:28 +02:00
Michael Hackstein
eae6394f22
Allowed the hashIndex to modify the DNF and-block node. It now successfully removes all entries it can be responsible for
2015-09-23 16:29:15 +02:00
Michael Hackstein
614902ee99
Replaced TRI_vector_pointer by std::vector in AstNode
2015-09-23 15:02:34 +02:00
Michael Hackstein
aefc0edae0
Added a modifyable AST node to the index can serve and block functionality of all indicies. However non of them uses it yet
2015-09-23 14:38:23 +02:00
jsteemann
5c0ff48478
cppcheck
2015-09-22 23:40:57 +02:00
Michael Hackstein
a891d8653b
The hashindex is also able to tell if it can be used for a Condition Block
2015-09-22 17:23:56 +02:00
Michael Hackstein
e6e795e198
Improved dev output. Now it is easier to see where more than one index is suiteable
2015-09-22 16:14:10 +02:00
Michael Hackstein
9882af23e3
The Edge Index is now able to state if it can be used by Condition or not.
2015-09-22 15:52:06 +02:00
Michael Hackstein
73077a17fc
Implemented the foundation to identify indicies based on DNF Conditions. Primary is implemented as an example. Right now it is only printed that it can be used. TODO: actually use it. Other indicies
2015-09-22 15:39:07 +02:00
Michael Hackstein
f1b0afd9a6
Started to implement functions to find indexes for each Condition sub part
2015-09-22 11:19:52 +02:00
Wilfried Goesgens
19fdb26ab7
Don't leak statistics we want to ignore for aardvark
2015-09-21 14:39:43 +02:00
Michael Hackstein
0d3a095736
Fixed a bug in AQL execution which caused LIMIT <skip> <total> to fail after sorting based on an attribute with skiplist index
2015-09-21 13:15:56 +02:00
Jan Steemann
291891036f
internal refactoring of query API
2015-09-18 17:33:39 +02:00
Jan Steemann
d1c75013e7
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-18 17:28:10 +02:00
Jan Steemann
3c4c64cf14
allow multiple collection nodes
2015-09-18 17:27:10 +02:00
Wilfried Goesgens
15b1d7cfd5
Migrate sub-structured replies to swagger2 preproc docu style
2015-09-18 17:02:53 +02:00
Jan Steemann
3e4eab104c
changed internal API
2015-09-18 17:00:39 +02:00
Jan Steemann
aec802f126
removed unused functions
2015-09-18 16:53:22 +02:00
Jan Steemann
fc553f4909
removed iostream includes
2015-09-17 18:46:42 +02:00
Michael Hackstein
1e5b246b6b
Included the work of @dothebart that was created on optimizing the condition tree.
2015-09-17 18:27:47 +02:00
Jan Steemann
10edae06b4
cppcheck
2015-09-17 18:25:55 +02:00
Jan Steemann
8769c76971
fixed file descriptor leak
2015-09-17 17:52:06 +02:00
jsteemann
53106f22b1
fixed leak
2015-09-17 14:05:30 +02:00
Wilfried Goesgens
b06d03e84f
Cleanup documentation for remaining @-tags
2015-09-17 11:15:33 +02:00
jsteemann
0196dc0f51
documentation fixes
2015-09-16 19:58:59 +02:00
Jan Steemann
7dde1fe546
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-09-16 17:36:57 +02:00
Jan Steemann
2f10135e60
transplanted changes from aql-conditions
2015-09-16 17:36:17 +02:00
Jan Steemann
b0798bbb19
first commit, broken
2015-09-16 17:22:09 +02:00
Jan Steemann
7eb93821a7
explicit
2015-09-16 17:15:37 +02:00
Jan Steemann
32113cc031
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-16 16:58:26 +02:00
Wilfried Goesgens
70a2c74c1b
Update RESTAPI documentation handling to work with the swagger 2 api
...
- use the structures from the swagger for post / reply structures
- add missing documentation snippets to their respective places
- fix syntax of documentation blocks
2015-09-16 16:35:13 +02:00
Jan Steemann
907d98f3dd
fixes for sync
2015-09-16 16:10:56 +02:00
Jan Steemann
693aa03d51
move pointer forward
2015-09-16 13:47:40 +02:00
jsteemann
cb66b1106b
less compaction retries
2015-09-16 01:20:17 +02:00
jsteemann
0670f504a4
fixed sizeDead / numberDead calculation on collection load
2015-09-16 01:19:42 +02:00
Jan Steemann
dc7ac83354
incremental sync fixes
2015-09-15 14:20:08 +02:00
jsteemann
22e17814e3
additionally allow the following characters in document keys:
...
`(` `)` `+` `,` `=` `;` `$` `!` `*` `'` `%`
2015-09-15 00:16:08 +02:00
Jan Steemann
d2d3594351
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-14 17:45:09 +02:00
Jan Steemann
75ccd7e2cc
fixed incremental sync method
2015-09-14 17:44:12 +02:00
Max Neunhoeffer
49cc899f3c
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-09-14 16:40:35 +02:00
Max Neunhoeffer
60ea475238
Remove a wrong space.
2015-09-14 16:40:17 +02:00
Jan Steemann
e08d840b47
replication API documentation
2015-09-14 15:30:00 +02:00
CoDEmanX
4158f7d12b
Add AQL function DATE_DAYS_IN_MONTH(), extend DATE_FORMAT()
...
Conflicts:
js/server/modules/org/arangodb/aql.js
2015-09-14 11:35:04 +02:00
Jan Steemann
09efe111a6
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-14 10:53:12 +02:00
Jan Steemann
2419ec939b
re-added build directory
2015-09-14 10:52:21 +02:00
Wilfried Goesgens
176b150c46
Implement possibility to add reply grammers via the documentation.
2015-09-14 10:49:28 +02:00
Jan Steemann
d9169f964e
potential fix for 32 bit version
2015-09-12 21:26:59 +02:00
Jan Steemann
ea4754546a
clear AQL cache objects when starting a query, fixed a few TODOs in AQL date implementation
2015-09-11 21:23:07 +02:00
Jan Steemann
3f68ea3da0
Merge branch 'devel' of https://github.com/arangodb/arangodb into replication-sync-collections
2015-09-11 17:16:06 +02:00
Jan Steemann
d7a3b51e1b
additional sync method
2015-09-11 17:13:31 +02:00
Jan Steemann
b0a924c5a8
sync
2015-09-11 11:56:38 +02:00
Willi Goesgens
ac2acabd5d
Work on formatting and grammer
2015-09-11 11:25:34 +02:00
Jan Steemann
41844d2b1e
fixed typos
2015-09-11 10:32:37 +02:00
CoDEmanX
6fba9c5284
Additional AQL date functions: DATE_DAYOFYEAR, DATE_ISOWEEK, DATE_LEAPYEAR, DATE_QUARTER, DATE_ADD, DATE_SUBTRACT, DATE_DIFF, DATE_COMPARE and DATE_FORMAT.
...
Unit tests incomplete and untested. Behavior of some functions might need adjustments. ISO duration cache needs to be cleared on every AQL query to avoid a memory leak.
Please rebuild Aardvark and see TODOs in code. Also added Windows shortcuts to ignore list.
2015-09-11 06:23:36 +02:00
Jan Steemann
bead727a32
initial work for better incremental synchronization
2015-09-10 18:17:58 +02:00
Willi Goesgens
778d2c84cb
Work on sub-structured data to be propper formatted for swagger.
2015-09-10 10:57:42 +02:00
CoDEmanX
8cf82b1cf3
Add two missing backticks to unbreak docu blocks
2015-09-09 22:01:55 +02:00
Jan Steemann
f077af1594
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-09 17:43:38 +02:00
Jan Steemann
6e290db783
fixed typos
2015-09-09 17:43:34 +02:00
Willi Goesgens
e1ae661ae0
Work on multi-dimensional swagger post data
2015-09-09 17:40:51 +02:00
Willi Goesgens
eb9e03f3f0
Upgrade the REST-API documentation to to swagger V2.0
...
Wrap lines in examples.
2015-09-09 15:21:18 +02:00
Frank Celler
3439838b44
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-09 14:49:42 +02:00
Frank Celler
3734a754b9
handle CTRL-C in console thread
2015-09-09 14:49:08 +02:00
Jan Steemann
0735277830
removed IndexWatermarks again... not needed
2015-09-09 14:22:58 +02:00
Jan Steemann
3e39dd088c
better clear the block
2015-09-08 17:47:43 +02:00
Jan Steemann
a7b51c39da
added tests
2015-09-08 17:34:14 +02:00
Michael Hackstein
fdde6a69c6
Added failure tests for new implementation of HashIndex. And fixed a memleak there.
2015-09-08 15:35:21 +02:00
Jan Steemann
560a039f3e
added tests
2015-09-08 14:22:23 +02:00
Michael Hackstein
1afd19e550
Fixed the resizing of AssocUnique. It was different from AssocMulti which cased the nonUnique index to be faster than the unique one
2015-09-08 11:48:57 +02:00
Jan Steemann
29d37eb346
added diagnosis functions
2015-09-07 20:48:42 +02:00
Jan Steemann
8b599b5274
changed some include headers around
2015-09-07 17:09:10 +02:00
Jan Steemann
b6a1684605
primary index speedup
2015-09-07 16:22:39 +02:00
Jan Steemann
7696423482
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-07 13:44:17 +02:00
Willi Goesgens
aec58c64c6
Add cast for windows
2015-09-07 13:36:06 +02:00
Jan Steemann
39939fc1c9
primary index initial insertion speedup
2015-09-07 13:05:02 +02:00
Jan Steemann
0404cb098f
temporarily disable watermarks
2015-09-07 11:08:22 +02:00
Jan Steemann
21ae579072
potential fix for issue #1474
2015-09-07 09:53:58 +02:00
CoDEmanX
8aa78dcb7f
Fix some more typos
2015-09-05 17:18:04 +02:00
Jan Steemann
b9c8972477
index watermarks preparations
2015-09-04 18:14:39 +02:00
Jan Steemann
e602ca5662
issue #1471 : document() vs documents() parameters (_key and _id)
2015-09-04 18:13:23 +02:00
Jan Steemann
6f2ad068ee
whitespace
2015-09-04 14:57:16 +02:00
Jan Steemann
47360f4511
added tests
2015-09-04 14:21:31 +02:00
Jan Steemann
439279bf7e
properly initialize member
2015-09-04 10:59:40 +02:00
Jan Steemann
c6e44dde1d
made two methods private
2015-09-04 10:59:28 +02:00
Jan Steemann
cd3dd77e9a
removed unused method
2015-09-04 10:59:18 +02:00
Willi Goesgens
771c291042
Merge pull request #1472 from CoDEmanX/devel
...
More Americanization
2015-09-04 09:15:30 +02:00
Jan Steemann
06760a2c45
fixed broken index scan
2015-09-03 22:49:53 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Jan Steemann
4e0a3e6505
fix memory usage confusion
2015-09-03 20:12:50 +02:00
Michael Hackstein
5322b4b35b
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-09-03 16:25:29 +02:00
Michael Hackstein
630c8fd42f
Improved Primary Sequential read
2015-09-03 16:25:24 +02:00
Jan Steemann
0e454b7a3e
abort startup when wrong alignment is detected
2015-09-03 15:10:48 +02:00
Jan Steemann
ec61d921f6
fixed typo
2015-09-03 13:55:07 +02:00
Michael Hackstein
f5169e1ebc
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-09-03 13:54:08 +02:00
Michael Hackstein
74c9221d9d
Removed numFields and replaced it by numPaths which is knonw by the inde superclass
2015-09-03 13:54:05 +02:00
Michael Hackstein
46e8a1e0fb
Removed debug output
2015-09-03 10:16:15 +02:00
Michael Hackstein
5861fecdb7
The HashIndex is now able to be built up in a parallelized way
2015-09-03 10:16:15 +02:00
Michael Hackstein
26fdd92685
Updated the Primary index to new version of AssocUnique.
2015-09-03 10:16:15 +02:00
Michael Hackstein
481cb1b7dd
Removed const in AssocMulti batch insert. It was non-const casted internally...
2015-09-03 10:16:15 +02:00
Jan Steemann
c89cf82c6b
constified
2015-09-02 17:37:28 +02:00
Jan Steemann
8ef9d1ea78
whitespace
2015-09-02 17:26:31 +02:00
Jan Steemann
28ba8dc10e
simplified
2015-09-02 17:24:52 +02:00
Jan Steemann
62b4a165b3
removed unused cases
2015-09-02 17:16:40 +02:00
Jan Steemann
282e13afb4
preparation for index watermarks
2015-09-02 16:24:14 +02:00
Jan Steemann
c01bebe917
do not destroy HttpsCommTask too early
2015-09-02 15:56:29 +02:00
Jan Steemann
a40683bac0
properly shutdown SSL connections in case the accept fails
...
otherwise we may get into an endless loop of retries
2015-09-02 15:24:35 +02:00
Jan Steemann
31c9de3aef
explicit cast to avoid VS warnings
2015-09-02 13:50:49 +02:00
Jan Steemann
c91c13e08b
test of ARM detection
2015-09-02 13:33:17 +02:00
Jan Steemann
2e617ac0cc
Merge branch 'american-english' of https://github.com/CoDEmanX/ArangoDB into devel
...
Conflicts:
arangod/Wal/Slots.cpp
lib/Basics/debugging.cpp
lib/Basics/files.cpp
2015-09-02 13:14:49 +02:00
Jan Steemann
6a3f479c98
simplifications
2015-09-02 10:28:50 +02:00
Jan Steemann
0e802d6438
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-02 10:20:18 +02:00
Jan Steemann
a80d6635ab
create fat datafiles
...
This prevents SIGBUS when a sparse datafile is accessed and the disk is full. In
this case the mmapped region is not necessarily backed by physical memory, and
accessing the memory may crash the program
2015-09-02 10:18:24 +02:00
CoDEmanX
956b396e43
Change spelling of 'initialize' to American English (actual code and files)
2015-09-01 17:29:22 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Michael Hackstein
bb03d0001b
Fixed memlead in index operator. Destructor was not virtual
2015-09-01 15:38:25 +02:00
Michael Hackstein
027445697d
Renamed SkiplistIndex2 to SkiplistIndex ;)
2015-09-01 15:05:49 +02:00
Michael Hackstein
165d2f1630
Fixed a memory leak thx @jsteemann
2015-09-01 15:05:49 +02:00
Michael Hackstein
786126f307
Removed obsolete file
2015-09-01 15:05:49 +02:00
Michael Hackstein
40a56efa24
Using bounds checking when accessing the intervals of skiplist index
2015-09-01 15:05:48 +02:00
Michael Hackstein
2e3321a112
Explicitly initialized SkiplistIteratorInterval
2015-09-01 15:05:48 +02:00
Michael Hackstein
02b3a0614e
Properly initialized objects of SkiplistInterval
2015-09-01 15:05:48 +02:00
Michael Hackstein
b73718400e
Fixed invalid read
2015-09-01 15:05:48 +02:00
Michael Hackstein
c2b0220fd5
Style fix2
2015-09-01 15:05:48 +02:00
Michael Hackstein
2aed925ddc
Fixed bugs in SkiplistIndex2. Introduced by refactoring
2015-09-01 15:05:48 +02:00
Michael Hackstein
dd20dc4c7f
Finished with C++ification of SkiplistIndex and index operators. Now to be tested.
2015-09-01 15:05:47 +02:00
Michael Hackstein
26d64776c1
C++ified index-operator. Removed the free function now everything is handled properly via destructors
2015-09-01 15:05:47 +02:00