1187 Commits

Author SHA1 Message Date
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
FDB Formatster
8a8c488ede apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-05 18:13:38 -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
Markus Pilman
08c98ec2a9 Unit test for rename function 2021-03-03 14:25:00 -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
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
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
Andrew Noyes
bec1cd15b9 Use default stack size for libeio threads 2021-03-01 16:41:09 +00:00
Zhe Wu
4f2ed263cc Update comment 2021-02-24 15:15:56 -08:00
Zhe Wu
78721530e6 Resolve merge conflict 2021-02-24 15:13:58 -08:00
Zhe Wu
a17b17f896 add more clarification 2021-02-23 12:23:10 -08:00
Zhe Wu
25a7f87433 Revise documentation in QueueModel to clarify the meaning of 'outstanding' and 'penalty' 2021-02-23 12:20:05 -08:00
Zhe Wu
8ee7ee9e45 Apply clang-format to fdbrpc/QueueModel.h 2021-02-23 10:21:35 -08:00
Zhe Wu
309c6fddc9 Add documentation to client side load balancing algorithm 2021-02-22 15:29:18 -08:00
Meng Xu
ef0bf2728e Merge branch 'release-6.3' into mengxu/ha-code
Resolve Conflicts:
	fdbserver/LogRouter.actor.cpp: Only conflicts at comments
2021-02-19 21:47:09 -08:00
Meng Xu
471a3489fb Resolve review comments and add trace fields to MasterRecoveryState 2021-02-17 14:44:14 -08:00
Markus Pilman
d13e240496 use libcoroutine for Windows
The Windows CI still doesn't have boost context installed
so we use the old implementation for now
2021-02-17 09:23:41 -07:00
Markus Pilman
f514194aec Merge remote-tracking branch 'origin/master' into features/coroutine2 2021-02-17 09:03:07 -07:00
Meng Xu
9122be4d81 Add comments to HA code and loadBalance code 2021-02-10 13:51:36 -08:00
A.J. Beamon
e6d9ebd3d2
Merge pull request #4302 from sfc-gh-ajbeamon/make-ping-stable-interface
Make the ping enpoint a stable interface
2021-02-08 18:10:33 -08:00
A.J. Beamon
9f0f36c9a6 Make the ping enpoint a stable interface. Fix bug where we would could start scanning for packets before the connect packet was finished. 2021-02-08 17:10:33 -08:00
Andrew Noyes
cb196daefe Fix bugs turned up by _GLIBCXX_DEBUG
Compiling with -D_GLIBCXX_DEBUG enables libstc++ "debug mode", where
additional debug information is tracked with iterators and reported if
iterators are misused. This turned up two bugs.

I threw in removing dead code and avoiding an unnecessary map lookup
while I was in the neighborhood.
2021-02-09 00:41:21 +00:00
A.J. Beamon
aaf0a9aa7b Merge branch 'release-6.3' into merge-release-6.3-into-master
# Conflicts:
#	build/docker-compose.yaml
#	cmake/ConfigureCompiler.cmake
#	fdbclient/FileBackupAgent.actor.cpp
#	fdbrpc/AsyncFileCached.actor.h
#	fdbrpc/IAsyncFile.h
#	fdbrpc/IRateControl.h
#	fdbrpc/simulator.h
#	fdbserver/KeyValueStoreSQLite.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	fdbservice/ServiceBase.cpp
2021-02-08 12:58:34 -08:00
Markus Pilman
6e571ab87b Merge branch 'master' of github.com:apple/foundationdb into features/coroutine2 2021-02-08 10:25:29 -07:00
A.J. Beamon
67e783acf8 Merge branch 'release-6.2' into merge-release-6.2-into-release-6.3
# Conflicts:
#	cmake/CompileBoost.cmake
#	cmake/FDBComponents.cmake
#	fdbrpc/AsyncFileCached.actor.h
#	fdbrpc/simulator.h
#	fdbserver/KeyValueStoreSQLite.actor.cpp
#	fdbserver/Knobs.cpp
#	fdbserver/Knobs.h
#	fdbserver/storageserver.actor.cpp
#	flow/Knobs.h
#	flow/network.h
2021-02-08 09:20:28 -08:00
Steve Atherton
8547abbbe4 Bug fix: In simulation, KVStoreSQLite can outlive its process during a simulated reboot so its file references must be cleared explicitly during shutdown instead of implicitly during destruction. Re-enabled a useful trace event. Some cleanup, removed unnecessary member var initializer and removed unnecessary method. 2021-02-05 21:26:39 -08:00
Andrew Noyes
08997d8602 Fix bugs turned up by _GLIBCXX_DEBUG
Compiling with -D_GLIBCXX_DEBUG enables libstc++ "debug mode", where
additional debug information is tracked with iterators and reported if
iterators are misused. This turned up two bugs.

I threw in removing dead code and avoiding an unnecessary map lookup
while I was in the neighborhood.
2021-02-04 02:37:51 +00:00
Meng Xu
1db4b73215
Merge pull request #4243 from sfc-gh-etschannen/feature-storage-io-timeout
throw an io_timeout if it takes more than 2 minutes to commit on the storage server
2021-02-03 18:10:16 -08:00
Chaoguang Lin
593165679a Remove unnecessary header 2021-02-02 12:42:46 -08:00
Chaoguang Lin
17671604c0 Add option to define I/O size 2021-02-02 12:39:05 -08:00
Markus Pilman
534fa45291 Merge branch 'master' of github.com:apple/foundationdb into features/coroutine2 2021-02-01 16:31:16 -07:00
sfc-gh-tclinkenbeard
5a0502cbf4 Improve SimExternalConnection::read performance 2021-01-31 16:08:03 -08:00
Steve Atherton
b0fd6bfbcf More bug fixes in SQLite file handle lifetimes after storage server restart (including simulated process reboot) when a write rate limit is used. Added several debug trace events, renamed some VFSAsync* events to be more consistent. 2021-01-30 18:18:16 -08:00
Steve Atherton
52c2695f59 Bug fixes involving use of AFCached rate control in simulation. 2021-01-30 18:13:44 -08:00
Steve Atherton
e56fe02a25 Merge branch 'add-throttling-on-AsyncfileCached' of github.com:sfc-gh-clin/foundationdb into afcache-write-limit 2021-01-30 18:11:54 -08:00
Evan Tschannen
80c302e5c9 removed assert 2021-01-28 17:52:06 -08:00
Evan Tschannen
aa9d97bf22 validate that failDisk is being triggered in simulation 2021-01-28 12:34:25 -08:00
Evan Tschannen
cf6a8e5df7 waitUntilDiskReady is not an actor 2021-01-27 14:36:02 -08:00
Evan Tschannen
36e4f82115 more complete support for simulated disk failures 2021-01-27 14:29:43 -08:00
Evan Tschannen
f30ae07a2d fixed compile error 2021-01-27 14:10:36 -08:00
Evan Tschannen
b9a4c7418a fixed typo 2021-01-27 14:10:06 -08:00
Evan Tschannen
3ee5831287 fault injection can now cause a disk to stop responding 2021-01-27 13:57:54 -08:00
Steve Atherton
989fee908a More bug fixes in SQLite file handle lifetimes after storage server restart (including simulated process reboot) when a write rate limit is used. Added several debug trace events, renamed some VFSAsync* events to be more consistent. 2021-01-27 00:01:33 -08:00