14326 Commits

Author SHA1 Message Date
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
Markus Pilman
a80c290cad
Merge pull request #4453 from sfc-gh-anoyes/anoyes/boost-valgrind
Inform boost context of valgrind usage
2021-03-09 15:17:13 -07:00
Andrew Noyes
ccc8404faa Disable go bindings for sanitizer builds 2021-03-09 20:55:41 +00:00
Andrew Noyes
fb8d021995 Pass SANITIZER_LINK_OPTIONS to CGO 2021-03-09 17:54:34 +00: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
b5084c634d Inform boost context of valgrind usage
This fixes the "client switching stacks?" warning that valgrind is
currently issuing.

Also fix a memory error that currently doesn't manifest because of the
way FastAllocator works (if you free a small buffer and then immediately
allocate the same size buffer in FastAllocator you always get the same
buffer back). You can see it if you set FDB_VALGRIND_PRECISE= (causes
FastAllocator to use malloc)

Also minor refactoring and cleanup of CoroFlow.actor.cpp

Also (probably) fix the other sanitizer builds, although I didn't test
that
2021-03-09 01:33:32 +00:00
Chaoguang Lin
9645f489e6 Fix base trace event name inconsistency 2021-03-08 15:20:50 -08:00
Andrew Noyes
5ecb1dfcba Move ASSERT to right before dereference 2021-03-08 22:37:30 +00: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
Russell Sears
15168f33f2
Merge pull request #4394 from vishesh/task/generated.go
Update generated.go
2021-03-05 06:08:04 -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
Meng Xu
35123d5bf2
Merge pull request #4429 from halfprice/zhewu/warning-ss-lagging
Change SSVersionDiffLarge event severity to warning
2021-03-04 10:16:05 -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
59181245c1 Change SSVersionDiffLarge event log level to warning 2021-03-03 23:33:48 -08: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
Russell Sears
d2d6fcccfa
Merge pull request #4009 from Daniel-B-Smith/rocksdb-named-threads
Name the RocksDB background threads
2021-03-03 20:34:32 -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
Meng Xu
e40e78da64
Add 6.3.11 release notes (#4424) 2021-03-03 21:08:51 -06:00
Steve Atherton
f33ed86210
Merge pull request #4420 from apple/release-6.2
Merge 6.2 into 6.3
2021-03-03 15:57:36 -08: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
Steve Atherton
02e575e49b
Merge pull request #4418 from sfc-gh-mpilman/features/async-rename
Add async rename
2021-03-03 14:29:13 -08:00
Markus Pilman
08c98ec2a9 Unit test for rename function 2021-03-03 14:25:00 -07:00
Trevor Clinkenbeard
7cd361df8f
Merge pull request #4419 from sfc-gh-mpilman/bugfixes/compiler-warnings
Fix multiple compiler warnings
2021-03-03 09:50:59 -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
Markus Pilman
37d9e975e9 Fix multiple compiler warnings 2021-03-03 10:18:03 -07:00
Markus Pilman
fd1a865737 fix botched include 2021-03-03 09:36:04 -07:00
Markus Pilman
7f758328c0 add renameFile to WinASIO 2021-03-03 09:35:19 -07:00
Markus Pilman
7cb529ddb3 address review comment 2021-03-02 17:34:30 -07:00
Markus Pilman
a33bf68444 make sure rename code is actually called 2021-03-02 17:34:23 -07:00
Markus Pilman
d2bd63d0cb fix includes 2021-03-02 17:05:27 -07:00
Markus Pilman
cc47332478 Added an actor to allow for async file renames 2021-03-02 16:38:51 -07:00
Aaron Molitor
bac3d61c09 install fdb-joshua and old fdb binaries, add j alias to bashrc 2021-03-02 16:27:55 -06: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
Scott Fines
a19e2cfc1c
Merge pull request #4366 from scottfines/test_conversions_63
New Unit and Integration Tests, and associated infrastructure(6.3. Release version)
2021-03-02 15:12:49 -06: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
e792968215
Merge pull request #4408 from sfc-gh-etschannen/release-6.3
Merge Release 6.2 into Release 6.3
2021-03-01 23:49:32 -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