1
0
Fork 0
Commit Graph

9940 Commits

Author SHA1 Message Date
Kaveh Vahedipour 2e87f59218 Testing supervision 2016-06-02 12:17:35 +02:00
jsteemann b7ebadc055 make some RocksDB options available to ArangoDB 2016-06-02 12:00:36 +02:00
Frank Celler 8c9055f3fd Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH 2016-06-02 11:13:23 +02:00
Frank Celler c57ba92de3 fixed access 2016-06-02 11:12:35 +02:00
jsteemann 222c57ed32 renamed "rocksdb" index to "persistent" index 2016-06-02 10:23:30 +02:00
Kaveh Vahedipour e53bd53def Removed exception handling around run in supervision in expectation that all errors have been handled 2016-06-02 10:14:27 +02:00
Frank Celler 397623460e WIP 2016-06-02 09:49:36 +02:00
Frank Celler b476122344 added use database 2016-06-02 09:28:37 +02:00
Frank Celler 22b454800d WIP 2016-06-01 23:03:00 +02:00
Frank Celler 70db2ede15 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH 2016-06-01 17:59:29 +02:00
Andreas Streichardt 74719c76a6 Merge branch 'devel' into jwt 2016-06-01 17:59:10 +02:00
Andreas Streichardt 021b71a7c1 Frontend is working 2016-06-01 17:51:39 +02:00
Frank Celler 783eddd91a added grant database and revoke database 2016-06-01 17:46:13 +02:00
Jan Steemann dcd449119c added C++ implementation of CONCAT_SEPARATOR 2016-06-01 17:10:16 +02:00
Jan Steemann c3da3692bc removed unused implementation of nextBabies() 2016-06-01 17:09:58 +02:00
Jan Steemann 192caed889 fix Visual Studio compile warnings 2016-06-01 17:09:43 +02:00
Frank Celler 6f09122da2 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH 2016-06-01 16:25:21 +02:00
Frank Celler 1e25e5d262 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH
Conflicts:
	arangod/Cluster/HeartbeatThread.cpp
	arangod/RestServer/RestServerFeature.cpp
2016-06-01 16:25:13 +02:00
Jan Steemann a624ea4ec5 attempt to fix PrimaryIndexIterator::nextBabies() 2016-06-01 16:23:32 +02:00
Frank Celler 3e61cb433d WIP 2016-06-01 15:57:28 +02:00
Kaveh Vahedipour 0b6a6788cc supervision was accessing read db after it had started shutting down. 2016-06-01 15:16:21 +02:00
Kaveh Vahedipour ac2fc7b8a0 hunting down invalid mutex in shutdown of agency 2016-06-01 12:51:56 +00:00
Kaveh Vahedipour 65d9370615 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-01 13:44:38 +02:00
Kaveh Vahedipour cc23d0df99 Cleaning out server 2016-06-01 13:44:27 +02:00
Frank Celler 963449d5f7 WIP 2016-06-01 13:37:13 +02:00
Jan Steemann e2ec68c001 added tests for AQL functions 2016-06-01 13:32:08 +02:00
Andreas Streichardt ba14069f93 Merge branch 'devel' into jwt 2016-06-01 12:10:12 +02:00
Andreas Streichardt 630d12713d Merge branch 'devel' into jwt 2016-06-01 10:19:53 +02:00
Simran Brucherseifer f718a8995a Add ATAN2() function to AQL 2016-06-01 02:57:31 +02:00
Max Neunhoeffer 7e44916426 Protect the whole Supervision thread by a try/catch block. 2016-05-31 18:20:05 -06:00
Kaveh Vahedipour f4591e3a6f hunting down exceptions in agency supervision 2016-05-31 22:28:02 +02:00
Kaveh Vahedipour 2799275634 hunting down exceptions in agency supervision 2016-05-31 21:49:07 +02:00
Kaveh Vahedipour 9957270df6 hunting down exceptions in agency supervision 2016-05-31 21:42:41 +02:00
Kaveh Vahedipour 402ed3c2a3 hunting down the exeption in agency 2016-05-31 21:35:07 +02:00
Max Neunhoeffer b42fc76e51 Agency starts before bootstrap again. 2016-05-31 12:46:24 -06:00
Max Neunhoeffer 0cb9441912 First Bootstrap, then AgencyFeature. 2016-05-31 12:44:19 -06:00
Max Neunhoeffer fbd03bd52b Only start ConsoleFeature after BootstrapFeature. 2016-05-31 12:39:13 -06:00
Max Neunhoeffer 61a812662a Only start UnitTestFeature after BootstrapFeature. 2016-05-31 12:38:52 -06:00
Max Neunhoeffer b600ddbeb4 Fix getUniqueIds and updateAgencyPrefix in Supervision.
This prevents some race conditions at cluster startup that crashed the
agency.
2016-05-31 12:38:17 -06:00
Max Neunhoeffer 8a6e7e3b12 Start AgencyFeature only after BootstrapFeature. 2016-05-31 12:37:43 -06:00
Andreas Streichardt 9178e560eb Implement jwt tests 2016-05-31 19:19:10 +02:00
Jan Steemann 8dde0e8724 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-31 17:59:45 +02:00
Jan Steemann d7cfba3527 added (experimental) REGEX function 2016-05-31 17:59:35 +02:00
Andreas Streichardt b5f27100b1 oops...JWT should be uppercase in header 2016-05-31 17:22:28 +02:00
Andreas Streichardt 66ed7b37f5 Verify jwt token 2016-05-31 17:03:45 +02:00
Kaveh Vahedipour b6e15313c3 Moving Job classes out of Supervision 2016-05-31 16:45:23 +02:00
Kaveh Vahedipour 3db6984221 Moving Job classes out of Supervision 2016-05-31 16:45:00 +02:00
Kaveh Vahedipour 7b440f94dc Moving Job classes out of Supervision 2016-05-31 16:28:54 +02:00
Andreas Streichardt 5041b04fe4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-05-31 16:05:42 +02:00
Andreas Streichardt 14e8876540 Wait for rest server before doing actual work 2016-05-31 16:05:08 +02:00
Kaveh Vahedipour 0aab549454 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-31 15:21:48 +02:00
Kaveh Vahedipour bad7a6a35a leader fail seems good 2016-05-31 15:21:42 +02:00
jsteemann 4c0626d8b2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-31 14:33:00 +02:00
jsteemann 92dd8d1731 attempt to fix Windows build 2016-05-31 14:32:49 +02:00
jsteemann f6a559114d re-added secondary signature for CONCAT() 2016-05-31 14:31:03 +02:00
Andreas Streichardt 87f09b986a Compiles 2016-05-31 14:28:15 +02:00
Jan Steemann 80d96394f5 moved function list to FunctionDefinitions.cpp 2016-05-31 14:18:30 +02:00
jsteemann 8dc2446004 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-31 13:21:13 +02:00
jsteemann 5ae8fa00ed small vector optimization for transaction collections 2016-05-31 13:20:58 +02:00
jsteemann 82d513a546 do not fail when encountering an empty database directory 2016-05-31 13:18:10 +02:00
Jan Steemann dfaefd2a01 small optimization for reading _rev values 2016-05-31 12:26:41 +02:00
jsteemann bb3c8a427b use small vector optimization 2016-05-31 12:11:05 +02:00
jsteemann 75607c0f6d added some (yet experimental) trig functions 2016-05-31 11:08:50 +02:00
Max Neunhoeffer ab7ab515fb Bugfixes in error handling. 2016-05-31 01:15:46 -06:00
Max Neunhoeffer 7afd1cb197 Fixes in ClusterComm for sync. replication and failover. 2016-05-31 01:15:09 -06:00
Andreas Streichardt 6cb00f905d Merge branch 'devel' into jwt 2016-05-30 18:49:26 +02:00
Andreas Streichardt 5b0055bfbf jwt generation works 2016-05-30 18:47:04 +02:00
Kaveh Vahedipour d6db132b94 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-30 15:47:18 +02:00
Kaveh Vahedipour 68478f530d visual studio warning 2016-05-30 15:47:08 +02:00
jsteemann ff0119fd7b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-30 15:41:47 +02:00
jsteemann b5212558ac attempt to speed up dispatcher actions 2016-05-30 15:41:35 +02:00
Kaveh Vahedipour ddeb9208bf Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-30 15:19:35 +02:00
Kaveh Vahedipour fbbd82681f finish cleans up blocks 2016-05-30 15:18:45 +02:00
Andreas Streichardt 84a7213755 Add jwtsecret 2016-05-30 14:48:35 +02:00
jsteemann 3d831b2e2b remove unnecessary checks 2016-05-30 14:45:11 +02:00
jsteemann 7c5e210f0c removed useless variable 2016-05-30 14:21:26 +02:00
jsteemann e171675371 avoid some unnecessary checks 2016-05-30 14:21:09 +02:00
jsteemann 4cf110db08 removed unused includes 2016-05-30 14:20:46 +02:00
Wilfried Goesgens b664778da1 fix allready 2016-05-30 09:46:33 +02:00
jsteemann b8f99fa717 slightly adjusted wait times 2016-05-30 09:34:13 +02:00
jsteemann cb8bc41271 translate COUNT(coll) to COLLECTION_COUNT(coll) 2016-05-27 19:51:16 +02:00
Kaveh Vahedipour 54781f0b79 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-27 16:27:54 +02:00
Kaveh Vahedipour 318a073068 finish cleans up blocks 2016-05-27 16:27:38 +02:00
Jan Steemann 66c0385fe0 added RocksDB version information, fixed comparator 2016-05-27 12:58:26 +02:00
Mark 45c062f18f a bit more busy wait in DispatcherThread main loop on Windows
this is required because the alternative of calling usleep with a
less than 1 ms delay is very expensive on Windows. In fact, calling
usleep is heavy-weight there and should be avoided for small time values.
2016-05-27 11:53:37 +02:00
Andreas Streichardt 1cb973ea1f Current work 2016-05-27 11:02:42 +02:00
Jan Steemann 329370cb11 clear out temporary buffer 2016-05-27 09:54:43 +02:00
Jan Steemann 10c64f319f fix husten 2016-05-27 09:45:17 +02:00
Max Neunhoeffer ea8cb2167c Fix a use after free for TRI_vocbase_t objects.
If a background task was scheduled for a database for later
execution and the database was dropped in the meantime and
if there was a shortage of V8 contexts, then the database
could have been dropped before the job began.
The bug was that V8Job received a (used) vocbase, but only
increased the refcount when a V8 context was entered. This
could be much later and so the database could be gone.
2016-05-26 22:59:34 +02:00
Max Neunhoeffer 77e0f85274 Fix a V8 context leak. LOL. 2016-05-26 20:09:20 +02:00
jsteemann e758823335 fixed bind parameter id translation in cluster case 2016-05-26 00:06:08 +02:00
Max Neunhoeffer c0d4118888 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-05-25 22:22:48 +02:00
jsteemann fd1e7f0944 friendlier error message when using a renamed option 2016-05-25 21:45:53 +02:00
Kaveh Vahedipour e3ee1b5b75 finished jobs. clean out server, failed leader, move shard 2016-05-25 17:52:28 +02:00
Kaveh Vahedipour 08700909fb Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-25 17:45:49 +02:00
Kaveh Vahedipour 1846a3c4f7 finished jobs. clean out server, failed leader, move shard 2016-05-25 17:45:28 +02:00
Max Neunhoeffer 9b8f9f22e9 Let bootstrap feature publish its readiness. 2016-05-25 17:29:34 +02:00
Max Neunhoeffer 4a4472e31e Repair DBServerAgencySync in background.
Also: Notice role change follower->leader.
2016-05-25 17:27:27 +02:00
Max Neunhoeffer e4ca111914 Remove an unnecessary check. 2016-05-25 17:26:53 +02:00
Max Neunhoeffer 3f5b8e9768 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-05-25 16:02:50 +02:00