Simon Grätzer
32149d2738
applied clang format
2017-05-26 14:50:01 +02:00
Simon Grätzer
21dd147ad6
Fixing issues
2017-05-26 14:03:12 +02:00
Simon Grätzer
92c7bf8dd6
fixing wrong counter manager
2017-05-26 13:35:31 +02:00
Simon Grätzer
d5f85d5bbb
Adding more colum families
2017-05-26 10:43:17 +02:00
Simon Grätzer
5367e34935
Merge branch 'devel' of https://github.com/arangodb/arangodb into column-family
2017-05-26 08:24:33 +02:00
Frank Celler
6bdc91c1b1
Merge pull request #2496 from joerg84/devel
...
Fixed incorrect config option in error message.
2017-05-25 10:13:24 +02:00
Joerg Schad
b41793e5b0
Fixed incorrect config option in error message.
2017-05-25 14:08:02 +09:00
Max Neunhoeffer
85385486ab
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-05-24 23:34:20 +02:00
Max Neunhoeffer
ad5652ad1d
Make two obsolete options hidden.
2017-05-24 23:33:55 +02:00
jsteemann
b9c4efbaf8
added environmentfeature
2017-05-24 22:00:16 +02:00
Dan Larkin
afceeb1b14
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-24 13:46:05 -04:00
Dan Larkin
5ec026b659
Added sizeHint method for caches to improve warmup procedures.
2017-05-24 13:45:53 -04:00
jsteemann
e49cdceaa1
added missing lock
2017-05-24 19:41:43 +02:00
Simon Grätzer
555a7fcecd
Merge branch 'devel' of https://github.com/arangodb/arangodb into column-family
2017-05-24 19:04:20 +02:00
Simon Grätzer
36503af230
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBReplicationTailing.cpp
2017-05-24 18:38:34 +02:00
Simon Grätzer
2f2d07ab9a
Multihreaded import
2017-05-24 18:37:45 +02:00
Andreas Streichardt
b70644440b
Do not allow creation of user collection when there are not enough
...
servers
2017-05-24 18:04:35 +02:00
jsteemann
1e0bfe78cb
fix assertion
2017-05-24 16:57:21 +02:00
jsteemann
73726f9ce6
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-24 16:49:53 +02:00
jsteemann
69c7f962b0
reset state variable
2017-05-24 16:49:44 +02:00
Dan Larkin
0b8546ca98
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-24 10:44:38 -04:00
Dan Larkin
e935c83762
Exposed isMigrating() method on caches.
2017-05-24 10:44:34 -04:00
Andreas Streichardt
50876d0d3f
Do not look at replicationFactor while creating...just look at the plan! it is great!
2017-05-24 16:25:49 +02:00
Andreas Streichardt
b5fcd15214
Fix linter
2017-05-24 14:53:06 +02:00
Andreas Streichardt
ab2dcfb844
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-24 14:33:22 +02:00
Andreas Streichardt
f2670f8040
Extract compareServerList and make it reuseable
2017-05-24 14:13:51 +02:00
jsteemann
4ee75af662
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-24 11:59:49 +02:00
Max Neunhoeffer
d45ac5536d
Adjust lower limit for timeout in sync repl for RocksDB.
2017-05-24 11:52:39 +02:00
Max Neunhoeffer
9ce9db63fc
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-05-24 11:50:27 +02:00
jsteemann
d6bb581b18
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-24 11:33:53 +02:00
jsteemann
81786c0aa6
print compression support
2017-05-24 11:33:46 +02:00
jsteemann
631453a1f3
more options
2017-05-24 11:15:36 +02:00
jsteemann
b23285df81
added more options, but not effective yet
2017-05-24 11:02:24 +02:00
Max Neunhoeffer
ff12815b2e
Correct a typo in a variable name, improve comments.
2017-05-24 09:53:40 +02:00
Max Neunhoeffer
77517709ea
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-05-24 08:58:43 +02:00
Dan Larkin
71846d0ad7
Added hinting so cache table is aware of eviction rate problems.
2017-05-23 19:05:50 -04:00
Dan Larkin
78c80c3a3d
Doubled size of cache buckets to increase associativity.
2017-05-23 17:51:47 -04:00
Max Neunhoeffer
11e6b9ea7f
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-05-23 20:38:38 +02:00
jsteemann
c722a5f4d7
move
2017-05-23 18:02:17 +02:00
jsteemann
27a8adf9b8
moved shell colors into their own feature
2017-05-23 16:53:43 +02:00
Dan Larkin
fa2441cc96
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-23 10:16:58 -04:00
Dan Larkin
6c9f12ea85
Fixed RocksDB export API.
2017-05-23 10:16:53 -04:00
Michael Hackstein
c7ad9ed16d
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-23 15:16:02 +02:00
Michael Hackstein
12f1a7c6f6
Fixed a bug where the IndexEstimator could get into undefined behaviour if the persisted estimate contains a size of 0.
2017-05-23 14:25:53 +02:00
jsteemann
a4fde59fd2
some refactoring
2017-05-23 13:18:51 +02:00
Michael Hackstein
9055552c8b
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-23 13:17:20 +02:00
Michael Hackstein
91e19071a9
The Cuckoo index estimator now uses 32bit counters instead of 16bit. It should be more relyable now.
2017-05-23 12:56:24 +02:00
Simon Grätzer
6c905c8d26
Missed some markers
2017-05-23 11:37:17 +02:00
Simon Grätzer
88977d204a
Merge branch 'devel' of https://github.com/arangodb/arangodb into column-family
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBIndex.cpp
# arangod/RocksDBEngine/RocksDBIndex.h
# arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp
# arangod/RocksDBEngine/RocksDBPrimaryIndex.h
2017-05-23 11:17:30 +02:00
jsteemann
ca16705097
windows again
2017-05-23 11:15:17 +02:00
jsteemann
244e380f63
unintentionally broke the export
2017-05-23 10:57:31 +02:00
jsteemann
53fa66e60d
move parts from ProgramOptions from headers into cpp files
2017-05-23 10:30:36 +02:00
jsteemann
2f3e4d0ba0
fix init order
2017-05-23 08:57:39 +02:00
jsteemann
ad5e58b050
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-23 08:53:26 +02:00
jsteemann
a7b3839e6c
renamed "getMore" to "next"
2017-05-23 08:53:13 +02:00
Simon Grätzer
ddfa15b8cc
Adding bound checking back
2017-05-22 19:09:32 +02:00
Simon Grätzer
6db35a93a0
Merge
2017-05-22 18:05:15 +02:00
jsteemann
802180e2f2
better error messages
2017-05-22 18:00:20 +02:00
jsteemann
79cda92a2a
move common code into its own file
2017-05-22 17:46:12 +02:00
Simon Grätzer
9679aecf53
Adding bounds back
2017-05-22 17:39:19 +02:00
jsteemann
221583e9ca
fix warning
2017-05-22 16:00:05 +02:00
jsteemann
ee0ba4f377
inline functions
2017-05-22 15:58:27 +02:00
jsteemann
c53126cebc
added missing include
2017-05-22 15:58:07 +02:00
jsteemann
183ae6381d
add missing include
2017-05-22 15:57:54 +02:00
jsteemann
e74f77fbc9
fix reserve
2017-05-22 15:57:39 +02:00
jsteemann
ae75259542
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-22 15:56:39 +02:00
jsteemann
efc4ca24eb
remove IsolateData again after context gets destroyed
2017-05-22 15:56:23 +02:00
jsteemann
c844db70b8
fixed invalid assertion
2017-05-22 15:54:25 +02:00
Max Neunhoeffer
03c5766a6d
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2017-05-22 15:37:12 +02:00
Max Neunhoeffer
4bddb0c1ad
Handle errors in loadScript for JS, use in cluster-bootstrap.
...
This recognizes errors that happen during the global cluster bootstrap.
If an error happens, the bootstrap is tried again later. The cluster
does not start until the cluster bootstrap has been finished
successfully.
2017-05-22 15:34:41 +02:00
Max Neunhoeffer
cbdf9563cb
Add configuration option to multiply synchronous replication timeout.
2017-05-22 15:34:15 +02:00
jsteemann
686a964718
adjusted error message
2017-05-22 13:53:22 +02:00
jsteemann
a91c54f6b3
avoid double-copying of shared ptrs
2017-05-22 11:28:18 +02:00
Simon Grätzer
67b9f75fec
Merge branch 'devel' of https://github.com/arangodb/arangodb into column-family
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBEdgeIndex.cpp
2017-05-22 11:16:26 +02:00
Simon Grätzer
ad3da410b2
Pregel improvements
2017-05-22 11:10:28 +02:00
jsteemann
8a1c557f07
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-22 10:52:03 +02:00
jsteemann
d398b5e4b7
added option `--query.fail-on-warning`
2017-05-22 10:51:53 +02:00
Michael Hackstein
71241e6048
Fixed usage of std::min on apple clang. It complains that size_t != uint64_t. Now both sides are uint64_t
2017-05-22 08:03:18 +02:00
Michael Hackstein
6f58815ccc
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-22 07:50:06 +02:00
Michael Hackstein
c9206ab218
The RocksDBEdgeIndexCache now can increase the values size it wants to cache, there is no hardcoded upperbound anymore. Also moved a lot of state out of the iterator.
2017-05-21 23:30:33 +02:00
Simon Grätzer
45d7c5c715
Various debugging changes
2017-05-20 17:44:28 +02:00
Simon Grätzer
552894fa97
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp
2017-05-19 17:06:24 +02:00
Simon Grätzer
bbb5f560ed
Adding asserts
2017-05-19 17:05:43 +02:00
jsteemann
b8058039d4
adjust error message
2017-05-19 16:55:39 +02:00
jsteemann
3459cbd15d
re-activate fill_cache
2017-05-19 16:50:01 +02:00
Simon Grätzer
be943c8992
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-19 16:43:05 +02:00
Simon Grätzer
a99611e7c0
Various changes
2017-05-19 16:43:00 +02:00
jsteemann
a5070978da
fixed issue #2488
2017-05-19 15:57:47 +02:00
Simon Grätzer
faac307f6e
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-19 13:03:40 +02:00
jsteemann
6e5a9de0dc
adjusted log messages
2017-05-19 11:33:43 +02:00
Simon Grätzer
7cd0bc3c62
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp
2017-05-19 11:15:36 +02:00
jsteemann
c34ebf8aa1
added Equal function to Comparator
...
also don't fill block cache when using all/any iterators
2017-05-19 09:58:19 +02:00
Simon Grätzer
8ae7e00eb5
DMID improvements
2017-05-18 23:27:54 +02:00
Simon Grätzer
e73f446c5b
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-18 22:08:39 +02:00
Simon Grätzer
2bd2a15cb3
Column family support
2017-05-18 22:08:34 +02:00
jsteemann
f2a5a6473e
try to fix ADL issue
2017-05-18 21:07:14 +02:00
jsteemann
0366fba276
try to fix thread joining for replication applier
2017-05-18 21:05:57 +02:00
Kaveh Vahedipour
74d11bf522
more verbose index find failures
2017-05-18 16:50:15 +02:00
Kaveh Vahedipour
d51a6cb173
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-18 16:18:25 +02:00
Kaveh Vahedipour
6fa966c71b
More robust registration of Callback
2017-05-18 16:17:59 +02:00
jsteemann
46fb0f0e41
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-18 15:57:57 +02:00
Michael Hackstein
960e1482f9
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-18 15:54:21 +02:00
Michael Hackstein
e4050f9804
Temporary Commit, modifying some RocksDB Options and the EdgeIndex Cache size. This commit is used for NoSQL Performance Banchmark validation.
2017-05-18 15:45:49 +02:00
jsteemann
8bc6b3d3a1
removed default parameters
2017-05-18 15:06:19 +02:00
Simon Grätzer
4f3a01ea70
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-18 15:06:08 +02:00
Simon Grätzer
6dc5e2617a
Fixes to DMID
2017-05-18 15:06:04 +02:00
jsteemann
a840ac8205
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-18 14:30:09 +02:00
jsteemann
b3c87b1f29
fix dropping indexes
2017-05-18 14:29:54 +02:00
Kaveh Vahedipour
e3cbd7fec1
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-18 11:49:00 +02:00
Kaveh Vahedipour
94cf025b34
check first time when ClusterComm is accessed, if not stopping
2017-05-18 11:48:41 +02:00
jsteemann
66fa00e889
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-18 09:27:03 +02:00
Kaveh Vahedipour
7fed85b27a
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-18 09:13:09 +02:00
Kaveh Vahedipour
8f8ebbcb03
agents wait for inception thread to finish before unprepare
2017-05-18 09:13:01 +02:00
jsteemann
b68482bcaa
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-18 00:17:55 +02:00
jsteemann
226920d7fa
optimizations
2017-05-17 23:41:16 +02:00
Andreas Streichardt
83dff84be7
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-17 18:19:26 +02:00
Andreas Streichardt
49328dcecb
Add authorizedflag fixing cluster internal foxx requests
2017-05-17 18:14:11 +02:00
Michael Hackstein
b4d1664023
Disabled Collection Cache {_rev => doc} and PrimaryIndex Cache {_key => _rev}. This seems to not have a positive effect in our tests.
2017-05-17 17:50:15 +02:00
Dan Larkin
e0465e0943
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-17 09:39:08 -04:00
Dan Larkin
8decc3c8b8
Fixed some uninitialized values.
2017-05-17 09:38:31 -04:00
Simon Grätzer
d0f9ea5138
Fixing issue
2017-05-17 14:17:03 +02:00
Jan Christoph Uhde
b91ffaecf6
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
* 'devel' of https://github.com/arangodb/arangodb :
fixing deadlock
Fixed SLPA
2017-05-17 13:51:55 +02:00
Simon Grätzer
3b9e2c2f13
fixing deadlock
2017-05-17 13:44:43 +02:00
Simon Grätzer
28d9713846
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-17 12:39:46 +02:00
Jan Christoph Uhde
415cbfea60
fix figures and add tests
2017-05-17 12:22:43 +02:00
Kaveh Vahedipour
8504d9e987
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-17 11:55:43 +02:00
Kaveh Vahedipour
c998e37462
Inception should not fatally exit, when in shutdown
2017-05-17 11:54:11 +02:00
jsteemann
6adebcb893
fix access mode in ReplicationTransaction
2017-05-17 11:53:34 +02:00
Simon Grätzer
0c6de98365
Fixed SLPA
2017-05-17 11:50:24 +02:00
jsteemann
9c7df7e5b9
make arangod abort again when address is already in use
2017-05-17 11:40:40 +02:00
jsteemann
bc88e74277
fix logic in engine selector
2017-05-17 10:02:16 +02:00
Simon Grätzer
30c4d9552c
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-16 17:56:23 +02:00
Simon Grätzer
a59d2ef457
GeoIndex performance improvements
2017-05-16 17:56:13 +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
Simon Grätzer
f25561a2df
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-16 17:14:58 +02:00
Simon Grätzer
4b6035ff64
Fixed merge
2017-05-16 17:07:15 +02:00
Andreas Streichardt
af4da5796f
More windows warnings
2017-05-16 17:00:31 +02:00
Simon Grätzer
e25f88ef4d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBCuckooIndexEstimator.h
# arangod/RocksDBEngine/RocksDBEdgeIndex.cpp
# arangod/RocksDBEngine/RocksDBIndex.cpp
2017-05-16 16:59:50 +02:00
Simon Grätzer
5265d2a063
intermediate commits
2017-05-16 16:21:39 +02:00
Andreas Streichardt
c07c4b3181
fight visual studio warnings
2017-05-16 16:18:00 +02:00
Jan Christoph Uhde
9aab78a6e9
remove unused code
2017-05-16 13:06:33 +02:00
jsteemann
a75271e1f9
optimizations for key bounds
2017-05-16 12:53:44 +02:00
jsteemann
a4a88d03be
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-16 12:30:09 +02:00
jsteemann
a8320e99dc
don't force compaction after every collection drop operation
2017-05-16 12:22:30 +02:00
jsteemann
9607556e22
added missing copy constructor for RocksDBKeyBounds
...
if the copy ctor was implicitly generated by the compiler,
query results were mostly undefined!
2017-05-16 12:08:24 +02:00
jsteemann
b9fbad02b7
fix MSVC compile warning
2017-05-16 12:04:20 +02:00
Andreas Streichardt
4c2ce35538
Do not generate product version when skipping packages
2017-05-16 02:47:28 -07:00
Michael Hackstein
5bb55b33e5
Put the release in countermanager into a TRI_DEFER for safety
2017-05-16 11:06:09 +02:00
Simon Grätzer
b72243ab15
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-16 10:58:20 +02:00
Simon Grätzer
df3eed2289
Various changes
2017-05-16 10:58:15 +02:00
Michael Hackstein
dee84a1edb
Added a forgotten release() after using a vocbase
2017-05-16 10:50:09 +02:00
jsteemann
d12a697fab
remove misleading log message
2017-05-16 09:48:50 +02:00
jsteemann
572a2ea9e7
remove debug log message
2017-05-16 02:00:46 +02:00
jsteemann
2930ab6b57
cppcheck
2017-05-15 22:39:16 +02:00
Dan Larkin
f63b605f3e
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-15 13:24:33 -04:00
Dan Larkin
5817de528f
Adjusted some cache constants and added eviction rate tracking.
2017-05-15 13:24:30 -04:00
Simon Grätzer
1e04f6ce72
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-15 18:01:39 +02:00
jsteemann
baab846d9a
remove unused variable
2017-05-15 17:38:33 +02:00
Simon Grätzer
6472d7cc94
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBCollection.cpp
2017-05-15 17:36:09 +02:00
Simon Grätzer
70a1d27121
intermediate commits
2017-05-15 17:35:16 +02:00
Michael Hackstein
301f5125cf
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-15 17:19:35 +02:00
Michael Hackstein
d7d650e27d
Implemented index estimates for RocksDB. Now the following indexes have
...
a proper estimate:
* HashIndex
* SkiplistIndex / Persistent
* EdgeIndex
2017-05-15 17:17:58 +02:00
Andreas Streichardt
41f8185553
Add test for rolling back indexes
2017-05-15 16:49:07 +02:00
jsteemann
11cf6ed5c6
re-set fillgrades back to original values
2017-05-15 16:47:41 +02:00
Andreas Streichardt
20c27f61ff
Remove useless debug message :S
2017-05-15 15:51:59 +02:00
Andreas Streichardt
9472ab821c
Fix rolling back of indices
2017-05-15 15:48:01 +02:00
jsteemann
2b19c87114
remove obsolete Dispatcher feature from list
2017-05-15 15:14:52 +02:00
jsteemann
c423cf05a7
storage revisions in edge cache
2017-05-15 15:05:46 +02:00
jsteemann
298d99999f
improve error messages
2017-05-15 15:03:52 +02:00
jsteemann
fc44711531
adjust fillgrades as suggested by @neunhoef
2017-05-15 15:03:29 +02:00
jsteemann
c1f8daba17
more sensible error message
2017-05-15 14:58:53 +02:00
jsteemann
f49a32dff9
added missing casts
2017-05-15 14:39:27 +02:00
jsteemann
af4a81902a
speed up comparisons a bit
2017-05-15 14:35:37 +02:00
jsteemann
8777f73f7f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-15 14:29:38 +02:00
jsteemann
ac6c5a79d7
minor enhancements for the cache
2017-05-15 14:29:14 +02:00
Kaveh Vahedipour
414db971cf
allow for deleting array position in agency kv-store
2017-05-15 12:22:15 +02:00
jsteemann
52ba50e281
micro optimizations for edge index
2017-05-15 12:06:27 +02:00
jsteemann
a325870e13
fix invalid usage of refcount
2017-05-15 12:06:08 +02:00
Simon Grätzer
c4f19e5f91
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-15 10:42:33 +02:00
Simon Grätzer
ead7ebcd7b
Little changes for SLPA support
2017-05-15 10:42:25 +02:00
jsteemann
c6d87e0060
ctor, then dtor, then others
2017-05-15 09:31:40 +02:00
jsteemann
51e8ee50c6
fix indentation
2017-05-15 09:31:08 +02:00
jsteemann
7c959cf81f
fix indentation
2017-05-15 09:30:38 +02:00
jsteemann
4efbad5378
fix compile warnings
2017-05-15 09:29:10 +02:00
jsteemann
4470e7b1bb
re-add geo index to supported indexes list
2017-05-15 08:41:52 +02:00
Frank Celler
0bf806bbd9
use maintainer guard
2017-05-13 14:34:23 +02:00
Simon Grätzer
49cc12e6a9
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-13 01:08:28 +02:00
Simon Grätzer
fe0e296737
RocksDB: fixing WAL tailing issues
2017-05-13 01:08:22 +02:00
Max Neunhoeffer
f614439416
Squashed commit of the following:
...
commit 19a7210119cc284af64251b202f690ab62bf615c
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 23:20:10 2017 +0200
Allow access to /_api/user/ without database check in VST as in HTTP.
This is a try to fix #2465
commit f973c1335652540174bf6b78df42290bded357da
Merge: 30bdc4c 365de45
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 21:32:15 2017 +0200
Merge remote-tracking branch 'origin/devel' into vst-cleanup
commit 30bdc4ca38e028d58cebea8268683d9f94e87ad7
Merge: 14acaea 086f6a2
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 14:52:23 2017 +0200
Merge remote-tracking branch 'origin/devel' into vst-cleanup
commit 14acaea8cb5fff2c1c8c27eee32294bfd612f629
Merge: 5bd0e79 fb088d3
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 12:40:29 2017 +0200
Merge remote-tracking branch 'origin/devel' into vst-cleanup
commit 5bd0e79ab053447f94f2fd959a33b1e15302b6a8
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 12:36:23 2017 +0200
Fix bug in authentication in VST
commit 9a999ce5e629aee5816a4f61b194b086d11fd169
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 12:24:35 2017 +0200
Open up endpoints /_open/* in VST without being authenticated
commit 32f62db42af6d5bfc24214ebb4ca7c1fb473b55e
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 12:11:31 2017 +0200
Simplify logic by not using boost::optional.
commit 925ce2f7b890c6f14205fd3e98553939d89bec61
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 12:11:20 2017 +0200
Add JWT case for authentication for VST
commit f1d7f67a9fc20c91ca000e9a4dad91e0f50f1652
Merge: 040ace3 7a9ccc9
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 08:58:51 2017 +0200
Merge remote-tracking branch 'origin/devel' into vst-cleanup
commit 040ace3e9dce47ddea5f51d29f0153a70d257c9e
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 08:23:16 2017 +0200
Write out chunk buffer using little endian uints
commit 66ad4c0e8d3bc94091664505986b00e7cff39f2f
Author: Max Neunhoeffer <max@arangodb.com>
Date: Fri May 12 08:12:38 2017 +0200
Move maxChunkSize query to constructor, remove dead code
commit f7b4c26cc09c6d512362340c6bf6061bbaae61a9
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 17:57:14 2017 +0200
Do not take protocolVersion from request for VST.
commit c76d6685f9507701715abf882f0ac0e192ead59f
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 13:20:58 2017 +0200
Remove dead code for compression which did never work well.
commit b823765b7c041dc5d143f7ab2e13d92f5f42d3eb
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 13:09:53 2017 +0200
Fix renaming to make compiler happy.
commit b327830012d146f4f4e2d0f0467dab351fbd3bd0
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 13:07:36 2017 +0200
Rename _defaultPortVpp to _defaultPortVst.
commit 5eb98a9e64d702476e8ec098b7506b1a63145d64
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 13:06:28 2017 +0200
Rename header guards VPP -> VST.
commit a3e96be26d49d6151898d8d757ede6225ac6abd2
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 13:05:55 2017 +0200
Rename VppRequest and VppResponse files to Vst.
commit 1d5f6f196490c3cf9312be5927b967b4abc03b67
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 13:04:19 2017 +0200
Change names of header guards VPP -> VST.
commit f004b25fbef75050b34bcd4eae4eb17b8b467230
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 13:03:19 2017 +0200
Rename files VppNetwork.h and VstMessage.h
commit c04d3aec19e8f0a8a3b90cd48e7736bff037359d
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 12:59:15 2017 +0200
Implement correct chunk header for sending out VelocyStream 1.1 messages.
commit 73aeedfbbef24d5929c44bd26c16343480514270
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 01:11:23 2017 +0200
A lot more renaming VPP -> VST.
commit 2acedc77f16a82251bc4f9e39526184e2a6f0dec
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 00:49:20 2017 +0200
Rename header guard.
commit 2ade43946aa5ea0048dab81eed5ffd931ce35ea8
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 00:48:01 2017 +0200
Rename files VppCommTask.* to VstCommTask.*
commit 0ffcda02a51cbad35e5ec06117d397aac37323cd
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 00:46:31 2017 +0200
Rename class VppCommTask to VstCommTask.
commit 9478c6c56c995b014b7a14408544b76fa676a317
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 00:30:47 2017 +0200
Rename protocol versions to VST in ProtocolVersion enum.
commit 0b69b7add6d7b5155ac71b8257def282ab4a1637
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 00:29:29 2017 +0200
Recognize incoming chunk headers in VST/1.1 format.
commit f40173c4fc6dc48613ae67ac3fd810d002c9b6cd
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 00:11:54 2017 +0200
Recognise and remember VST/1.0 and VST/1.1 protocol versions.
commit 29c798dc1af2d650c41eb9ed06f635786faf10f6
Author: Max Neunhoeffer <max@arangodb.com>
Date: Thu May 11 00:11:23 2017 +0200
Create protocol version VST/1.1 and disable vst+ prefix for endpoints.
2017-05-12 23:22:22 +02:00
Jan Christoph Uhde
235a82a7dc
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
* 'devel' of https://github.com/arangodb/arangodb :
Add bye bye messages
update rocksdb logging to error level
protect vector of isolate data with a mutex
avoid nullptr in Inception
remove satelites
2017-05-12 21:39:22 +02:00
Jan Christoph Uhde
4a85f93814
avoid search in cache when iterator was resumed
2017-05-12 21:38:29 +02:00
Simon Grätzer
9ac438ef0f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-12 18:19:35 +02:00
jsteemann
7ea6ba7ad3
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-12 17:27:40 +02:00
jsteemann
257e3a05e3
update rocksdb logging to error level
2017-05-12 17:27:22 +02:00
Simon Grätzer
93e382fb06
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-12 16:54:41 +02:00
Kaveh Vahedipour
78ed68b47b
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-12 16:35:49 +02:00
Kaveh Vahedipour
243d646f9e
avoid nullptr in Inception
2017-05-12 16:35:33 +02:00
Jan Christoph Uhde
b7ca835671
release findings sooner if they contain many entries
2017-05-12 16:09:12 +02:00
Jan Christoph Uhde
d6c06e3672
exose cache hit rate for rocksdb caches
2017-05-12 15:59:26 +02:00
Simon Grätzer
2899fceeb1
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-12 15:55:00 +02:00
Jan Christoph Uhde
227d6648a2
fix not advancing iterator in rocksdb edge index
2017-05-12 14:47:42 +02:00
Simon Grätzer
40f174710b
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-12 14:07:34 +02:00
Simon Grätzer
958c19de35
stuff
2017-05-12 14:07:30 +02:00
Jan Christoph Uhde
8c6709daa1
Merge remote-tracking branch 'origin' into feature/edge-index-cache
...
* origin:
fix version check
2017-05-12 13:57:33 +02:00
Jan Christoph Uhde
07bb07de39
Merge branch 'devel' of https://github.com/arangodb/arangodb into feature/edge-index-cache
...
* 'devel' of https://github.com/arangodb/arangodb :
add debug output
more unique ptrs
fixed comment
moved description into correct section
remove unused options
enable rocksdb logger
2017-05-12 13:56:57 +02:00
jsteemann
b528178a0b
fix version check
2017-05-12 13:55:57 +02:00
Jan Christoph Uhde
db38ef3522
more clean up for edge index
2017-05-12 13:51:05 +02:00
jsteemann
341cf969d3
add debug output
2017-05-12 13:45:17 +02:00
Jan Christoph Uhde
a1454ce87c
clean up RocksDBEdgeIndex code
2017-05-12 13:27:25 +02:00
Jan Christoph Uhde
dd00e03010
fix2
2017-05-12 13:18:13 +02:00
Jan Christoph Uhde
3afdb2a666
fix
2017-05-12 12:35:35 +02:00
Simon Grätzer
8a3d7267d0
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-12 12:35:12 +02:00
jsteemann
e53ddbd04f
fixed comment
2017-05-12 12:32:28 +02:00
jsteemann
b1aae2efdd
remove unused options
2017-05-12 12:12:09 +02:00
jsteemann
b848030818
enable rocksdb logger
2017-05-12 12:03:54 +02:00
Simon Grätzer
fd3bbdd043
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
# Conflicts:
# arangod/RocksDBEngine/RocksDBTransactionState.cpp
2017-05-12 10:55:51 +02:00
Simon Grätzer
5b79e77128
Begin work on transaction wrapper
2017-05-12 10:52:08 +02:00
Jan Christoph Uhde
7902d0e44e
Merge branch 'devel' of https://github.com/arangodb/arangodb into feature/edge-index-cache
...
* 'devel' of https://github.com/arangodb/arangodb : (25 commits)
Add footer to docs, unify slogan
Docs: make graph traversal images hard copies (fixes Cygwin builds)
Added documentation for RocksDB and hash cache options to manual.
Changed default cache size to something reasonable.
cppcheck
added comments
fix shutdown order
Added document cache.
fix some replication issues
Invalidate current coordinators on every 2nd heartbeatrun
Show timeout when failing
Addding locking, fixing conversion warning
Fixing locking error
resync changelog to 3.1
Fix jslint
CHANGELOG: SIGHUP forwarding
forward SIG_HUP from supervisor
Allow removing dbnodes
Rocksb: index locking issue
Fix serverAlias map...this was ridiculous
...
2017-05-12 10:37:24 +02:00
Dan Larkin
0d89b6d0a4
Changed default cache size to something reasonable.
2017-05-11 16:15:06 -04:00
jsteemann
abeae0a30d
cppcheck
2017-05-11 21:21:58 +02:00
jsteemann
6dfeea53be
added comments
2017-05-11 20:59:45 +02:00
jsteemann
68b4b2f393
fix shutdown order
2017-05-11 20:59:36 +02:00
jsteemann
68611a0a6a
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-11 20:58:49 +02:00
Dan Larkin
787335929c
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-11 14:39:06 -04:00
Dan Larkin
1fc3480a6b
Added document cache.
2017-05-11 14:39:00 -04:00
jsteemann
db19b4fdf3
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-11 19:01:49 +02:00
jsteemann
422b06211f
fix some replication issues
2017-05-11 19:00:32 +02:00
Andreas Streichardt
2e4f83fc08
Invalidate current coordinators on every 2nd heartbeatrun
...
needed for foxx resilience stuff
2017-05-11 18:35:33 +02:00
Andreas Streichardt
b96c58a108
Show timeout when failing
2017-05-11 18:35:33 +02:00
Jan Christoph Uhde
9e9faf7bbd
hopefully fix the cache
2017-05-11 18:07:30 +02:00
Simon Grätzer
e11ef2bf54
Addding locking, fixing conversion warning
2017-05-11 17:38:50 +02:00
Jan Christoph Uhde
dce3250862
add more logging to edge index
2017-05-11 16:42:49 +02:00
Simon Grätzer
310166d3cf
Fixing locking error
2017-05-11 15:55:06 +02:00
Jan Christoph Uhde
ba3c797704
fix bug in edgeIndex
2017-05-11 15:20:39 +02:00
Simon Grätzer
d0b65f2945
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-05-11 15:14:10 +02:00
Simon Grätzer
c21bd1eeb8
Rocksb: index locking issue
2017-05-11 15:12:05 +02:00
Andreas Streichardt
f821c5b372
Fix serverAlias map...this was ridiculous
2017-05-11 14:16:19 +02:00
Andreas Streichardt
3040f5f039
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-11 13:41:37 +02:00
Andreas Streichardt
8558cb85c9
warning on windows
2017-05-11 13:41:20 +02:00
Andreas Streichardt
8aba218278
AgencyFeature needs ClusterFeature because of ClusterComm
...
(there was a core when doing the resilience tests)
2017-05-11 13:40:43 +02:00
Jan Christoph Uhde
9e07eeabdd
Merge branch 'devel' of https://github.com/arangodb/arangodb into feature/edge-index-cache
...
* 'devel' of https://github.com/arangodb/arangodb :
Fix server health
Better logging
Updated docs to starter 0.7.0
turn off LDAP tests by default
Update docs to reflect changed in ArangoDB starter 0.7 (probably)
2017-05-11 13:20:24 +02:00
Simon Grätzer
f101e21328
Geo index update, renaming
2017-05-11 13:19:51 +02:00
Jan Christoph Uhde
c6fa6bb1ae
add empty array slices in cache if no primary key for fromTo can be found
2017-05-11 13:13:15 +02:00
Jan Christoph Uhde
36d8b31335
decrease log level for edge index cache
2017-05-11 12:56:12 +02:00
Andreas Streichardt
fe59502848
Fix server health
2017-05-11 12:20:15 +02:00
Andreas Streichardt
439203dc3b
Better logging
2017-05-11 12:20:15 +02:00
Jan Christoph Uhde
ee6e28a33d
first tests pass for rocksdb index with cache
2017-05-11 12:11:00 +02:00
Jan Christoph Uhde
e36d795dad
crashing during lookup
2017-05-11 11:18:44 +02:00
Jan Christoph Uhde
db7fdd2b7f
add postprocessRemove for RocksDBEdgeIndex
2017-05-11 09:50:23 +02:00
Dan Larkin
f43e342c47
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-05-10 19:57:27 -04:00