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
Simon Grätzer
3287d8706a
Use uuid in initalsync to ensure proper collection mapping ( #3972 )
2017-12-13 14:29:21 +01:00
Jan
d080350afa
make replication abortable ( #4015 )
2017-12-12 23:15:22 +01:00
Simon Grätzer
0e485f7441
Fixing collection name collection handling in Syncer ( #3710 )
2017-11-17 16:36:57 +01:00
Jan
b4f6ee9273
Feature/improved index api for unique constraints and replication ( #3715 )
2017-11-16 21:02:01 +01:00
Jan
fce593b724
removed `--recycle-ids` option for arangorestore ( #3713 )
2017-11-16 14:25:54 +01:00
Simon Grätzer
c6fe726901
Removing unsafe asserts in wal tailing v3.3 ( #3672 )
2017-11-13 17:41:57 +01:00
Simon Grätzer
87f441753b
RocksDB WAL tailing fixes ( #3595 )
2017-11-10 09:31:53 +01:00
Simon Grätzer
7c31960cf2
Feature/async failover ( #3451 )
2017-10-18 23:59:29 +02:00
Jan
5165155ed1
Bug fix/fixes 0609 ( #3227 )
...
* do not use V8 variant of AQL functions in early optimization stage when a C++ variant is available
* additionally, simplify AQL function definitions and aliases
* warn when more than 90% of max mappings are in use
* added C++ variant of replication catchup
* added `--log.role` option
* updated CHANGELOG
* removed non-existing scheduler.threads option from config
* removed useless __FILE__, __LINE__ invocations
* updated CHANGELOG
* allow a priority V8 context
* remove TRI_CORE_MEM_ZONE
* try to fix Windows errors & warnings
* cleanup
* removed memory zones altogether
* exclude system collections from collection tests
2017-09-13 16:28:21 +02:00
Frank Celler
2807ef559c
Feature/move shard fix ( #2626 )
...
Major overhaul of handling of synchronous replication.
2017-06-26 16:55:01 +02:00
Max Neunhoeffer
99d6624fd4
Detect a tick zero response in logger-state in replication.
2017-06-08 22:45:24 +02:00
jsteemann
40cf731cd7
fixed typos in error messages
2017-06-08 15:54:57 +02:00
Simon Grätzer
2f2d07ab9a
Multihreaded import
2017-05-24 18:37:45 +02:00
jsteemann
910f5680b0
moved files
2017-05-02 12:34:28 +02:00
Jan Christoph Uhde
2269ca7b0a
add batchId and logging
2017-04-24 11:47:54 +02:00
jsteemann
f69e8e25da
replication bugfixes
2017-04-20 15:08:14 +02:00
Max Neunhoeffer
53b3a73486
Add a timeout option to <collection>.drop().
...
This is in particular used to allow the Schmutz to make progress
in the case of a long running transaction.
2017-04-07 15:52:19 +02:00
Jan Christoph Uhde
b83ae2ab82
refactor some code to make use of arangodb::Result
2017-03-30 09:39:21 +02:00
jsteemann
2aa2fd65a4
more startup
2017-03-24 14:20:51 +01:00
Michael Hackstein
90b4876d3c
Moved WriteMarker code Vocbase => MMFilesEngine. Also removed the decission to write a marker out of Vocbase-API
2017-03-09 11:12:39 +01:00
jsteemann
666b2f8da9
renaming
2017-02-27 14:38:27 +01:00
Michael Hackstein
a359424af0
Moved logic of write Marker out of the dropIndex API from Logical collection. Can be derived from the engine internally.
2017-02-22 12:32:54 +01:00
Michael Hackstein
aacbb3e4cf
This commit should fix cluster startup problems
2017-02-21 13:22:29 +01:00
Michael Hackstein
f0fbe78b2d
Moved restoreIndex to Physical collection.
2017-02-16 15:01:00 +01:00
Michael Hackstein
a3aae2e43b
Moved saveIndex logic into the physical collection
2017-02-16 12:53:05 +01:00
jsteemann
7e690a0c61
renaming
2017-02-13 15:18:40 +01:00
jsteemann
eb73dbf960
renaming
2017-02-13 13:30:57 +01:00
jsteemann
f09ec85127
renaming
2017-02-13 12:27:26 +01:00
jsteemann
2c9e220f03
refactoring
2017-02-07 14:36:03 +01:00
jsteemann
de41509d9d
factored out TransactionState
2017-01-25 15:55:01 +01:00
jsteemann
00b1632ece
factored out AccessMode from transaction.h
2017-01-25 11:57:21 +01:00
jsteemann
a7616ed0f6
fix potential nullptr dereference
2016-12-27 18:42:22 +01:00
jsteemann
b96897e296
fixed some issues detected by coverity build tool
2016-12-12 15:41:54 +01:00
Andreas Streichardt
60871645bb
Unused variable
2016-10-18 10:35:14 +02:00
Andreas Streichardt
1318fa313b
Implement cluster authentication
2016-10-17 13:35:55 +02:00
jsteemann
1823cff3a9
removed TRI_collection_t
2016-09-02 14:54:13 +02:00
jsteemann
9b94287fb7
unify id handling?
2016-08-30 16:07:35 +02:00
Michael Hackstein
82edb8707a
Merge branch 'generic-col-types' of github.com:arangodb/arangodb into generic-col-types
2016-08-30 10:12:36 +02:00
Michael Hackstein
7cf7b89c6d
Removed more usage of VocbaseCollectionInfo and replaced it by LogicalCollection. It's getting better now. State still not green.
2016-08-29 18:44:34 +02:00
jsteemann
e8c8f286cb
cleanup
2016-08-29 08:53:23 +02:00
Michael Hackstein
b01a7ac0d5
Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types
2016-08-26 08:02:54 +02:00
jsteemann
999e2dab1b
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream
2016-08-25 15:38:12 +02:00
Jan Steemann
34a31f2b97
issue #2006 : added more diagnostic output for some replication errors
2016-08-25 14:02:35 +02:00
jsteemann
396ab41736
allow dropping system collections in some rare cases
2016-08-25 12:47:06 +02:00
Michael Hackstein
1f3dabc8e1
Merge branch 'engine-vs-velocystream' of github.com:arangodb/arangodb into generic-col-types
2016-08-25 11:08:39 +02:00
Michael Hackstein
2af30f056d
Moved index creation to use LogicalCollection instead of TRI_collection_t. Involved changes of the constructor, all can now be created using iid and Slice. Removed specialized functions to create/find indixes in v8-voc index. Also the iteration is modified. This commit compiles but tests will fail. Merge commit.
2016-08-25 09:57:36 +02:00
Jan Christoph Uhde
d3654d99d8
finish RequestType enum
2016-08-23 14:49:29 +02:00
Mark
3bd5c27c0c
changes for Visual Studio
2016-08-19 17:22:57 +02:00
Michael Hackstein
17a6da8afb
Removed all references on TRI_vocbase_col_t and replaced them by LogicalCollection class. Not everything is properly moved and implemetned yet. This commit causes crashes.
2016-08-17 11:10:39 +02:00