QA Hoang
3751250813
addressed comment and removed one extra {
2021-10-12 18:50:28 -07:00
QA Hoang
5af2915cea
added more input validation logic
2021-10-12 16:38:42 -07:00
QA Hoang
4d99cf250b
fixed bug with optional argument
2021-10-12 16:18:17 -07:00
QA Hoang
847c58d4bc
fixed bug with optional argument
2021-10-12 14:30:47 -07:00
QA Hoang
85a21af67a
added mako args to json report file
2021-10-12 13:57:59 -07:00
QA Hoang
2958687ed4
--json_report defaults to mako.json if no output file path is given
2021-10-12 13:12:13 -07:00
QA Hoang
ebaf5b3bae
renamed option to --json_report
2021-10-12 11:56:05 -07:00
QA Hoang
b4f56c7f76
added args validation
2021-10-11 11:11:48 -07:00
QA Hoang
85dbbd325d
added debug msg
2021-10-11 11:06:11 -07:00
QA Hoang
1718c7877c
addressed comments and format
2021-10-08 11:59:02 -07:00
QA Hoang
9cb28a2bde
Merge branch 'master' into qhoang-support-multithreaded-client-mako
2021-10-08 11:02:13 -07:00
QA Hoang
9ebe40c539
Merge branch 'master' into qhoang-mako-output-json
2021-10-08 09:57:08 -07:00
Chaoguang Lin
e2fa511036
Add option --api-version for fdbcli
2021-10-05 13:00:28 -07:00
QA Hoang
2a8a5e0142
cleanup -- addressed comments
2021-10-02 22:16:47 -07:00
QA Hoang
b1cb343c24
fixed typo
2021-10-01 15:03:22 -07:00
QA Hoang
a484845877
renamed json properties
2021-10-01 14:55:31 -07:00
QA Hoang
695be07705
formatting
2021-10-01 14:39:54 -07:00
QA Hoang
128e1c985d
followed google json formatting
2021-10-01 14:38:31 -07:00
QA Hoang
5876d8c410
--json takes a file path
2021-10-01 14:34:27 -07:00
QA Hoang
6d8e924ac2
json formatting
2021-10-01 13:57:02 -07:00
QA Hoang
48a4204668
formatting
2021-09-30 23:08:10 -07:00
QA Hoang
88a30399f3
implemented outputting results to json file
2021-09-30 23:06:23 -07:00
QA Hoang
b6b7bf1e4b
added option to output stats to json
2021-09-30 17:41:12 -07:00
A.J. Beamon
01a4d7f21b
Add missing test dependency in cmake
2021-09-30 09:33:54 -07:00
A.J. Beamon
c82d820bfd
Fixes to new disconnected tests; add a version that doesn't use MVC
2021-09-29 13:16:17 -06:00
A.J. Beamon
de863d170d
Add some tests for timeout behavior with disconnected clusters
2021-09-29 13:16:17 -06:00
QA Hoang
5a5f724d9c
added help for --disable_ryw
2021-09-27 13:27:13 -07:00
QA Hoang
3ed7462d17
formatting
2021-09-27 13:27:13 -07:00
QA Hoang
9948a926ea
support disabling RYW in mako
2021-09-27 13:27:13 -07:00
Xiaoxi Wang
1d36c18a68
solve cmake configure error when -DOPEN_FOR_IDE=ON
2021-09-21 12:43:22 -07:00
Lukas Joswiak
7ed7ca9bac
Fix OPEN_FOR_IDE
2021-09-21 12:42:49 -07:00
A.J. Beamon
76ed965139
Switch from GO111MODULE=off to GO111MODULE=auto (to match what is on release-7.0 and what we ultimately decided on)
2021-09-14 09:44:17 -07:00
FDB Formatster
2c788c233d
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-08-27 17:07:47 -07:00
Chaoguang Lin
a08f0e9aa6
Merge pull request #5464 from sfc-gh-clin/add-two-tests
...
Add fdbcli tests for profile and triggerddteaminfolog
2021-08-27 11:24:11 -07:00
john_leach
63337ced8a
Support building with go 1.16 and higher #5479
2021-08-26 15:54:24 -07:00
Chaoguang Lin
0b9f32a7d2
Remove the unnecessary check in the end of setclass
2021-08-25 14:50:52 -07:00
Chaoguang Lin
a1c8217260
Move setclass test from single-process_test to multi-process_test
2021-08-25 13:04:01 -07:00
Chaoguang Lin
b6dc20875e
Add test coverage for triggerddteaminfolog command
2021-08-25 10:39:00 -07:00
Chaoguang Lin
b00cefc243
Add a safe wait in the fdbcli setclass test
2021-08-25 10:38:01 -07:00
Chaoguang Lin
6b01363f45
Remove commented test; fix issues
2021-08-25 10:29:48 -07:00
Chaoguang Lin
ec1fcfba57
Add test coverage for profile command
2021-08-25 10:04:22 -07:00
QA Hoang
9eeab435b8
Merge branch 'master' into qhoang-FDBCORE-930-modify-mako-multithreaded-client
2021-08-20 10:25:09 -07:00
QA Hoang
5f599fd42f
added client_threads_per_version network option to mako to support multiple client threads
2021-08-20 09:56:27 -07:00
Chaoguang Lin
68b41392a0
Change to use ArgumentParser, set env to use external client library in Popen, enable logging in all tests
2021-08-19 12:13:26 -07:00
QA Hoang
119d041f90
checkpoint - working poc
2021-08-17 15:49:15 -07:00
Chaoguang Lin
775ac3e27c
Format fdbcli_tests.py file
2021-08-17 10:15:35 -07:00
Chaoguang Lin
cc18cc742c
Add fdbcli external client tests
2021-08-17 10:14:39 -07:00
Chaoguang Lin
4cc2042783
Update debugging logs
2021-08-13 15:00:52 -07:00
Chaoguang Lin
9553427619
try to fix exlcude fdbcli test
2021-08-13 11:36:49 -07:00
QA Hoang
c8ae43fc7c
Merge branch 'master' into qhoang-enable-mako-to-work-with-mvc
2021-08-11 10:11:34 -07:00
QA Hoang
a32de81cd2
implemented a timeout for FDB_ERROR_RETRY
2021-08-10 19:54:06 -07:00
QA Hoang
749bd1d3e8
added comments
2021-08-09 21:11:10 -07:00
Chaoguang Lin
3b9cb1a85a
Re-enable exclude command ctest
2021-08-09 21:18:27 +00:00
QA Hoang
0454c769d5
removed debug printf
2021-08-09 13:37:46 -07:00
QA Hoang
1475f300ad
removed debug printf
2021-08-09 13:26:25 -07:00
QA Hoang
d1df06c407
enabled mako to do work to two clusters
2021-08-09 11:29:34 -07:00
Markus Pilman
eb908546bb
Merge pull request #5318 from PierreZ/cmake/options
...
add CMake's option for bindings
2021-08-06 13:06:24 -06:00
Pierre Zemb
415bf2afc0
add CMake's option for bindings
2021-08-05 21:55:45 +02:00
Chaoguang Lin
10484c426c
Disable advanceversion ctest
2021-08-05 19:31:33 +00:00
Andrew Noyes
0eadf91028
Remove std::filesystem usage for old OSX
2021-08-03 13:31:08 -07:00
Andrew Noyes
a77fcb5448
Finalize partial trace files during trace clean up
2021-08-03 13:26:48 -07:00
Andrew Noyes
564ed3581a
Expect trace file renamed after fdb_stop_network
2021-08-03 10:37:43 -07:00
Andrew Noyes
46b8ab97f5
Remove obsolete comment
2021-08-03 09:47:15 -07:00
Andrew Noyes
39eff8c569
Add trace_partial_file_suffix network option
2021-08-03 09:43:42 -07:00
Andrew Noyes
5301e1a865
Add trace_partial_file_suffix_test
2021-08-03 09:37:11 -07:00
Chaoguang Lin
a32cff08eb
Add comments for the change
2021-08-02 22:34:08 +00:00
Chaoguang Lin
20f0a5a1f2
Disable multiprocess fdbcli tests while debugging flakiness
2021-08-02 21:55:07 +00:00
Andrew Noyes
353efe7db2
Merge pull request #5264 from sfc-gh-tclinkenbeard/fix-more-clang-warnings
...
Enable more warnings for `clang`
2021-07-29 15:43:54 -07:00
Chaoguang Lin
9eec9376bd
Merge pull request #5285 from sfc-gh-clin/refactor-throttle-command
...
Refactor throttle command
2021-07-28 13:43:15 -07:00
sfc-gh-tclinkenbeard
94a65865d9
Merge remote-tracking branch 'origin/master' into fix-clang-warnings
2021-07-28 12:29:27 -07:00
sfc-gh-tclinkenbeard
c74047c665
Merge remote-tracking branch 'origin/master' into fix-more-clang-warnings
2021-07-28 11:51:02 -07:00
A.J. Beamon
9f571255bd
Merge pull request #5271 from sfc-gh-ajbeamon/do-not-reset-committed-transaction
...
Do not partially reset a transaction when it is committed or fails to commit with an error
2021-07-28 09:02:54 -07:00
Russell Sears
82603ff764
Merge pull request #5211 from hfu5/repeat-m
...
Add RepeatableReadMultiThreadClientTest
2021-07-27 18:57:22 -07:00
QA Hoang
aae3305a55
added retry txn for FDB_ERROR_RETRY
2021-07-27 18:09:47 -07:00
Chaoguang Lin
e5933dee7e
Add test coverage for throttle
2021-07-27 17:28:59 +00:00
QA Hoang
7f76a434f7
added transaction retry to mako populate mode
2021-07-26 21:18:56 -07:00
QA Hoang
e0513a55f8
added transaction retry to mako clean mode
2021-07-26 20:57:58 -07:00
A.J. Beamon
34f82e7a15
Do not partially reset a transaction when it is committed or fails to commit with an error.
2021-07-26 09:51:44 -07:00
sfc-gh-tclinkenbeard
36703decee
Merge remote-tracking branch 'origin/master' into fix-clang-warnings
2021-07-26 09:32:29 -07:00
Clement Pang
9af401b205
Add comments to orEqual()
2021-07-24 09:10:46 +08:00
sfc-gh-tclinkenbeard
b9a22a61ef
Fix many -Wreorder-ctor warnings
2021-07-23 17:33:18 -07:00
Clement Pang
9496e12861
Make orEquals() public.
...
Addresses the easy issue for https://github.com/apple/foundationdb/issues/5190
2021-07-23 12:03:17 +08:00
sfc-gh-tclinkenbeard
e62e6503ac
Fix most delete-non-virtual-dtor clang warnings
2021-07-21 23:32:44 -07:00
Chaoguang Lin
6bf5df6cc5
Update comments in fdbcli_tests.py
2021-07-21 18:38:13 +00:00
Chaoguang Lin
0b6d43fa6f
Fix exclude test and re-enable it in ctest
2021-07-21 18:36:05 +00:00
Markus Pilman
4fcdd298b4
Merge remote-tracking branch 'sfc/bugfixes/macos-literal-string' into bugfixes/macos-literal-string
2021-07-20 16:28:28 -06:00
Markus Pilman
01bad1f84d
Merge remote-tracking branch 'origin/master' into bugfixes/macos-literal-string
2021-07-20 16:24:52 -06:00
Chaoguang Lin
e5dc677f00
Merge pull request #5238 from sfc-gh-clin/extend-fdbclient-test-for-multiple-processes
...
Disable test for exclude for now which can time out sometime
2021-07-20 14:18:38 -07:00
Chaoguang Lin
f48a2b52f1
Disable test for exclude for now which can time out sometime
2021-07-20 20:44:46 +00:00
Markus Pilman
b760087d5f
Update bindings/c/test/mako/mako.c
2021-07-20 13:27:40 -06:00
Markus Pilman
8f6b048e22
fix macOS build
2021-07-20 11:52:57 -06:00
hao fu
e8f0c3c98a
Add RepeatableReadMultiThreadClientTest
...
Add RepeatableReadMultiThreadClientTest to verify transactions
have repeatable read.
2021-07-17 18:02:44 -07:00
hao fu
492722b719
Setup cycleTest in the same txn
...
In order to have multiple threads running against same cluster, this has to be done.
2021-07-16 17:23:25 -07:00
Hao Fu
d003e3e5aa
Merge pull request #5197 from hfu5/sb-master
...
Add SidebandMultiThreadClientTest
2021-07-16 11:41:53 -07:00
hao fu
ba3e6ecb8c
Add SidebandMultiThreadClientTest
...
This test validates causal consistency for multi-threaded client
2021-07-16 09:45:49 -07:00
Chaoguang Lin
c8e18f99f0
Merge pull request #5185 from sfc-gh-clin/extend-fdbclient-test-for-multiple-processes
...
Extend cmake fdbclient_test for multiple processes
2021-07-15 14:34:04 -07:00
Chaoguang Lin
3552080266
Update some comments of the change
2021-07-15 16:38:04 +00:00
Chaoguang Lin
4659c028f5
Add test coverage for coordinators command
2021-07-15 08:18:37 +00:00
Chaoguang Lin
07882d809d
Add test coverage for exclude command
2021-07-15 07:19:25 +00:00
Chaoguang Lin
932058e64b
Add tests for fdbcli commands running against multi-process cluster
2021-07-14 22:37:07 +00:00
Hao Fu
19d86efa7a
Cherry pick 871b098e95
from 6.3
...
Change the version to 710.
Add CycleMultiClientIntegrationTest
2021-07-14 15:36:53 -04:00
Russell Sears
c42815f15f
Merge pull request #5127 from vishesh/cherrypick
...
Making it possible to run a multiple-cluster Java integration test (cherry-pick of #4456 from 6.3)
2021-07-13 09:14:20 -07:00
Scott Fines
d1db0d4013
Making it possible to run a multiple-cluster Java integration test
2021-07-07 10:15:18 -07:00
sfc-gh-tclinkenbeard
9c1e154481
Merge remote-tracking branch 'origin/master' into remove-boost-dependencies
2021-06-28 13:54:39 -07:00
Chaoguang Lin
3d438dfe6d
Update suspend test to avoid flaky results
2021-06-25 01:09:44 +00:00
Chaoguang Lin
cd594be0f8
Update setclass' test to have random class type and use the specific network address
2021-06-23 23:40:34 +00:00
sfc-gh-tclinkenbeard
a424abe5c2
Remove some boost dependencies
2021-06-21 13:46:04 -07:00
Chaoguang Lin
c4c78410ed
update comments
2021-06-17 18:36:33 +00:00
Chaoguang Lin
ecff680b47
Merge branch 'master' of github.com:apple/foundationdb into add-fdbcli-tests
2021-06-17 00:29:41 +00:00
Chaoguang Lin
9a4bfd48aa
Add test coverage for consistencycheck, cache_range, datadistribution, lock, unlock, setclass, suspend and all transaction related fdbcli commands
2021-06-17 00:28:07 +00:00
A.J. Beamon
a370776e9b
Merge pull request #4930 from apple/anoyes/external-clients-in-fdb-java
...
Add exportLibrary for exporting external clients from jar
2021-06-15 15:36:08 -07:00
Sam Gwydir
dd0d99ab10
FDBCORE-617: Allocate mako prefix on stack
2021-06-10 14:25:04 -07:00
Sam Gwydir
127fc6c09c
FDBCORE-617: Add mako option to prepend padding
2021-06-09 17:13:02 -07:00
Andrew Noyes
b92b930b93
Add exportLibrary for exporting external clients from jar
...
After this change, users would be able to add all fdb shared libraries
they need in the jar itself with something like `jar uf`.
2021-06-08 17:23:02 -07:00
Jingyu Zhou
e34df983ee
Merge pull request #4800 from sfc-gh-tclinkenbeard/remove-extra-copies
...
Remove unnecessary temporary objects while growing objects of type std::vector<std::pair<A, B>>
2021-06-07 13:23:50 -07:00
sfc-gh-tclinkenbeard
371a38e6e5
Merge remote-tracking branch 'origin/master' into remove-extra-copies
2021-06-07 10:26:06 -07:00
Andrew Noyes
5d2d4622f6
Update bindings/c/test/unit/unit_tests_version_510.cpp
2021-06-07 09:40:26 -07:00
Andrew Noyes
0beb548e99
Improve comments
2021-06-05 17:10:41 -07:00
Andrew Noyes
cd5c0481cc
Use linker script for external workloads
...
This fixes an issue on Arm with lld:
ld.lld: error: relocation R_AARCH64_PREL64 cannot be used against symbol OPENSSL_armcap_P; recompile with -fPIC
I think the problem was that lld thought that the shared object might
need to interpose OPENSSL_armcap_P at runtime, although honestly I'm not
too sure about all this linker stuff.
2021-06-05 14:43:50 -07:00
Andrew Noyes
311da4b07a
Explain requirements for fdb_c.g.S implementations
2021-06-05 14:43:50 -07:00
Andrew Noyes
34529c353c
Try to fix arm build on clang
2021-06-05 14:42:30 -07:00
Chaoguang Lin
a5e69c269a
remove unused header, fix the CMake rule
2021-06-04 20:44:49 +00:00
Chaoguang Lin
b57ed906c4
Update comments
2021-06-04 01:36:03 +00:00
Chaoguang Lin
4cc90fb0e9
Update comments, fix typos
2021-06-04 01:17:09 +00:00
Chaoguang Lin
6eff38ebf7
Remove some unnecessary code
2021-06-04 00:58:23 +00:00
Chaoguang Lin
e6ff1d75eb
Add interactive tests for fdbcli commands using a python script
2021-06-04 00:37:25 +00:00
Andrew Noyes
7cdd43c352
Handle retriable errors better in fdb_c_unit_tests
2021-05-25 16:45:24 +00:00
Andrew Noyes
e892ca00e4
Use proper string equality
2021-05-14 00:03:03 +00:00
Andrew Noyes
4163270c02
Put aarch64 libfdb_java in the right place for fat jar
2021-05-13 23:13:14 +00:00
sfc-gh-tclinkenbeard
f28ac955c3
Remove unnecessary temporary objects while growing objects of type std::vector<std::pair<A, B>>
2021-05-10 16:32:50 -07:00
Edwin Zhang
3d9619790d
Fix OPEN_FOR_IDE option for cmake
2021-05-07 17:54:59 -04:00
Jingyu Zhou
3ce31cb347
Upgrade api version from 700 to 710
2021-05-05 21:15:00 -07:00
Sam Gwydir
45c79ecc17
Mako should be able to set loggroup
2021-05-03 21:18:07 -07:00
A.J. Beamon
823873a9aa
Address review comments:
...
Use nullptr instead of NULL
Use const& for a parameter
Add some comments
2021-04-26 14:39:27 -07:00
A.J. Beamon
a794fca932
Support 5.0 (and earlier) client versions by adding GRV probing for old versions. Update the C bindings implementation of get_server_protocol to convert the ProtocolVersion object into a uint64_t. Rename a misleading protocol version alias.
2021-04-23 15:00:21 -07:00
A.J. Beamon
eaaae2e16d
Merge branch master into 'feature-mvc-monitor-protocol-version'
2021-04-20 15:07:02 -07:00
A.J. Beamon
4a1a55f270
Remove fdb_get_server_protocol from the Python bindings. This C function this was using recently moved and changed signature, so it no longer works in Python.
2021-04-16 13:48:44 -07:00
A.J. Beamon
b2d6930103
The multi-version client monitors the cluster's protocol version and only activates the client library that can connect.
2021-04-15 11:45:14 -07:00
A.J. Beamon
d3b6a543ab
Update comment in unit test
2021-04-14 13:23:06 -07:00
A.J. Beamon
bc8568d4bb
Use the correct pointer in the unit test for fdb_database_get_server_protocol
2021-04-14 12:58:59 -07:00
A.J. Beamon
3ed0d614d2
Move fdb_get_server_protocol to be a function on the database object. Add an argument for expected_version that can be used to signal that the function shouldn't return unless the protocol version is different.
2021-04-14 12:50:30 -07:00
A.J. Beamon
b2ee928a15
Merge pull request #4564 from sfc-gh-nwijetunga/network_busyness_java_api
...
Network Busyness Java API
2021-04-12 14:38:01 -07:00
Vishesh Yadav
8627fa1f16
Merge pull request #4597 from scottfines/no_string_format
...
Removing String.format from ByteArrayUtil.printable.
2021-04-09 10:59:28 -07:00
Scott Fines
275e650a80
Disabling tests that don't really work in the ctest development environment. They aren't important tests anyway
2021-04-02 11:09:08 -05:00
Scott Fines
ef1b924f07
Removing String.format from ByteArrayUtil.printable.
...
String.format can be potentially expensive, and if using `printable()`
within a hot loop that can be a performance penalty. Admittedly, it
doesn't seem like a good idea to call printable() from within a hot
loop, but if you have to, it's good for it to perform well.
2021-03-31 09:31:38 -05:00
Nim Wijetunga
bdccf8bc80
fix formatting issues
2021-03-25 00:11:11 +00:00
Nim Wijetunga
a84592df7e
add test for network busyness
2021-03-24 23:59:40 +00:00
Nim Wijetunga
21f1e1d5de
add comment
2021-03-24 23:38:42 +00:00
Nim Wijetunga
b5412b355e
Add Java API for network busyness
2021-03-24 23:34:34 +00:00
A.J. Beamon
ed811008ca
Merge pull request #4504 from sfc-gh-nwijetunga/network_busyness
...
Monitor Network Thread Busyness
2021-03-24 09:44:09 -07:00
Nim Wijetunga
de1c354b12
address pr comments
2021-03-23 20:56:37 +00:00
Andrew Noyes
0acd2a1e13
Work around fdbmonitor/tsan problem
...
I don't fully understand what's going on here, but I want to run with tsan enabled
2021-03-18 23:21:46 +00:00
Nim Wijetunga
0afacf4997
Merge branch 'master' of github.com:sfc-gh-nwijetunga/foundationdb into network_busyness
...
* 'master' of github.com:sfc-gh-nwijetunga/foundationdb:
Update example Dockerfile (#4488 )
Add aarch64 support in CentOS7 Dockerfile (#4483 )
Add a comment back
Port lost PR #4166 back
change macro and format file
2021-03-18 19:03:06 +00:00
Nim Wijetunga
73571ad52e
Merge branch 'master' of github.com:sfc-gh-nwijetunga/foundationdb into network_busyness
...
* 'master' of github.com:sfc-gh-nwijetunga/foundationdb: (55 commits)
Port lost changes from #4004
Fix markdown
Factor our refreshTransaction gadget
Align FastAllocator memory to 4096 for size >= 4096
Fix heap-use-after-free's
Disable lsan in joshua
Manually apply changes made to BackupContainer.actor.cpp on release-6.3 to the new files where that code is located.
add release branch instructions
Fix PR number in release note link
fixed a simulation bug where a process on an unreliable machine would be considered reliable by the simulator
Add tini as PID 1 to docker image (#4363 )
Fix typo
Fix broken_promise bug
Explain FastAllocator<4096> special case
Inform LSAN that we have unaligned pointers
apply clang-format to flow/Platform.h
Fix typos
Address review comments
Change the macro that forbids exit() calls to be a static assertion
Add versionstamp serialization information
...
2021-03-18 18:58:43 +00:00
Andrew Noyes
fbe5c81b33
Block until future is ready in test
2021-03-18 18:24:12 +00:00
Andrew Noyes
0919eff187
Fix data race in fdb_get_server_protocol
2021-03-18 18:24:12 +00:00
A.J. Beamon
ee2584b520
Merge pull request #4498 from sfc-gh-mpilman/bugfix/format-fdbc
...
Fix clang-format issue with fdb_c.h
2021-03-18 09:16:18 -07:00
Nim Wijetunga
ea922aa648
address pr comments
2021-03-17 18:16:18 +00:00
Nim Wijetunga
bf5f83d2bf
address pr comments
2021-03-16 21:49:36 +00:00
Nim Wijetunga
5f079904d4
add unit test
2021-03-16 18:30:39 +00:00
Nim Wijetunga
f0d79b3d86
Inital implementation of network busyness
2021-03-15 23:23:56 +00:00
Markus Pilman
ebcc69f512
change macro and format file
2021-03-15 15:17:22 -06:00
Andrew Noyes
a76c7b9754
Fix several memory leaks and a thread leak
2021-03-11 23:58:32 +00:00
Vishesh Yadav
2cd3f45fd6
Merge remote-tracking branch 'apple/release-6.3' into master-format-final
...
release-6.3 was recently merged, and there were two PRs which were
merged in between and got those changes in here. Hence, since all the
changes were in, discarded the incoming changes and accepted all
current.
2021-03-10 16:50:44 -08:00
FDB Formatster
df90cc89de
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-03-10 10:18:07 -08:00
Vishesh Yadav
2bb4f2e59f
Merge branch 'release-6.3-pre-format' into master-format
...
This merges release-6.3 branch right before it was fully formatted.
There were quite a few conflicts that are resolved here. CoroFlow had
a check for OOM errors introduced in 6.3, but didn't seem applicable in
the new implmentation which seems to use boost.
2021-03-10 09:37:41 -08:00
Scott Fines
85a6e65e16
Merge pull request #4385 from scottfines/instrumented_java
...
Add the ability to instrument java driver actions
2021-03-09 13:46:31 -06:00
Scott Fines
bdc888ba0a
fixing formatting errors
2021-03-09 11:34:15 -06:00
Scott Fines
2db95bebf9
Merge branch 'release-6.3' into buffer_defaults
2021-03-09 08:53:12 -06:00
Scott Fines
329d6052b6
making times record counts too
2021-03-09 08:41:10 -06:00
Scott Fines
df6faa089a
Addressing PR comments
2021-03-08 14:10:20 -06:00
Scott Fines
a9324ebbf6
Adjust default native buffer sizes to be more efficient
2021-03-08 13:31:44 -06:00
Scott Fines
6e32eb75dc
Adding a reference implementation of EventKeeper
2021-03-08 09:58:31 -06:00
Scott Fines
e080e989ac
Better approach to non-locked stats gathering (including knowing what thread will operate)
2021-03-08 09:52:02 -06:00
Scott Fines
6c4ce1769d
Moving external calls outside of the pointer lock
2021-03-08 08:46:06 -06:00
FDB Formatster
8a8c488ede
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-03-05 18:13:38 -06:00
Scott Fines
397af989bb
More PR comments
2021-03-05 15:15:05 -06:00
Scott Fines
75be7243e8
Addressing PR comments
2021-03-05 14:27:00 -06:00
Scott Fines
c6731cc053
Basic instrumentation of Java Bindings
2021-03-05 14:26:46 -06:00
Russell Sears
15168f33f2
Merge pull request #4394 from vishesh/task/generated.go
...
Update generated.go
2021-03-05 06:08:04 -08:00
Markus Pilman
061c733a9c
Merge pull request #4405 from sfc-gh-anoyes/anoyes/cluster-for-java-test
...
anoyes/cluster-for-java-test
2021-03-02 10:22:21 -07:00
Andrew Noyes
e62cdbad3b
Mention that tests share an fdb cluster
2021-03-02 16:31:58 +00:00
Evan Tschannen
346a4e3ecd
Merge branch 'release-6.3'
...
# Conflicts:
# fdbcli/fdbcli.actor.cpp
# fdbrpc/LoadBalance.actor.h
# fdbrpc/MultiInterface.h
# fdbserver/ClusterController.actor.cpp
# fdbserver/MasterProxyServer.actor.cpp
# fdbserver/masterserver.actor.cpp
2021-03-01 18:52:06 -08:00
Andrew Noyes
18ee11e69a
Use add_fdbclient_test for java integration tests
...
Also change add_fdbclient_test to run its subcommand with FDB_CLUSTER_FILE set
2021-03-02 01:54:17 +00:00
Scott Fines
7054328d8a
New Unit and Integration Tests, and associated infrastructure.
...
First, this converts the java unit testing framework to junit 5.
Then we create some easy unit tests, move TupleTest logic into unit
tests, and move some other tests into ArrayUtilTests.
This also adds new cmake configuration to run junit and integration tests
through ctest.
There is a mechanism to write integration tests that depend on a running
fdb cluster by having those tests be skipped if they can't connect to a
database quickly. This should help to add those tests in CI, although
eventually we'll probably want to move this to throw an error instead
(once the CI build process clears out and we can guarantee a running
server during CI testing).
Converting to junit 5
2021-03-01 09:11:45 -06:00
Vishesh Yadav
95f5a73a3d
go: Update generated.go
2021-02-26 11:22:31 -08:00
Scott Fines
236510652d
Resolves 4323: make Junit tests run as separate ctest tests.
...
This adds the ability to run junit tests through ctest a little more
easily (no Suites required). It also adds a small amount of
documentation to explain to the average developer how to go about using
Junit effectively.
2021-02-24 14:24:23 -06:00
Scott Fines
3d1bb99d90
Merge pull request #4336 from scottfines/test_conversions
...
Converting existing tests to using Unit (where possible)
2021-02-24 14:21:51 -06:00
Scott Fines
0bf7f9cf63
New Unit and Integration Tests, and associated infrastructure.
...
First, this converts the java unit testing framework to junit 5.
Then we create some easy unit tests, move TupleTest logic into unit
tests, and move some other tests into ArrayUtilTests.
This also adds new cmake configuration to run junit and integration tests
through ctest.
There is a mechanism to write integration tests that depend on a running
fdb cluster by having those tests be skipped if they can't connect to a
database quickly. This should help to add those tests in CI, although
eventually we'll probably want to move this to throw an error instead
(once the CI build process clears out and we can guarantee a running
server during CI testing).
Converting to junit 5
2021-02-24 09:35:35 -06:00
Meng Xu
471a3489fb
Resolve review comments and add trace fields to MasterRecoveryState
2021-02-17 14:44:14 -08:00
Scott Fines
2589c26907
Resolves 4323: make Junit tests run as separate ctest tests.
...
This adds the ability to run junit tests through ctest a little more
easily (no Suites required). It also adds a small amount of
documentation to explain to the average developer how to go about using
Junit effectively.
2021-02-12 15:34:04 -06:00
Meng Xu
9122be4d81
Add comments to HA code and loadBalance code
2021-02-10 13:51:36 -08:00
Chaoguang Lin
1ae883b150
Update to use C++ random generator
2021-02-09 19:06:13 -08:00
Chaoguang Lin
0f969f0f95
Initilize random seed in the snapshot c function unit test when generating UID
2021-02-09 16:05:37 -08:00
Chaoguang Lin
5b2c015747
fix indent
2021-02-09 01:45:43 -08:00
Chaoguang Lin
1d964e8c4a
update unit test
2021-02-09 01:41:39 -08:00
Chaoguang Lin
90686a95a0
format code
2021-02-08 22:17:16 -08:00
Chaoguang Lin
7c1ef37bcb
format code
2021-02-08 21:42:40 -08:00
Chaoguang Lin
61082e70e1
format code, add comments
2021-02-08 19:11:30 -08:00
Chaoguang Lin
e3c1530a15
format code
2021-02-08 18:56:12 -08:00