Jan Christoph Uhde
c91cfecded
remove superfluous decrease memory usage ( #4132 )
2017-12-21 20:15:03 +01:00
Jan
f83a1a0394
Feature 3.3/add recovery tests for intermediate commits ( #4106 )
...
* added several recovery tests that check intermediate commits
* small fixes
* fix tests
2017-12-20 09:46:12 +01:00
Jan
5230df9f72
Feature 3.3/fulltext optimizations ( #3925 )
2017-12-19 21:40:12 +01:00
Jan
b7ee607312
Bug fix 3.3/integer overflow when calculating waits in constituent ( #4090 )
...
* integer overflow in Constituent could seize operation of Agency
* less likely integer overflow on double conversion
* less likely integer overflow on double conversion
* changed comparison to integer comparison as suggested by @neunhoef
2017-12-19 10:10:05 +01:00
Simon Grätzer
90e6c78845
Make sure recalculated counts are actually stored ( #4079 )
...
(cherry picked from commit ab9faf56ce81a214a20683f7512db063ef9b063b)
2017-12-18 22:39:04 +01:00
jsteemann
f9a86e6cca
remove debug message
2017-12-16 15:22:54 +01:00
Jan
08de96ffee
fixed issue #4056 ( #4058 )
...
* fixed issue #4056
* fix over eager santiation
2017-12-16 15:10:29 +01:00
Jan
d78f4601ba
don't make the syncer fail when it is restarted ( #4030 )
2017-12-14 10:23:35 +01:00
Jan
5b392c027a
forgotten fix for globallyUniqueId ( #4033 )
2017-12-14 10:05:28 +01:00
Jan
d0021ac71a
fix issue #planning/1511 ( #4029 )
2017-12-13 22:09:46 +01:00
Jan
9c5893e7a7
fix premature unlock ( #3802 ) ( #4027 )
...
* fix some deadlocks found by evil lock manager (tm)
* fix duplicate lock
* fix indentation
* ensure proper lock dependencies
* fix lock acquisition
* removed useless comment
* do not lock twice
* create either a V8 transaction context or a standalone transaction context, depending on if we are called from within V8 or not
* AQL micro optimizations
* use explicit constructor
* only use V8DealerFeature's ConditionLocker for acquiring a free V8 context
entering and exiting the selected context is then done later on without having to hold the ConditionLocker
* remove some recursive locks
* Disable custom deadlock detection when Thread Sanitizer is enabled
* Changing ifdef's
* grr
* broke gcc
* Using atomic for ApplicationServer::_server
* fix premature unlock
* add some asserts
* honor collection locking in cluster
* yet one more lock fix
* removed assertion
* some more bugfixes
* Fixing assert
(cherry picked from commit 1155df173bfb67303077fbe04ee8d909517bfd21)
2017-12-13 18:46:14 +01:00
Jan
e7f93d8b9d
potentially fix send request timeout ( #4025 )
...
* potentially fix send request timeout
* fix globallyUniqueIds
2017-12-13 18:45:31 +01:00
Simon Grätzer
3287d8706a
Use uuid in initalsync to ensure proper collection mapping ( #3972 )
2017-12-13 14:29:21 +01:00
Simon Grätzer
cfd500c53c
Fixing an issue with intermediate commits ( #4006 )
...
* Fixing an issue with intermediate commits
(cherry picked from commit 7f61fb9be0f22904be21e9dd26c3870035a5b318)
* Only check collection counts without intermediate commits
* Fixing assert
2017-12-12 23:15:41 +01:00
Jan
d080350afa
make replication abortable ( #4015 )
2017-12-12 23:15:22 +01:00
Jan
7af86685e3
when upgrading from 3.1 LastHeartBeatAcked could also have been missing, when the 3.1 cluster had not run for long enough ( #3974 )
2017-12-08 17:33:37 +01:00
Jan
3caa4c47bb
add a test for replication applier restarts ( #3750 ) ( #3933 )
2017-12-08 15:48:15 +01:00
jsteemann
e0b3917380
fix failing test on MSVC
2017-12-07 16:25:31 +01:00
Wilfried Goesgens
3a940eccdc
release version 3.3.rc7
2017-12-07 14:48:38 +01:00
Jan
6ce073c2d5
fixed issue #3640 : limit in subquery ( #3903 )
2017-12-07 10:41:46 +01:00
Jan
5f142fb601
fix issue #3745 : Invalid result when using OLD object with array attribute in UPSERT statement ( #3904 )
...
* fix issue #3745 : Invalid result when using OLD object with array attribute in UPSERT statement
* updated CHANGELOG
2017-12-07 10:40:59 +01:00
Jan
29d81302ce
Bug fix 3.3/agency transactions ( #3936 )
...
* Added 503/0 inquire tests to resilience tests (#3839 )
* replaced all AgencyGeneralTransactions by AgencyWriteTransaction (#3841 )
2017-12-07 10:39:36 +01:00
Jan
08f9326eed
make sure we do not dereference a nullptr ( #3906 )
2017-12-07 10:36:13 +01:00
Jan
291df05e08
Resolving externals before using them with VelocyPackHelper::VPackHash ( #3907 )
2017-12-07 10:35:25 +01:00
Jan
1789977d51
fix heap sort in GatherBlock ( #3908 )
2017-12-07 10:34:44 +01:00
Jan
7aed168a0d
added missing guard object ( #3910 )
2017-12-07 10:34:17 +01:00
Jan
bec83181be
Bug fix 3.3/add security check end with failover ( #3911 )
...
* Add security check in AgencyComm::sendWithFailover.
* some cleanup
* added some more tests
* add typeName() to AgencyCommTransaction to make the transaction type printable in debug messages
* improve debuggability
2017-12-07 10:33:59 +01:00
Jan
ad8de0e6bf
allow passing a serverId value of "none" to replication APIs ( #3912 )
2017-12-07 10:33:14 +01:00
Jan
4397ebf3c7
improve compatibility when replicating from a 3.2 ( #3915 )
2017-12-07 10:30:27 +01:00
Jan
ba729150bf
backporting inquire fixes ( #3920 )
2017-12-07 10:27:41 +01:00
Jan
631b2dcb11
fix multiple binds to the same ip/port on Windows ( #3923 )
2017-12-07 10:26:25 +01:00
Jan
21e275d1a1
Propagate commit errors to AQL ( #3831 ) ( #3932 )
2017-12-07 10:20:04 +01:00
Michael Hackstein
f986a5f06c
Improved the cost estimation of traversals to be independent from max search depth. This fixes #3917 ( #3944 )
...
LGTM
2017-12-07 10:05:35 +01:00
Matthew Von-Maszewski
f6cdbcd4e8
add defensive coding and logging in response to a divide by zero. ColumnFamilyData::RecalculateWriteStallConditions() called SetBytePerSecond() with some value less than four. Could have been a race condition due to our SetThrottle() called without db mutex. No proof, just likely. ( #3950 )
2017-12-07 09:25:44 +01:00
Jan
4104296fd3
fix revision id vs local document id usage in incremental sync ( #3916 )
2017-12-07 09:24:20 +01:00
jsteemann
b91e6da52e
fix replication context locking
2017-12-04 12:09:57 +01:00
Frank Celler
75a494dc74
Merge branch 'devel' of github.com:arangodb/arangodb into 3.3
2017-11-28 12:49:25 +01:00
Kaveh Vahedipour
f7b4150b64
no clientId anymore in send/sendWithFailOver SPIs ( #3819 )
2017-11-28 10:47:36 +01:00
Kaveh Vahedipour
c300eee5f0
minor ( #3813 )
2017-11-27 18:22:13 +01:00
Jan
4eab985e90
fix wrong ifdefs ( #3803 )
2017-11-27 14:20:04 +01:00
Kaveh Vahedipour
27cd691bbf
Bug fix/agencycomm validate methods broken ( #3805 )
2017-11-27 14:18:25 +01:00
Frank Celler
a54da92fc7
Merge branch 'devel' of github.com:arangodb/arangodb into 3.3
2017-11-24 12:29:19 +01:00
Michael Hackstein
99b7b5080b
Fixed CAS in AuthInfo update in cluster. Should now be more reliable. ( #3787 )
2017-11-24 11:47:24 +01:00
Jan
bd1a2d6cce
fix shutdown deadlock ( #3796 )
2017-11-24 11:42:09 +01:00
Kaveh Vahedipour
2beaef41ff
Bug fix/agencycomm validate methods broken ( #3784 )
2017-11-24 10:31:07 +01:00
Frank Celler
0b609dc65e
Merge branch 'devel' of github.com:arangodb/arangodb into 3.3
2017-11-22 16:11:52 +01:00
Matthew Von-Maszewski
50012d1ed8
Throttle adjustments for high speed arrays ( #3755 )
2017-11-22 12:03:55 +01:00
Michael Hackstein
7d95de46e8
Fixed a dead-lock issue in authinfo ( #3764 )
2017-11-22 10:33:39 +01:00
Frank Celler
e963a4c39b
Merge branch 'devel' of github.com:arangodb/arangodb into 3.3
2017-11-20 10:30:42 +01:00
Matthew Von-Maszewski
874e1d8eb0
correct stupid mistake: was erasing iterator in middle of same iterators loop ( #3740 )
2017-11-20 10:24:53 +01:00