1
0
Fork 0
Commit Graph

44484 Commits

Author SHA1 Message Date
Kaveh Vahedipour 5038dfe685 supervision must not copy snapshots into jobs (#8425)
* supervision must not copy snapshots into jobs
* CHANGELOG.
2019-03-20 17:07:54 +01:00
Kaveh Vahedipour 237e079614 leader check needs to sit inside waitfor loop (#8445)
* leader check needs to sit inside waitfor loop
* Do not wait in Supervision for commits of new writes.
* CHANGELOG.
2019-03-20 16:34:54 +01:00
Jan 6d107beeda
don't run compact() on a collection after a truncate() was done in th… (#8468)
* don't run compact() on a collection after a truncate() was done in the same transaction

running compact() in the same transaction will only increase the data size on disk due to RocksDB not being able to remove
any documents physically due to the snapshot we take at transaction start.
Decoupling the truncate transaction from the compact operation allows finishing the truncate transaction first, so we can
get rid of the snapshot. Running compact afterwards is then free to physically remove all the data.
As a nice side effect this change will also speed up the truncation of larger collections, because the compact will run
faster.

This change also exposes db.<collection>.compact() in the arangosh, in order to manually run a compaction on the data
range of a collection should it be needed for maintenance.

* fix documentation anchors
2019-03-20 16:27:54 +01:00
KVS85 a7090f30e9 fix typo (#8470) 2019-03-20 18:14:55 +03:00
KVS85 84abf37435 Add testTemplateStringBuilderEmptyInlines test for https://github.com/arangodb/arangodb/pull/8141 (#8206) 2019-03-20 15:56:40 +01:00
Tobias Gödderz 9203579218 Initialize alternativeRegId (#8480) 2019-03-20 15:00:08 +01:00
jsteemann 11efed7510 fix compile warnings 2019-03-20 14:28:19 +01:00
jsteemann 2de5ca2e67 pretend to use result marked as warn-unused 2019-03-20 14:21:51 +01:00
Frank Celler ea9be71998 added --log.file-mode and --log.file-group (#8450) 2019-03-20 14:21:18 +01:00
Manuel Pöter b6f2222140 Abort the process if a stopped thread does not terminate within 5min. (#8357) 2019-03-20 14:20:47 +01:00
Lars Maier e598148707 Bug fix/jwt secret file logging (#7976)
* Print with correct log topic.

* Moved message to a place where logger is enabled.
2019-03-20 14:14:13 +01:00
Dan Larkin-York 04ef4595e3 Fix replication issue with index ID/name conflicts (#8448) 2019-03-20 14:06:02 +01:00
Tobias Gödderz f97d0a211f Implement ScatterExecutor and DistributeExecutor (#8292) 2019-03-20 13:40:20 +01:00
Simran Brucherseifer 4c8cb6704d Doc - Fix cluster health indention 2019-03-20 12:53:40 +01:00
Markus Pfeiffer 1340fdcda6 Fix crash in test for ConstantWeightShortestPathFinder (#8467) 2019-03-20 12:47:18 +01:00
KVS85 ea5e6aef05 Fix upgrade_data tests (#8459) 2019-03-20 11:05:39 +01:00
Simran e829d2e491
Add log level description under Monitoring (#8461) 2019-03-20 02:17:09 +01:00
Simran fe67f4f93c
Doc - Make cleanOutServer step mandatory in drain documentation (#8462) 2019-03-20 02:15:27 +01:00
Simran c6e80910e1
Doc - Fix Client Tools section in NewFeatures35.md (#8463) 2019-03-20 00:57:21 +01:00
Jan 2c4accdf34
micro improvements for rocksdb options (#8433) 2019-03-19 12:47:57 +01:00
Jan 5dbd67c8fd
fix compile warnings about operator<< (#8456) 2019-03-19 12:33:26 +01:00
KVS85 57da3a538b Rebuild frontend (#8455) 2019-03-19 09:31:41 +01:00
Dan Larkin-York 2eadab33e7 Index hints (#8431) 2019-03-19 09:14:18 +01:00
Vasiliy 29b941a677 issue 526.2.1: add upgrade step for legacy static analyzers (#8417) 2019-03-18 23:22:23 +03:00
Jan 23f7fc1368
fix some memleaks (#8432) 2019-03-18 18:11:37 +01:00
Jan 5d527168d0
arangodump & arangorestore all databases (#8394) 2019-03-18 17:05:08 +01:00
Wilfried Goesgens c2042c86e9 abort testing if we fail to get the currently available collections during server startup (#8442) 2019-03-18 15:14:08 +01:00
Kaveh Vahedipour 888a20bcf7 also compaction step size test grey listed (#8435) 2019-03-18 11:17:14 +01:00
Markus Pfeiffer 73dee614e6 Add Catch tests for ConstantWeightShortestPathFinder (#8426)
* Add tests for ConstantWeightShortestPathFinder

* Update tests/Graph/ConstantWeightShortestPathFinder.cpp
2019-03-18 07:47:07 +01:00
Markus Pfeiffer 0c6de0c6a8 StorageEngineMock: Prevent deadlock (#8385) 2019-03-15 12:25:11 +01:00
Simon 49cc3bcd1e Refactorings from cluster trx improvement branch (#8391) 2019-03-14 23:13:17 +01:00
Tobias Gödderz 8d649903f7 Aql by line mixed fixes (#8349) 2019-03-14 19:38:41 +01:00
Kaveh Vahedipour a2ca779e71 log compaction excluded for no (#8423) 2019-03-14 17:05:28 +01:00
Wilfried Goesgens d88bc376a6 When updating documents with array indices and unique values we mustn't disable indexing in rocksdb (#8404) 2019-03-14 13:35:38 +01:00
Wilfried Goesgens 93792a3d85 when filtering for tests and matching nothing output the non matching tests (#8420) 2019-03-14 13:33:14 +01:00
Jan a1897d4e84
expose ARANGODB_USE_CATCH_TESTS define, make TEST_VIRTUAL be based on it (#8410) 2019-03-14 12:53:57 +01:00
Simran b211277870
Doc - Add v3.4 Active Failover known issues (#8400) 2019-03-13 23:18:49 +01:00
Simran f816597e84
Doc - Sync external repos 2019-03-13 (devel) (#8405) 2019-03-13 23:00:43 +01:00
Dan Larkin-York 413e90508f Named indices (#8370) 2019-03-13 18:20:32 +01:00
jsteemann cdb4b46554 added debugging data for testing 2019-03-13 18:08:45 +01:00
Jan 3156e481de
fix test (#8402) 2019-03-13 15:24:55 +01:00
Jan dd4938598c
use requireFromPresent and barriers in more cases (#8398) 2019-03-13 15:16:22 +01:00
Kaveh Vahedipour fa98e94d23 Supervision must not waitfor if no longer leading (#8403)
* Supervision must not waitfor if no longer leading

* Supervision must not waitfor if no longer leading
2019-03-13 13:18:10 +01:00
Jan a841d472be
emit a warning when connecting with the client tools to a DBSERVER (#8397) 2019-03-13 13:08:41 +01:00
Jan be53ccda97
avoid a few dynamic memory allocations in the optimizer (#8393) 2019-03-13 12:55:19 +01:00
Simran 6bf276405b
Doc - Add cross-refs & better AQL function descriptions (#8242) 2019-03-13 08:49:12 +01:00
jsteemann d0dba4f941 make sure some tick invariants always hold true 2019-03-12 16:47:12 +01:00
Jan 9d3327c6ea
Bug fix/rearm cursors (#8363) 2019-03-12 15:28:33 +01:00
Max Neunhöffer 2a4f606df2
Various agency improvements. (#8380)
* Ignore satellite collections in shrinkCluster in agency.
* Abort RemoveFollower job if not enough in-sync followers or leader failure.
* Break quick wait loop in supervision if leadership is lost.
* In case of resigned leader, set isReady=false in clusterInventory.
* Fix catch tests.
2019-03-12 15:25:16 +01:00
Max Neunhöffer 30adf5e2d9
Fix an agency crash. (#8381)
* Check if transaction failed before accessing the result.
* FailedFollower has the same bug.
* Add CHANGELOG.
2019-03-12 15:24:37 +01:00