Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync #2

Merged
merged 517 commits into from
Apr 10, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
517 commits
Select commit Hold shift + click to select a range
57f1fd8
fix typo in CHANGELOG entry
jsteemann Feb 5, 2021
6a5a784
fix stray `...` in log messages :facepalm:
jsteemann Feb 5, 2021
3a17106
force DATABASE_UPGRADE flag (#13499)
Dronplane Feb 8, 2021
1f6740d
for obvious reasons, don't discard the future! (#13503)
jsteemann Feb 8, 2021
78e1fa8
more logging improvements (#13504)
jsteemann Feb 8, 2021
0e41342
Feature/strict typing for error codes (#13484)
goedderz Feb 8, 2021
ddbd8a8
Do not create index estimator objects for proxy collection objects (#…
jsteemann Feb 8, 2021
ae782b7
Compressed index selectivity estimates (#13502)
jsteemann Feb 8, 2021
9a5be0a
Added shard statistics REST APIs (#13505)
jsteemann Feb 8, 2021
c12f8af
micro cleanup (#13512)
jsteemann Feb 8, 2021
846ce5f
Feature/distribute simplification (#13509)
mpoeter Feb 9, 2021
fa49a03
Bug fix/check for kill more consistently (#13514)
goedderz Feb 9, 2021
b699e89
more tests for replication consistency (#13507)
jsteemann Feb 10, 2021
2fcec28
Fix potential undefined behavior (#13519)
jsteemann Feb 10, 2021
1010c81
Bug fix/fix tls reload result (#13529)
dothebart Feb 10, 2021
eda85a9
Use frozen::unordered_map for ErrorMessages (#13496)
goedderz Feb 10, 2021
909c355
Small refactoring, clarifying intent (#13526)
ignacionr Feb 10, 2021
8f32165
rename an internal flag (#13535)
jsteemann Feb 10, 2021
c0ce388
fix indentation
jsteemann Feb 11, 2021
389342f
Feature/error messages as string views (#13455)
goedderz Feb 11, 2021
d482ab0
try to raise file descriptors limit in local start scripts (#13540)
jsteemann Feb 11, 2021
71f8662
Make dropping of indexes in cluster retry in case of precondition fai…
jsteemann Feb 11, 2021
07646e4
fix the combination of profileQuery and stream: true (#13516)
jsteemann Feb 11, 2021
efd8d12
attempt to make ttl test more reliable (#13542)
jsteemann Feb 11, 2021
23e0007
added a missing test, clean up in another (#13545)
jsteemann Feb 12, 2021
1cd5b32
improve wording for database sharding options in UI (#13543)
jsteemann Feb 12, 2021
295c046
Remove unnecessary espace completely
KVS85 Feb 13, 2021
f071153
add template specialization for "type<RocksDBEncryptionProvider>" so …
gnusi Feb 15, 2021
93b6a22
Update CHANGELOG
KVS85 Feb 15, 2021
d3d6a47
fix a crash in FieldIterator::next() (#13523)
jsteemann Feb 15, 2021
e5fb9bd
Fixed a count collect bug (#13553)
hkernbach Feb 17, 2021
0309c3d
adjust value to changelog entry (#13557)
dothebart Feb 17, 2021
16ed164
try to stabilize a flaky foxx test (#13487)
jsteemann Feb 18, 2021
a2d96ea
Update CHANGELOG
KVS85 Feb 18, 2021
3c154e0
Feature/const registers for const values (#13405)
mpoeter Feb 18, 2021
2ef7f82
Bug fix/disjoint smart graph heterogeneous sharding (#13544)
mchacki Feb 18, 2021
1fe6cd8
Bug fix/database initial syncer needs patience at times (#13394)
kvahed Feb 18, 2021
a69413f
Remove outdated compile definitions for MSVC/Boost (#13573)
jsteemann Feb 18, 2021
114d82e
clean up after initial syncer changes, add tests (#13575)
jsteemann Feb 19, 2021
0461bff
Feature/optimize aql values (#13569)
Dronplane Feb 19, 2021
0a7fa74
fix wrong version numbers for options
jsteemann Feb 19, 2021
0c31d5b
adjust wrong version numbers for startup options
jsteemann Feb 20, 2021
8352f35
revert vpack optimizations due to bad performance tests results (#13582)
Dronplane Feb 20, 2021
b3219b0
speedup integers reading from Vpack (#13583)
Dronplane Feb 21, 2021
daf721d
add optional hyperlink for program option sections, add subheadlines …
jsteemann Feb 21, 2021
2e14914
move some parts of LogMessage from header to cpp file (#13581)
jsteemann Feb 22, 2021
2b0a1df
Add JWT secret support for arangodump and arangorestore (#13584)
jsteemann Feb 22, 2021
2577c4f
increase the timeout if we're runnig in asan / code coverage (#13568)
dothebart Feb 22, 2021
dab72d1
better visualize time consumed during setup / teardown (#13592)
dothebart Feb 22, 2021
051ae56
split pregel tests (#13591)
dothebart Feb 22, 2021
6959fe8
added tests for AqlValue in-memory optimization (#13579)
jsteemann Feb 22, 2021
6925c8e
Added a small delay before restarting the restore procedure. (#13588)
Feb 22, 2021
880f3e4
fix arango-secure-installation
jsteemann Feb 22, 2021
e0804ce
Merge branch 'devel' of github.com:arangodb/arangodb into devel
jsteemann Feb 22, 2021
6ded45e
remove outdated release script
jsteemann Feb 22, 2021
c60fb71
Create minidump in case of unhandled SEH exception. (#13570)
mpoeter Feb 24, 2021
36cb2cf
fix replication fuzz test (#13603)
dothebart Feb 24, 2021
550041f
Feature/arangobench custom query (#13600)
mpoeter Feb 24, 2021
3479062
added elapsed time logging (#13604)
Dronplane Feb 24, 2021
1068d91
Prevent arangosh from trying to connect after every executed command.…
jsteemann Feb 24, 2021
5e19844
remove a few unused variables from the scheduler (#13606)
jsteemann Feb 24, 2021
3005380
add a test for arango-secure-installation (#13596)
jsteemann Feb 24, 2021
c2a6794
Docs: Update Gharial error codes (DocuBlocks) (#10760)
Simran-B Feb 25, 2021
ad768ed
Rename OskarTestSuitesBlackList to OskarTestSuitesBlockList
KVS85 Feb 25, 2021
d067afd
Docs: Remove implied introducedIn versions from startup options (#13608)
Simran-B Feb 25, 2021
0ffdc48
try to silence a non-deterministic test
jsteemann Feb 25, 2021
528d09d
Update OpenSSL to 1.1.1j and OpenLDAP to 2.4.57 (#13622)
KVS85 Feb 26, 2021
a7ad000
make hot backup test clean up all its temp backups and stop as soon a…
jsteemann Feb 26, 2021
8a13c88
Bug fix/cursor write compact results (#13620)
goedderz Feb 26, 2021
a87edca
remove a few unused functions (#13628)
jsteemann Feb 26, 2021
3c4c897
adjust formula for automatic memory usage limit (#13595)
jsteemann Feb 26, 2021
6fd7911
Make "ErrorCode::operator int" explicit (#13602)
goedderz Feb 26, 2021
c625322
adjust CHANGELOG
jsteemann Feb 26, 2021
d877685
Bug fix/use proper exit method (#13631)
dothebart Feb 26, 2021
f8bcbcd
try to make hot backup test less whimsical
jsteemann Feb 27, 2021
e89e107
Cleanup hotbackup transfer jobs in agency (#13585)
neunhoef Feb 27, 2021
e95de58
Add optional hostname logging to log messages. (#13630)
jsteemann Mar 1, 2021
b89eac6
Enable statistics in web UI in non-`_system` databases in cluster mod…
jsteemann Mar 1, 2021
26d7e98
enable custom pregel tests on all targets (#13618)
dothebart Mar 1, 2021
c9fe60c
Allow dumping of individual shards with arangodump (#13633)
jsteemann Mar 1, 2021
f11ce90
prevent log flooding during testing
jsteemann Mar 1, 2021
1d94b53
fix dump tests (#13634)
jsteemann Mar 1, 2021
76dbd16
Feature/sockstat table formatting (#13636)
dothebart Mar 1, 2021
e59f1a1
Disable ligatures in CSS for Ace editor / fix mode-aql.js (#13558)
Simran-B Mar 2, 2021
f6fbcb7
fixed BTS-309 (#13560)
hkernbach Mar 2, 2021
e2c5bd7
fix use after free (#13645)
dothebart Mar 2, 2021
3065a28
CHANGELOG corrections
jsteemann Mar 3, 2021
5aefdde
improve shard synchronization visibility (#13493)
jsteemann Mar 3, 2021
71ba577
backoff windows - replication requires to many tcp connections (#13639)
dothebart Mar 3, 2021
cf47968
Feature/UI additional figures (#13646)
hkernbach Mar 3, 2021
525c537
Feature/UI cluster logs (#13637)
hkernbach Mar 3, 2021
6989dae
Fixed web UI "not authorized to execute this request" error (#13653)
jsteemann Mar 4, 2021
e43d35d
BTS-309: Rename error message 1947 to match actual behavior (#13644)
Simran-B Mar 4, 2021
a0cf869
Fix lost coordinators in UI after long maintenance (#13658)
neunhoef Mar 5, 2021
c2c36cd
TTL index: Correct & improve API description of expireAfter (#13661)
Simran-B Mar 5, 2021
8ee6b01
Make reportLogs function non-blocking. (#13660)
mpoeter Mar 8, 2021
8e4f3ea
Feature/UI maintenance view (#13640)
hkernbach Mar 8, 2021
bf7b95d
fix arangobench on Linux (#13667)
jsteemann Mar 9, 2021
36bb36c
misc cleanup tasks (#13670)
jsteemann Mar 10, 2021
fb8ffbd
remove a test that wasn't maintained nor active since Sept 2019 (#13672)
jsteemann Mar 10, 2021
3ef471d
Let arangoexport throw an exception in case of write errors (#13676)
goedderz Mar 10, 2021
c0598f5
Feature/UI metrics view (#13662)
hkernbach Mar 10, 2021
a34b340
Added `--documents-per-batch` option to arangoexport. (#13674)
jsteemann Mar 11, 2021
b3efc98
Removed reference to older VelocyPackDumper (#13638)
ignacionr Mar 11, 2021
e8e901c
moveshard vpack iterator uses hardened against non-array slice (#13657)
kvahed Mar 11, 2021
d666d60
fixed issue #13632 (#13680)
jsteemann Mar 11, 2021
d34e78b
add an extra VST test (#13685)
jsteemann Mar 12, 2021
e62cbc8
Bug fix: only respond qualified as shard leader (#13641)
kvahed Mar 12, 2021
c33ad9a
Random Walk Pregel Example (#13619)
Mar 12, 2021
42338bf
lower the default value for required file descriptors from 64k to 8k.…
jsteemann Mar 12, 2021
f530e31
Feature/UI cluster shard distribution view (#13693)
hkernbach Mar 12, 2021
30a8957
New infrastructure for metrics documentation (#13668)
neunhoef Mar 12, 2021
9e3ad84
added more metric specific dashboard entries if available (#13695)
hkernbach Mar 12, 2021
c1bc356
forward-port code comment and typo fix from 3.7
jsteemann Mar 12, 2021
b13789f
fix CHANGELOG entry
jsteemann Mar 12, 2021
7dc4e4f
grey -> timecritical (#13656)
dothebart Mar 12, 2021
e78e477
displays agents in the node overview view (#13697)
hkernbach Mar 12, 2021
a4d50a4
Feature: Refactored ClusterProvider (#13441)
hkernbach Mar 12, 2021
89dd868
Update OptimizeForArchitecture.cmake files and add support for Zen 3 …
mpoeter Mar 12, 2021
0aca492
added one shard smart graph info hint - optimized styling
jsteemann Mar 12, 2021
875cfef
UI added one shard smart graph info hint (#13701)
hkernbach Mar 12, 2021
0c85c52
Feature/UI dashboard agents and optimizations (#13700)
hkernbach Mar 12, 2021
d0ec0a1
adjust to new metrics, adjust agents display
jsteemann Mar 12, 2021
f4c7e81
Update arangosync to 1.2.3
fceller Mar 14, 2021
6895d2e
fix anachronistic "master"/"slave" terms in the replication UI (#13705)
jsteemann Mar 14, 2021
75d9fda
Fix slower-than-necessary arangoimport behavior (#13704)
jsteemann Mar 15, 2021
88afbec
Allow setting path to the timezone information via the `TZ_DATA` envi…
jsteemann Mar 15, 2021
607298b
experimental PR for limiting global AQL query memory usage (#13467)
jsteemann Mar 15, 2021
018cbb4
move latest change to the top of CHANGELOG
jsteemann Mar 15, 2021
201d437
SubQuery NoResults Cost Estimation (#13715)
Mar 15, 2021
e4ca573
Don't store selectivity estimate values for newly created system coll…
jsteemann Mar 15, 2021
6d260d7
Index Count Optimization Uniqueness (#13713)
Mar 15, 2021
79a7cc6
Put Sync/LatestId into hotbackup (#13699)
neunhoef Mar 15, 2021
44bed99
Compact collection and index ranges in background (#13710)
jsteemann Mar 16, 2021
839f171
fix issue #13665: Improve index selection when there are multiple can…
jsteemann Mar 16, 2021
e810126
Log actual signal instead of "control-c" and also include sender proc…
mpoeter Mar 16, 2021
7029802
documentation for index selectivity estimates flag (#13723)
jsteemann Mar 16, 2021
31e033c
Tests/unittest traverser cache (#13716)
mchacki Mar 17, 2021
983e36f
Fixed hidden merge conflct that causes TestFile to not compile anymor…
mchacki Mar 17, 2021
67f4bf5
bug-fix/zen-has-no-fma4 (#13733)
mpoeter Mar 17, 2021
b4afa12
Fix return type of ManagedDirectory::File::offset(). (#13734)
mpoeter Mar 17, 2021
bfe84e0
Removed overhauled KPAthFinder code (#13718)
mchacki Mar 17, 2021
376e68a
Retry request when connection from pool stale (#13696)
neunhoef Mar 18, 2021
5ef7217
validate metrics API output against promtool (#13722)
jsteemann Mar 18, 2021
76c302d
fix misspellings in tests, should have no effect on execution (#13735)
jsteemann Mar 18, 2021
3aacae4
Fix passing around an uninitialized struct member (#13744)
jsteemann Mar 18, 2021
48dba7d
change feature order so that ServerIdFeature is before ReplicationFea…
jsteemann Mar 18, 2021
fbed862
Rename "save" return attribute in AQL function `DATE_UTCTOLOCAL` to "…
jsteemann Mar 18, 2021
e10b7aa
Fixed two bogus messages about hotbackup restore: (#13730)
jsteemann Mar 18, 2021
397c9ed
Improve metrics documentation (#13712)
neunhoef Mar 18, 2021
b84a2e4
In a cluster, don't create collections `_statistics*` on DB servers (…
jsteemann Mar 18, 2021
5f88295
Fix duplicate leaving of V8 contexts when returning streaming cursors…
jsteemann Mar 18, 2021
a20582c
fix a race in the agency-restart test (#13736)
jsteemann Mar 18, 2021
fa78de5
backport a bugfix from upstream RocksDB for opening encrypted files (…
jsteemann Mar 18, 2021
36a5ff0
improve error message when dropping a follower (#13737)
jsteemann Mar 18, 2021
a2ff1a9
allow dynamic logfile names for testing (#13739)
jsteemann Mar 18, 2021
6914f29
Update CHANGELOG
Simran-B Mar 19, 2021
0a9abd7
Fix makeDashboard script and one documentation. (#13747)
neunhoef Mar 19, 2021
0b49953
Fix renaming table. (#13756)
neunhoef Mar 19, 2021
7baf159
added missing documentation for extended REST APIs (#13748)
jsteemann Mar 19, 2021
16f7a2c
document some metrics (#13749)
jsteemann Mar 19, 2021
0dfd59c
Forward port to mitigate an issue with one-shard databases created wi…
mchacki Mar 19, 2021
e59532a
Fix error message in case of index unique constraint violations. (#13…
jsteemann Mar 20, 2021
eb6a746
Feature/segmentation analyzer (#13759)
Dronplane Mar 21, 2021
c8cad18
implemented destroy engines (#13746)
hkernbach Mar 21, 2021
70c9160
Fixed logical error in MockGraphProviderTest (#13760)
hkernbach Mar 21, 2021
cf153df
Added supressions for v2 and supressed some old metrics. (#13754)
Mar 22, 2021
6ac2e4e
Docs: Pregel HTTP API (#13607)
Simran-B Mar 22, 2021
570d664
Tests/unittest c++ standalone traverser cache (#13726)
hkernbach Mar 22, 2021
429355f
Raise devel to 3.9
KVS85 Mar 22, 2021
780cee2
Improve a few metrics documentation texts (#13766)
neunhoef Mar 23, 2021
e1d115d
Fix an assertion failure that occurred when restoring view definition…
jsteemann Mar 23, 2021
692a33b
document several metrics (#13769)
jsteemann Mar 23, 2021
ed0aba1
Revert "change feature order so that ServerIdFeature is before Replic…
jsteemann Mar 23, 2021
2239f47
Docs: Correct description of streaming cursor (#13497)
Simran-B Mar 23, 2021
52e3420
Enable minimal debug info for all released binaries
KVS85 Mar 23, 2021
5eb97f8
Switch to GCC 10 as the default compiler (#13768)
KVS85 Mar 23, 2021
ab10e97
Update CHANGELOG
KVS85 Mar 23, 2021
2d2669b
Fix coordinator blocked thread on query shutdown (#13761)
neunhoef Mar 23, 2021
2b17501
Aardvark: Update list of built-in functions for AQL highlighter (#13751)
Simran-B Mar 23, 2021
528e800
Fixed unused variable warning (#13785)
mchacki Mar 24, 2021
03b7384
bug-fix/internal-issue-#806 (#13786)
gnusi Mar 24, 2021
fa4b28f
bug-fix/internal-issue-#802 (#13797)
gnusi Mar 24, 2021
6bddd74
make metrics check/generation script more robust (#13780)
jsteemann Mar 24, 2021
d15818d
upgrade velocypack (#13778)
jsteemann Mar 24, 2021
9ceb33e
fix cluster recovery test timeouts (#13792)
dothebart Mar 24, 2021
16bc1f7
Fix race in LogAppender::haveAppenders. (#13789)
mpoeter Mar 24, 2021
f683268
Always enable FATAL log level, even with build unconditional log line…
mchacki Mar 24, 2021
a94d471
Connection cache for arangosh (#13598)
jsteemann Mar 25, 2021
0bf3168
Add introducedIn attribute for metrics documentation. (#13813)
neunhoef Mar 25, 2021
3a76351
Small fixes for metrics (#13807)
neunhoef Mar 25, 2021
8454846
improvements for streaming transactions (#13731)
jsteemann Mar 25, 2021
0522660
Add an option to lock down /_admin/cluster. (#13816)
jsteemann Mar 25, 2021
5c9750f
Fix connectionTime statistic. (#13829)
mpoeter Mar 25, 2021
1e7cc19
Add scheduler job counter metrics. (#13809)
mpoeter Mar 25, 2021
7a08d29
documentation for more metrics (#13830)
jsteemann Mar 26, 2021
7aee159
Documentation of rocksdb metrics (#13825)
neunhoef Mar 26, 2021
73acba5
Connection pool metrics documentation (#13838)
neunhoef Mar 26, 2021
b7f4e7c
Add documention for scheduler metrics. (#13814)
mpoeter Mar 26, 2021
12c778f
Apply global AQL query memory limit by default (#13800)
jsteemann Mar 26, 2021
0237146
Fix Installation/fetch_tz_database.sh
KVS85 Mar 26, 2021
500f2e5
refresh timezone database
KVS85 Mar 26, 2021
43243f3
Add documentation for connection statistics metrics. (#13842)
mpoeter Mar 26, 2021
6675618
Documentation for V8 metrics. (#13840)
neunhoef Mar 26, 2021
7576237
Update arangosync to 2.0.1
KVS85 Mar 26, 2021
f37b1de
Feature/cleanup replication sync tailing metric statistics (#13845)
hkernbach Mar 26, 2021
9272618
Feature/cleanup process statistics metrics (#13834)
goedderz Mar 26, 2021
6347d1e
Metrics/replication cluster metrics (#13851)
mchacki Mar 26, 2021
8519b37
documentation for more metrics (#13835)
jsteemann Mar 26, 2021
db0c399
Initial sync replication metrics documentation (#13848)
neunhoef Mar 26, 2021
ac2b52c
Add proper introducedIn and renamedFrom. (#13853)
neunhoef Mar 29, 2021
6da70c4
Rebuild UI
KVS85 Mar 29, 2021
9ed105f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
KVS85 Mar 29, 2021
2cae1d0
to keep the execution time under control only permit 20 attempts of c…
dothebart Mar 29, 2021
9d030e4
Remove allMetrics.yaml (#13865)
neunhoef Mar 29, 2021
89d2c59
Suppress 3rdParty warnings on Clang (#13781)
goedderz Mar 29, 2021
4079fd1
Port three typo fixes from 3.8 to devel. (#13868)
neunhoef Mar 29, 2021
480b06a
Update OpenSSL to 1.1.1k and OpenLDAP to 2.4.58 (#13864)
KVS85 Mar 29, 2021
abbec5f
Update ArangoDB Starter to 0.15.0-preview-2
KVS85 Mar 29, 2021
7632bff
fix compile warnings about missing override specifier (#13875)
jsteemann Mar 31, 2021
c6e149f
add tests for document API HTTP return codes (#13806)
jsteemann Mar 31, 2021
3ab4cbb
clean up logging a bit (#13870)
jsteemann Mar 31, 2021
1ce65b9
remove old SubqueryExecutor (#13876)
jsteemann Mar 31, 2021
a8779d7
Remove obsolete API endpoint /_admin/repair/distributeShardsLike` (#1…
jsteemann Apr 1, 2021
b1ba985
Removed (empty) exitcodes.cpp (#13885)
goedderz Apr 1, 2021
c67d839
Added option to disallow usage of collections in expression (#13872)
jsteemann Apr 1, 2021
e6f0930
Deprecate option --rocksdb.exclusive-writes (#13887)
jsteemann Apr 1, 2021
c5c518b
Fix URLs in request logging (#13892)
jsteemann Apr 1, 2021
cf5dd95
Fix typos in metric documentation. (#13873)
mpoeter Apr 1, 2021
58be0c8
make metrics low()/high() functions return by value (#13895)
jsteemann Apr 1, 2021
17be8ae
harden addAction function against invalid inputs (#13899)
jsteemann Apr 1, 2021
b4b9e19
Fixed issue BTS-353 (#13902)
jsteemann Apr 2, 2021
b6ec775
Update ArangoDB Starter to 0.15.0-preview-3
KVS85 Apr 2, 2021
ac1679a
Feature/make aql analyzer type aware (#13894)
Dronplane Apr 5, 2021
5fd0b54
remove check (#13909)
Dronplane Apr 5, 2021
a82fed2
fix self-assignment in SmallBuffer (#13910)
jsteemann Apr 6, 2021
8202568
Add --headers-file option to arangoimport (#13900)
jsteemann Apr 6, 2021
ad184f4
fix undefined behavior in dynarray (#13912)
jsteemann Apr 6, 2021
3ea214b
revamp arangovpack (#13882)
jsteemann Apr 6, 2021
b9a39aa
some fixes for cppcheck warnings (#13921)
jsteemann Apr 8, 2021
eb44c3f
upgrade velocypack to latest (#13920)
jsteemann Apr 8, 2021
61ef902
obsolete option `--database.old-system-collections` (#13918)
jsteemann Apr 8, 2021
f9b8c72
clean up replication (#13922)
jsteemann Apr 8, 2021
220e0ed
added enterprise-build-repository and oskar-build-repository to versi…
fceller Apr 8, 2021
11870e7
fix some issues found during manual fuzzing (#13928)
jsteemann Apr 8, 2021
c021f32
Bug fix/bts 357 (#13930)
Dronplane Apr 9, 2021
7a245cc
Feature/cppcheck (#13907)
fceller Apr 9, 2021
a1c2c3e
Update ArangoDB Starter to 0.15.0-preview-4
KVS85 Apr 9, 2021
211268c
DocuBlock: Improve deprecation hint for /_admin/log (#13940)
Simran-B Apr 9, 2021
6cf7716
Fix backtick in DocuBlock
Simran-B Apr 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added a missing test, clean up in another (arangodb#13545)
  • Loading branch information
jsteemann authored Feb 12, 2021
commit 23e0007c83b77a1153b0f5b000bf9bf000376c32
2 changes: 1 addition & 1 deletion arangod/Pregel/Conductor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ bool Conductor::_startGlobalStep() {
_state = _inErrorAbort ? ExecutionState::FATAL_ERROR : ExecutionState::DONE;
_endTimeSecs = TRI_microtime();
LOG_TOPIC("9e82c", INFO, Logger::PREGEL)
<< "Done execution took" << totalRuntimeSecs() << " s";
<< "Done, execution took: " << totalRuntimeSecs() << " s";
}
return false;
}
Expand Down
9 changes: 9 additions & 0 deletions tests/js/common/shell/shell-statement.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,9 @@ function StatementSuite () {
});
let result = st.execute();
assertTrue(result.getExtra().hasOwnProperty("stats"));
while (result.hasNext()) {
result.next();
}
},

testProfilingSilentStreamingQueryWithBatchSize: function () {
Expand All @@ -641,6 +644,9 @@ function StatementSuite () {
});
let result = st.execute();
assertTrue(result.getExtra().hasOwnProperty("stats"));
while (result.hasNext()) {
result.next();
}
},

testProfilingStreamingQuery: function () {
Expand All @@ -651,6 +657,9 @@ function StatementSuite () {
});
let result = st.execute();
assertTrue(result.getExtra().hasOwnProperty("stats"));
while (result.hasNext()) {
result.next();
}
},

testProfilingStreamingQueryWithBatchSize: function () {
Expand Down
127 changes: 127 additions & 0 deletions tests/js/server/shell/shell-index-parallel-drop-create.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
/*jshint globalstrict:false, strict:false */
/*global fail, assertEqual, assertTrue */

////////////////////////////////////////////////////////////////////////////////
/// @brief test parallel index drop/create
///
/// DISCLAIMER
///
/// Copyright 2018-2019 ArangoDB GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///
/// Copyright holder is ArangoDB GmbH, Cologne, Germany
///
/// @author Jan Steemann
////////////////////////////////////////////////////////////////////////////////

const jsunity = require("jsunity");
const internal = require("internal");
const errors = internal.errors;
const db = internal.db;

function ParallelIndexCreateDropSuite() {
'use strict';
const cn = "UnitTestsCollectionIdx";
const tasks = require("@arangodb/tasks");
const tasksCompleted = () => {
return 0 === tasks.get().filter((task) => {
return (task.id.match(/^UnitTest/) || task.name.match(/^UnitTest/));
}).length;
};
const waitForTasks = () => {
const time = internal.time;
const start = time();
while (!tasksCompleted()) {
if (time() - start > 300) { // wait for 5 minutes maximum
fail("Timeout after 5 minutes");
}
internal.sleep(0.5);
}
};

const threads = 6;
const attrs = 5;

return {

setUpAll : function () {
db._drop(cn);
let c = db._create(cn);

// fill with some initial data
let docs = [];
for (let i = 0; i < threads; ++i) {
// only populate some of the attributes, to have more variance in
// index creation/drop speed
for (let j = i; j < attrs; ++j) {
docs.push({ ["thread-" + i - "-attribute-" + j] : i * j });
}
}
c.insert(docs);
},

tearDownAll : function () {
tasks.get().forEach(function(task) {
if (task.id.match(/^UnitTest/) || task.name.match(/^UnitTest/)) {
try {
tasks.unregister(task);
} catch (err) {
}
}
});
db._drop(cn);
},

testCreateDropInParallel: function () {
let c = require("internal").db._collection(cn);
// lets insert the rest via tasks
for (let i = 0; i < threads; ++i) {
let command = `
let db = require("internal").db;
let c = db._collection("${cn}");
for (let iteration = 0; iteration < 15; ++iteration) {
require("console").log("thread ${i}, iteration " + iteration);
let indexes = [];
for (let i = 0; i < ${attrs}; ++i) {
indexes.push(c.ensureIndex({ type: "persistent", sparse: ${i} % 2 == 0, fields: ["thread-${i}-attribute-" + i] }));
}
indexes.forEach(function(index) {
c.dropIndex(index);
});
}
c.insert({ _key: "done${i}", value: true });
`;
tasks.register({ name: "UnitTestsIndexCreateDrop" + i, command: command });
}

// wait for insertion tasks to complete
waitForTasks();

// check that all indexes except primary are gone
assertEqual(1, c.indexes().length);
let count = threads;
for (let i = 0; i < threads; ++i) {
count += attrs <= i ? 0 : attrs - i;
}
assertEqual(count, c.count());
for (let i = 0; i < threads; ++i) {
assertTrue(c.document("done" + i).value);
}
},
};
}

jsunity.run(ParallelIndexCreateDropSuite);

return jsunity.done();