jsteemann
ad93f8f5ad
oops
2016-11-09 16:42:51 +01:00
Jan Steemann
bd2800c226
issue #2158 : fix error message in case arangoimp fails because of inter-server communication failures/timeouts etc.
2016-11-09 15:19:58 +01:00
jsteemann
da2aa24703
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-09 14:46:56 +01:00
jsteemann
ab4933c994
performance optimizations
2016-11-09 14:46:50 +01:00
Jan Steemann
c9e443a845
preserve hlc values across restarts
2016-11-09 09:34:51 +01:00
Jan Steemann
cb4a471dfd
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-09 08:26:20 +01:00
Jan Steemann
b0119bb652
issue #2149 , issue #2159
...
do not overwrite CORS response headers set by Foxx application with hard-coded default values
2016-11-09 08:25:45 +01:00
jsteemann
cb774beacf
Revert "remove unused ctor"
...
This reverts commit 565009db68
.
2016-11-08 17:01:58 +01:00
jsteemann
565009db68
remove unused ctor
2016-11-08 16:46:22 +01:00
Jan Steemann
f0f90bc914
small fixes for traversal explain output
2016-11-08 16:08:58 +01:00
Jan Christoph Uhde
2dc309db38
make protocol switching less verbose
2016-11-08 15:18:50 +01:00
Max Neunhoeffer
84f4b250d1
Try to fix gmtime_r usage on Windows.
2016-11-08 13:23:48 +01:00
Jan Steemann
8b4e86b0d0
version detection fixes
2016-11-08 11:25:57 +01:00
Max Neunhoeffer
0ac4ec6ddf
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-11-08 10:36:42 +01:00
Max Neunhoeffer
25c3f8b0e3
Fix DECODE_REV.
2016-11-08 10:36:18 +01:00
Jan Steemann
5324a6bbe8
fix _rev handling when creating collections
2016-11-08 10:29:53 +01:00
Max Neunhoeffer
6d5f70b6f4
Add a global DECODE_REV function in JS.
2016-11-08 10:25:35 +01:00
Frank Celler
a1003cb5d3
cosmetics
2016-11-07 17:20:56 +01:00
Kaveh Vahedipour
1c3e8c1205
Supervision gracePeriod shorter
2016-11-07 10:12:13 +00:00
jsteemann
5f65a9ed4f
allow more control over handling of pre-3.1 _rev values
...
this changes the server startup option `--database.check-30-revisions` from a boolean (true/false)
parameter to a string parameter with the following possible values:
- "fail":
will validate _rev values of 3.0 collections on collection loading and throw an exception when invalid _rev values are found.
in this case collections with invalid _rev values are marked as corrupted and cannot be used in the ArangoDB 3.1 instance.
the fix procedure for such collections is to export the collections from 3.0 database with arangodump and restore them in 3.1 with arangorestore.
collections that do not contain invalid _rev values are marked as ok and will not be re-checked on following loads.
collections that contain invalid _rev values will be re-checked on following loads.
- "true":
will validate _rev values of 3.0 collections on collection loading and print a warning when invalid _rev values are found.
in this case collections with invalid _rev values can be used in the ArangoDB 3.1 instance.
however, subsequent operations on documents with invalid _rev values may silently fail or fail with explicit errors.
the fix procedure for such collections is to export the collections from 3.0 database with arangodump and restore them in 3.1 with arangorestore.
collections that do not contain invalid _rev values are marked as ok and will not be re-checked on following loads.
collections that contain invalid _rev values will be re-checked on following loads.
- "false":
will not validate _rev values on collection loading and not print warnings.
no hint is given when invalid _rev values are found.
subsequent operations on documents with invalid _rev values may silently fail or fail with explicit errors.
this setting does not affect whether collections are re-checked later.
collections will be re-checked on following loads if `--database.check-30-revisions` is later set to either `true` or `fail`.
The change also suppresses warnings that were printed when collections were restored using arangorestore, and the restore
data contained invalid _rev values. Now these warnings are suppressed, and new HLC _rev values are generated for these documents
as before.
2016-11-04 23:17:01 +01:00
Michael Hackstein
1c34e0e14b
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-11-04 18:15:35 +01:00
Michael Hackstein
a7f63b3a53
Removed dead code of TraverserExpressions. They have been replaced by native AQL expressions everywhere.
2016-11-04 18:15:04 +01:00
Kaveh Vahedipour
62492195e9
Recapsulating MUTEX in key value Store
2016-11-04 11:42:08 +01:00
Jan Steemann
9f101ae20f
do not prefer primary indexes in that many situations
2016-11-03 17:40:17 +01:00
Kaveh Vahedipour
8185588bb2
double percision conserved for timeout in AgencyComm
2016-11-03 16:47:38 +01:00
Kaveh Vahedipour
d35c6d6dce
local databases lookups up 2 keys in agency with checks on both
2016-11-03 15:34:41 +01:00
Frank Celler
f54f0e5db1
minor typo
2016-11-03 13:42:15 +00:00
Kaveh Vahedipour
ea485b98f2
ltries not incremented
2016-11-03 14:25:53 +01:00
Kaveh Vahedipour
95c177c30c
Waiting for leader election in AgencyComm::sendWithFailover
2016-11-03 14:24:45 +01:00
Kaveh Vahedipour
07cddc3560
Waiting for leader election in AgencyComm::sendWithFailover
2016-11-03 14:24:23 +01:00
Kaveh Vahedipour
ea4bdd2793
min RAFT timeout estimation a little more conservative
2016-11-03 12:21:36 +01:00
Kaveh Vahedipour
34cd8779ea
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-03 11:19:09 +01:00
Kaveh Vahedipour
9e170e8021
version update after return statement
2016-11-03 11:18:50 +01:00
Michael Hackstein
e8fcda252b
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-11-03 10:55:43 +01:00
Michael Hackstein
c6f31091bc
In the properties of a collection now distributeShardsLike is contained.
2016-11-03 10:55:22 +01:00
Kaveh Vahedipour
266ee69535
less noisy inception: only updated configurations are gossipped. avoid multiple reports
2016-11-03 10:27:43 +01:00
Kaveh Vahedipour
cdd9550637
less noisy inception: only updated configurations are gossipped. avoid multiple reports
2016-11-03 10:23:48 +01:00
Jan Steemann
8e80562268
try to fix compile warning
2016-11-03 10:17:39 +01:00
Jan Steemann
a83b7bd3ca
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-03 10:02:19 +01:00
Jan Steemann
d0572ceb24
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-03 09:57:57 +01:00
Jan Steemann
4e18eefa4e
try to fix compile warning
2016-11-03 09:57:14 +01:00
jsteemann
68317bb4f2
added experimental `REGEX_REPLACE` AQL function
2016-11-03 00:40:19 +01:00
jsteemann
36f49d7f2c
prefer user-defined unique indexes on multiple attributes over primary index
2016-11-02 23:20:26 +01:00
jsteemann
2fdf65c3a4
a bit of index cleanup
2016-11-02 22:44:06 +01:00
jsteemann
123ecf82b5
more details for API that describes internals of AQL functions
2016-11-02 21:37:35 +01:00
jsteemann
1e12406bbd
remove log spam
2016-11-02 21:37:21 +01:00
Frank Celler
7df02164ee
fixed supervisor startup
2016-11-02 19:37:49 +00:00
Max Neunhoeffer
6890860dd3
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-11-02 09:38:11 -07:00
Max Neunhoeffer
25d687e32a
Add debug messages in gossip calls in agency.
2016-11-02 09:37:04 -07:00
Jan Steemann
b9d345ff67
fix --database.check-version on an empty directory
2016-11-02 16:55:27 +01:00
Kaveh Vahedipour
e9450e21c2
don't override raft timeout cmd line inpute
2016-11-02 15:57:49 +01:00
Kaveh Vahedipour
c71d9e287e
do not override command line RAFT timings with estimates
2016-11-02 15:44:54 +01:00
Frank Celler
865c284c59
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-02 12:37:18 +01:00
Frank Celler
7a9d58b06e
Fixed potential undefined behavior with temporary objects.
2016-11-02 12:37:04 +01:00
Kaveh Vahedipour
c8511619a6
Gossipping premature stop
2016-11-02 12:01:24 +01:00
Kaveh Vahedipour
134eed9c99
less high frequent gossipping
2016-11-02 11:39:23 +01:00
Kaveh Vahedipour
8b99d8995a
Fix unfinished gossips
2016-11-02 11:36:57 +01:00
jsteemann
31bbbb454f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-01 15:23:49 +01:00
jsteemann
31350a5c14
micro optimizations
2016-11-01 15:23:28 +01:00
Kaveh Vahedipour
a481c27a68
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 17:01:14 +01:00
Kaveh Vahedipour
9a6f605f2f
fixed small double / long conversion
2016-10-31 17:00:55 +01:00
jsteemann
f51871c599
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 16:49:15 +01:00
jsteemann
62632a52c1
Merge branch 'unique-indexes-on-more-than-shardkeys' of https://github.com/arangodb/arangodb into devel
2016-10-31 16:00:34 +01:00
Kaveh Vahedipour
7aef1aed6d
well tested auto adaptation
2016-10-31 15:47:35 +01:00
Kaveh Vahedipour
69131a2fd3
well tested auto adaptation
2016-10-31 14:35:15 +01:00
jsteemann
93cb35eac5
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 13:11:23 +01:00
Jan Steemann
eeac8e5ae9
remove unused test code
2016-10-31 13:08:13 +01:00
jsteemann
9d9b4871ba
fixes for Visual Studio
2016-10-31 12:16:39 +01:00
Jan Steemann
9957dab8dc
remove non-unused PathHandler
2016-10-31 12:15:07 +01:00
jsteemann
46460ebc34
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 11:43:47 +01:00
Kaveh Vahedipour
e8876df3f3
RAFT timings to mean rather than max
2016-10-31 10:25:00 +00:00
Kaveh Vahedipour
0821a8e3e3
RAFT timings to mean rather than max
2016-10-31 10:20:43 +00:00
Kaveh Vahedipour
a538ace158
RAFT auto-timing warnings
2016-10-31 11:19:38 +01:00
Kaveh Vahedipour
a820bb3661
RAFT auto-timing warnings
2016-10-31 11:19:01 +01:00
Kaveh Vahedipour
5656ac8643
RAFT auto-timing warnings
2016-10-31 11:17:34 +01:00
Kaveh Vahedipour
50a275cc8d
RAFT timings to mean rather than max
2016-10-31 09:44:33 +00:00
jsteemann
cf820e6530
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 10:12:45 +01:00
Kaveh Vahedipour
0e15a305d2
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 10:01:33 +01:00
Kaveh Vahedipour
cc8270a897
Proposal for auto adaption of agency's RAFT timings
2016-10-31 10:01:26 +01:00
jsteemann
5d8a8f5402
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 09:59:30 +01:00
jsteemann
cfc9ecd198
fix Visual Studio complaints
2016-10-31 09:59:18 +01:00
Kaveh Vahedipour
0657997168
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 09:43:45 +01:00
Kaveh Vahedipour
9bcdf9ed66
Proposal for auto adaption of agency's RAFT timings
2016-10-31 09:43:39 +01:00
Michael Hackstein
3ea6999a36
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-10-31 09:19:54 +01:00
Michael Hackstein
8f0a1f47f8
Fix for ShoretestPath in Cluster. Does only show up with > 1 shards. Adapterd tests to use 4 shards instead of 1.
2016-10-31 09:19:49 +01:00
jsteemann
1036ae7d9d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-31 09:04:42 +01:00
Kaveh Vahedipour
7640da52a4
RAFT timeout estimation output
2016-10-30 11:27:59 +01:00
Kaveh Vahedipour
a238184b5a
RAFT timeout estimation output
2016-10-30 11:11:28 +01:00
Kaveh Vahedipour
fe89200ef1
timeouts 1000 too large
2016-10-30 11:01:13 +01:00
Kaveh Vahedipour
8a1bc6b783
RAFT timeout update broken?
2016-10-30 10:54:28 +01:00
Kaveh Vahedipour
ebcf245ebd
Adaptive RAFT timing in agency
2016-10-28 19:13:17 +02:00
jsteemann
68c1a6714f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-28 16:43:36 +02:00
jsteemann
aea2b31025
removed unused variable
2016-10-28 16:42:58 +02:00
Kaveh Vahedipour
94b55d60ab
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-10-28 16:30:30 +02:00
Kaveh Vahedipour
2b93488e3f
agency wouldn't restart from persisted state
2016-10-28 16:30:19 +02:00
jsteemann
b60cba0b95
do not silently ignore errors thrown by Transaction::insert
2016-10-28 16:04:20 +02:00
jsteemann
7efabd3706
fix revision id handling
2016-10-28 13:44:55 +02:00
jsteemann
2a371cbf9e
allow creating unique indexes on more attributes than present in shardKeys
...
The following combinations of shardKeys and indexKeys are allowed/not allowed:
shardKeys indexKeys
a a ok
a b not ok
a a b ok
a b a not ok
a b b not ok
a b a b ok
a b a b c ok
a b c a b not ok
a b c a b c ok
2016-10-28 13:04:12 +02:00
Jan Christoph Uhde
66bf5be749
rename vpp to vst in server options and endpoint
2016-10-27 21:45:38 +02:00
Jan Christoph Uhde
8e7841a1c4
remove verbose message
2016-10-27 14:39:17 +02:00