14304 Commits

Author SHA1 Message Date
Nim Wijetunga
1fe50997b4 include atomic 2021-03-11 17:17:33 -05:00
Nim Wijetunga
76952e6ed0 fix set value 2021-03-11 17:16:47 -05:00
Nim Wijetunga
32125177b1 fix test 2021-03-11 14:36:11 -05:00
Nim Wijetunga
013867bd66
Merge pull request #8 from apple/master
Merge Master
2021-03-09 12:33:26 -05:00
Steve Atherton
7066513109
Merge pull request #4447 from sfc-gh-anoyes/anoyes/clang-tidy-warning
Add ASSERT to help clang-tidy
2021-03-08 18:55:26 -08:00
Andrew Noyes
8766bb44b1 Address review comment 2021-03-09 01:40:59 +00:00
Andrew Noyes
5ecb1dfcba Move ASSERT to right before dereference 2021-03-08 22:37:30 +00:00
Nim Wijetunga
f74f9aa770
Merge pull request #6 from apple/master
Merge Master
2021-03-08 15:46:40 -05:00
Andrew Noyes
7188c7ddfb Add ASSERT to help clang-tidy
If n == nullptr here, then we'll dereference a nullptr. Add an assert.
2021-03-08 18:50:28 +00:00
Jingyu Zhou
fab8c3f41a
Merge pull request #4423 from halfprice/zhewu/proxy-report-ratekeeper-limit
Adding proxy local rate limit metrics reporting back to GrvProxyServer
2021-03-05 08:49:18 -08:00
Trevor Clinkenbeard
0b6945cf8b
Merge pull request #4425 from sfc-gh-anoyes/anoyes/inefficient-vectors
Apply clang-tidy's performance-inefficient-vector-operation fix
2021-03-04 22:53:07 -08:00
Zhe Wu
786b3bf5fc
Merge pull request #4422 from jzhou77/master
Remove MasterProxyServer.actor.cpp due to bad merge from 6.3
2021-03-04 11:01:12 -08:00
A.J. Beamon
cd46e2f7f8
Merge pull request #4430 from scottfines/6.3_merge
6.3 merge
2021-03-04 08:33:50 -08:00
Scott Fines
ec3e2df6e5 Merge branch 'merge_junit' into 6.3_merge 2021-03-04 06:38:45 -06:00
Zhe Wu
6487b23b57 Add missing comment. 2021-03-03 22:43:30 -08:00
Zhe Wu
ad2e7e5644 Re-adding local proxy rate limit reporting, same as https://github.com/apple/foundationdb/pull/3960 2021-03-03 22:36:35 -08:00
Andrew Noyes
79cec09255 Apply clang-tidy's performance-inefficient-vector-operation fix
I ran this command in my build directory after compiling with
OPEN_FOR_IDE. It took a few small tweaks to get it to compile, which is
outside the scope of this commit.

    $ python run-clang-tidy.py -j $(nproc) -checks='-*,performance-inefficient-vector-operation' -fix
2021-03-04 03:58:25 +00:00
Jingyu Zhou
e4fc7d5902 Remove MasterProxyServer.actor.cpp due to bad merge from 6.3
MasterProxyServer.actor.cpp on master is replaced with
CommitProxyServer.actor.cpp and GrvProxyServer.actor.cpp.
2021-03-03 14:36:47 -08:00
Meng Xu
7505e654da
Merge pull request #4407 from ammolitor/cicd/joshua
install fdb-joshua and old fdb binaries
2021-03-03 09:34:44 -08:00
Aaron Molitor
bac3d61c09 install fdb-joshua and old fdb binaries, add j alias to bashrc 2021-03-02 16:27:55 -06:00
Nim Wijetunga
310e9b30ec
Merge pull request #5 from apple/master
Merge Master
2021-03-02 16:36:09 -05:00
Markus Pilman
4806299821
Merge pull request #4382 from sfc-gh-nwijetunga/optimize-watches-server
Optimize Watches Server
2021-03-02 14:25:21 -07:00
Markus Pilman
a03b5f5426
Merge pull request #4349 from sfc-gh-ljoswiak/fixes/log-file-tracing
Stop running log file tracer in simulation
2021-03-02 14:00:00 -07:00
Russell Sears
46ea86e886
Merge pull request #4406 from ammolitor/cicd/stop_downloading_things
stop downloading RocksDB in dev container
2021-03-02 12:07:05 -08:00
Lukas Joswiak
d676cb32e1 Separate tracers that will run in simulation from those that won't 2021-03-02 10:35:37 -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
a7d8b833ee
Merge pull request #4409 from sfc-gh-etschannen/master
Merge Release 6.3 into Master
2021-03-01 23:49:36 -08: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
Evan Tschannen
c128e59a6f Merge branch 'release-6.2' into release-6.3
# Conflicts:
#	CMakeLists.txt
#	cmake/InstallLayout.cmake
#	packaging/msi/FDBInstaller.wxs
#	versions.target
2021-03-01 18:35:20 -08:00
Aaron Molitor
4e14500031 use pre-downloaded rocksdb at build time. 2021-03-01 20:00:21 -06: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
Evan Tschannen
3cd819df25
Merge pull request #4301 from sfc-gh-anoyes/anoyes/iterator-fix-6.3
Fix bugs turned up by _GLIBCXX_DEBUG
2021-03-01 13:53:00 -08:00
Jingyu Zhou
98a8f3e308
Merge pull request #4300 from sfc-gh-anoyes/anoyes/iterator-fix
Fix comparison of iterators from different containers
2021-03-01 13:52:13 -08:00
Markus Pilman
dd56261f25
Merge pull request #4373 from skunkwerks/fix/freebsd-use-default-allocator
cmake: skip jemalloc on FreeBSD
2021-03-01 14:49:01 -07:00
Evan Tschannen
f26f58541b
Merge pull request #4400 from Daniel-B-Smith/rocksdb-restart
Make the RocksDB init method idempotent
2021-03-01 13:43:05 -08:00
Jingyu Zhou
a1c77556c3
Merge pull request #4387 from sfc-gh-anoyes/anoyes/update-post-release
Update version following release
2021-03-01 13:42:36 -08:00
Markus Pilman
69fea51331
Merge pull request #4401 from sfc-gh-anoyes/anoyes/default-stack-for-libeio
Use default stack size for libeio threads
2021-03-01 12:19:55 -07:00
Nim Wijetunga
5462d52c8b fix pr comments 2021-03-01 14:18:14 -05:00
Daniel Smith
0e9e53a163 Make the RocksDB init method idempotent 2021-03-01 17:20:41 +00:00
Andrew Noyes
bec1cd15b9 Use default stack size for libeio threads 2021-03-01 16:41:09 +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
Trevor Clinkenbeard
5c3524cbed
Merge pull request #4399 from harikb/master
Fix a compile error: Related to pr 3961
2021-02-28 14:59:03 -08:00
Hari Bhaskaran
25069a9444 Fix compile error: Related to pr 3961 2021-02-27 17:10:21 -08:00
Nim Wijetunga
557c0e258a fixed watchBytes calculation 2021-02-26 17:25:27 -05:00
Andrew Noyes
f83423c968
Merge pull request #4064 from sfc-gh-mpilman/bugfixes/4022
don't generate machine id if it is set by the user
2021-02-26 09:54:19 -08:00
Trevor Clinkenbeard
e08ed81293
Merge pull request #4393 from sfc-gh-jfu/jfu-incremental-doc
Added more help messages to fdbbackup and fdbrestore for incremental backup
2021-02-25 14:07:16 -08:00
Jon Fu
aaee4d1df7 added help messages to fdbbackup and fdbrestore for incremental backup 2021-02-25 16:29:23 -05:00
Nim Wijetunga
14dd50a7de remove traces 2021-02-25 14:32:53 -05:00
Trevor Clinkenbeard
68a4049dc0
Add Azure backup dependencies to Docker image (#4391)
* Add Azure backup dependencies to Docker image

* Remove duplicate libcurl-devel installation

* Alphabetize yum installations in Dockerfile
2021-02-25 13:32:05 -06:00