Vasiliy
06eb8ade01
issue 344.7: remove more redundant functions ( #4863 )
...
* issue 344.7: remove more redundant functions
* backport: fix missed functions under USE_ENTERPRISE
2018-03-15 17:10:28 +01:00
Vasiliy
148bdb7158
issue 344.6: remove some redundant functions ( #4842 )
2018-03-15 11:03:35 +01:00
Vasiliy
c8739cd3cd
manually-merge: cache data-sources in CollectionNameResolver
2018-03-14 10:11:50 +03:00
Simon
345fc3c0b7
Refactor Authentication Layer (devel) ( #4592 )
...
* Cherry Picking LDAP changes
* Adding missing merges
* Fixing remaining mentions of FeatureCacheFeature
* Fix jslint
* Fixing some failed tests
* Fixing cluster authentication issue, red tests
* Fixing ldap testsuite, adding trace logging
* Fixint ldap tesuite setup and LDAP recognition
(cherry picked from commit 686d28a779
)
* Fixing wrong assert
* Adding changelog entry, making requested changes from code review
* Fixing dump_authentication, fix typos
* improvements found during code review
* oops
* more use of sessionstorage
* fix tests
* Fixing broken handling, disallowing adding of local users when disabled
* Fixing testInvalidGrants
* Removing undefined auth level externally
* Fixing previous commit
* added tests for ldap search mode
* intentionally removed `after` methods from tests
because they are executed before the tests start
no cleanup is performed right now after the authentication tests
however, a cleanup is done at start of every test
* ldap tests all modes
* forward port changes from 3.3
* added generated files
* forward port missing changes for web UI
* added generated files
* added generated files
2018-02-28 13:24:28 +01:00
Simon
cde96d97aa
RocksDB replication hardening & cleanup ( #4639 )
2018-02-23 18:15:04 +01:00
Jan
852b4e4923
in case of an id conflict, truncate or drop/recreate an existing collection ( #4628 )
2018-02-20 12:50:20 +01:00
Jan
b3556f7b17
some fixes for replication ( #4621 )
2018-02-19 15:54:55 +01:00
Jan
935e2790ad
forward port of replication bugfixes from 3.2 ( #4572 )
2018-02-12 18:13:51 +01:00
Simon
35136a89c0
Fix some problems with active failover ( #4540 )
2018-02-09 15:11:53 +01:00
Jan
8da61a9875
Bug fix/more replication tests ( #4500 )
2018-02-09 13:06:47 +01:00
Jan
fe0fca9029
Bug fix/restore unlock ( #4387 )
2018-01-25 15:56:27 +01:00
Simon Grätzer
19f68df395
Use uuid in Initial sync to ensure proper collection mapping ( #3965 )
...
* Use uuid in initalsync to ensure proper collection mapping
* fix compile error after merge
2017-12-13 22:12:47 +01:00
Jan
9c76613e63
fix premature unlock ( #3802 )
...
* 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 13:27:42 +01:00
Jan
3143805c6f
make replication abortable ( #4016 )
2017-12-13 12:32:04 +01:00
Jan
282be208cc
remove TRI_usleep and TRI_sleep, and use std::this_thread::sleep_for … ( #3817 )
2017-12-06 18:43:49 +01:00
Jan
b235af0fbf
fix version check ( #3781 )
2017-12-06 11:05:40 +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
jsteemann
95ac01313b
privatization
2016-08-04 17:06:51 +02:00
jsteemann
d92f15aeed
entirely removed TRI_document_collection_t
2016-07-29 17:48:51 +02:00
jsteemann
59ed0a902c
refactoring
2016-07-29 17:07:16 +02:00
jsteemann
329b733090
moved dropCollection into TRI_vocbase_t
2016-07-28 13:14:12 +02:00
jsteemann
b3bdd3a66a
more refactoring
2016-07-28 11:47:20 +02:00
jsteemann
31407c3561
refactoring
2016-07-27 17:15:52 +02:00
jsteemann
89e0c11b44
refactoring
2016-07-26 16:25:38 +02:00
jsteemann
2aa2e0dab4
removed server.h
2016-07-25 16:49:52 +02:00
jsteemann
807f287868
moved server id detection and pagesize detection into their own features
2016-07-18 14:37:12 +02:00
Jan Steemann
617a833040
handle "isSystem" somewhat smarter
2016-07-06 10:23:37 +02:00
Jan Steemann
91f806ef2b
match collections by either id or name
2016-06-21 17:21:59 +02:00
Max Neunhoeffer
1f926fc24b
Fix synchronous replication: use shard name instead of ID.
...
Explanation: Different replicas of the same shard will have different
local collection IDs. Therefore we have to use the shard name
(collection name) to indentify collections in synchronous replication.
2016-06-13 13:54:32 +02:00
jsteemann
3d831b2e2b
remove unnecessary checks
2016-05-30 14:45:11 +02:00
jsteemann
0ce8599598
fixes for MSVC
2016-05-10 19:01:21 +02:00
Jan Steemann
0bd61cf928
removed option `--server.default-api-compatibility`
2016-05-06 18:38:37 +02:00
jsteemann
7cd90ae711
micro optimizations
2016-05-01 14:13:53 +02:00
jsteemann
9eb3036c2e
fixed typo
2016-04-18 22:40:15 +02:00
Jan Steemann
9f8c24b1cd
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-04-06 15:43:27 +02:00
Max Neunhoeffer
b1963d2cee
Fix replication in the sense that revs are now copied over.
2016-04-05 10:27:43 +02:00
Frank Celler
295c8a3809
MSVC fixes
2016-03-31 14:01:23 +02:00
Frank Celler
486011d399
Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk
2016-03-31 13:41:09 +02:00
Frank Celler
494bdca847
splitted HttpRequest into GeneralRequest/HttpRequest
2016-03-31 11:45:21 +02:00
Max Neunhoeffer
9322e47740
Fix a few uninitialized shared_ptr<Builder>s.
2016-03-23 14:07:46 +01:00
Max Neunhoeffer
f25c5175ac
Kill further uses of update_policy.
2016-03-10 00:07:51 +01:00
Max Neunhoeffer
af3d61c339
Fix complation.
2016-03-07 09:04:58 +01:00
Max Neunhoeffer
ab82405e9a
Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk
2016-03-07 08:43:38 +01:00
Max Neunhoeffer
9358fcb96f
Commit some fixes.
2016-03-07 08:40:54 +01:00
Jan Steemann
05f98cbd72
fixed compile errors
2016-03-04 18:43:51 +01:00
Jan Steemann
ad4a9542ea
removed file
2016-03-04 18:32:54 +01:00
Jan Steemann
78f07c6a31
less json
2016-03-03 14:23:39 +01:00
Jan Steemann
ebf2d1520b
removed TRI_doc_mptr_copy_t
2016-02-26 11:46:33 +01:00
Jan Steemann
eb202f528c
pass vocbase in TransactionContext
2016-02-23 13:03:30 +01:00
Jan Steemann
f468cd00ad
create transaction context as shared ptr
2016-02-23 12:18:39 +01:00
Jan Steemann
0a969caf23
removed SingleCollectionReadOnlyTransaction and SingleCollectionWriteTransaction
2016-02-23 11:05:44 +01:00
Frank Celler
74f7c71dcb
fixed typo
2016-02-19 22:24:07 +01:00
Frank Celler
366855b680
set version to 3.x
2016-02-19 20:10:46 +01:00
Jan Steemann
dad000b883
use std::string to avoid potential leaks
2016-02-11 10:13:49 +01:00