Commit Graph

14034 Commits

Author SHA1 Message Date
Chaoguang Lin 731ee8a121 Update ChangeConfig to test coordinators special keys 2021-02-16 13:01:37 -08:00
Chaoguang Lin 3def9731a4 Merge branch 'master' of github.com:apple/foundationdb into add-coordinators-into-special-keys 2021-02-08 18:52:45 -08:00
Chaoguang Lin b10959be0f format code, add trace 2021-02-08 18:52: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 e05cc598e8
Merge pull request #4298 from sfc-gh-ajbeamon/merge-release-6.3-into-master
Merge release 6.3 into master
2021-02-08 17:13:32 -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
A.J. Beamon e8e11d8f6f Fix compiler warning now being treated as error 2021-02-08 14:38:41 -08:00
A.J. Beamon 601a548cfe Revert "Move new config to config.h.cmake"
This reverts commit 2951ebb4e7.
2021-02-08 14:01:02 -08:00
A.J. Beamon be57b70dbb Fix function call where the signature changed 2021-02-08 14:00:47 -08:00
A.J. Beamon 2951ebb4e7 Move new config to config.h.cmake 2021-02-08 13:34:17 -08:00
A.J. Beamon 85ec192169 Remove bad merge line 2021-02-08 13:02:55 -08:00
Russell Sears 1d3e9de82a
Merge pull request #4171 from paulvollmer/fix-sample-golang
Fix sample golang
2021-02-08 13:02:48 -08: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
A.J. Beamon a78cb179e8
Merge pull request #4291 from sfc-gh-ajbeamon/merge-release-6.2-into-release-6.3
Merge release 6.2 into release 6.3
2021-02-08 12:47:50 -08:00
A.J. Beamon 449e4b98b4 Attempt to fix a build warning that's now blocking the compile due to werror. 2021-02-08 12:06:51 -08:00
A.J. Beamon b70c69e099 Address review note that some variables need to be set earlier. 2021-02-08 10:42:07 -08:00
Markus Pilman dd2c7dae35
Merge pull request #4276 from ammolitor/cicd/docker_cleanup_01
cleanup Dockerfile.c7.layered, add distcc
2021-02-08 10:39:34 -07:00
Evan Tschannen 75b64b03a3
Merge pull request #4285 from sfc-gh-ajbeamon/fix-simulator-coordinator-selection
Fix bug in simulated coordinator selection
2021-02-08 09:33:03 -08: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
Alvin Moore ccb6cb554d
Merge pull request #4250 from sfc-gh-mpilman/features/add-jemalloc-boost
Features/add jemalloc boost
2021-02-06 21:05:26 -05:00
Alvin Moore c357b36f9a
Merge pull request #4277 from sfc-gh-mpilman/bugfix/fix-jemalloc-link-order
Fix order of jemalloc libraries
2021-02-06 21:03:55 -05:00
Evan Tschannen 51ac90367f
Merge pull request #4286 from sfc-gh-satherton/fix-reboot-io-error
Simulation bug fix involving process reboot and destruction/recreation of KVSQLite
2021-02-06 18:00:37 -08:00
A.J. Beamon 84be77958e Add a simulator guard 2021-02-05 22:47:49 -08:00
A.J. Beamon 53d8bd5799 If a quorum change has to retry, it's possible that one of our previously chosen coordinators could be rebooting. 2021-02-05 22:36:54 -08:00
A.J. Beamon 5c4863b33e Fix unit test that set coordinators to fake processes that the simulator didn't know about 2021-02-05 22:07:40 -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
A.J. Beamon 618585f9dd Fix a bug in simulated coordinator selection that could allow an unreliable process to be chosen as coordinator despite the intent that this not happen. 2021-02-05 15:59:14 -08:00
Aaron Molitor b1f8e01c92 address PR comments part two, use '-G Ninja' for LLVM build 2021-02-05 16:48:22 -06:00
Aaron Molitor 2d0e655e28 address PR comments part one, configure/install boost, add jemalloc 2021-02-05 16:48:22 -06:00
Aaron Molitor f9c73b66a8 cleanup Dockerfile.c7.layered, add distcc 2021-02-05 16:48:22 -06:00
Trevor Clinkenbeard 2521e74780
Merge pull request #4281 from sfc-gh-ajbeamon/fix-trace-event-name
Fix a trace event name that has a space in it
2021-02-05 14:23:28 -08:00
Chaoguang Lin ae561fcefc Merge branch 'master' of github.com:apple/foundationdb into add-coordinators-into-special-keys 2021-02-05 14:15:50 -08:00
A.J. Beamon e687791b1f
Merge pull request #4280 from apple/revert-4252-feature/4251/cds-reject-requests-from-other-cluster
Revert "CDs reject requests from external cluster or requests need to be forwarded based on an old forward request."
2021-02-05 13:40:05 -08:00
A.J. Beamon f636913f92 Fix a trace event name that has a space in it 2021-02-05 13:37:57 -08:00
A.J. Beamon 5e80e16802
Revert "CDs reject requests from external cluster or requests need to be forwarded based on an old forward request." 2021-02-05 13:05:33 -08:00
Markus Pilman ae04e29af7
Merge pull request #4279 from sfc-gh-anoyes/anoyes/test-external-client
Test external client, and don't link to jemalloc for libfdb_c
2021-02-05 11:26:02 -07:00
Andrew Noyes 46f98c8705
Update fdbserver/CMakeLists.txt
Co-authored-by: Markus Pilman <markus.pilman@snowflake.com>
2021-02-05 08:21:45 -08:00
Chaoguang Lin d185ff3752 update \xff\xff/configuration/coordinators/processes 2021-02-05 00:55:34 -08:00
Andrew Noyes 961950f03a Add dependency to fdb_c 2021-02-05 03:37:52 +00:00
Evan Tschannen 8091d8179d
Merge pull request #4252 from dongxinEric/feature/4251/cds-reject-requests-from-other-cluster
CDs reject requests from external cluster or requests need to be forwarded based on an old forward request.
2021-02-04 17:33:07 -08:00
Andrew Noyes db82da5bc2 Only link to jemalloc in fdbserver
Including jemalloc in libfdb_c seems to be problematic, since it's
apparently not recommended to dlopen jemalloc:
https://github.com/jemalloc/jemalloc/issues/937#issuecomment-311242450
2021-02-05 01:30:31 +00:00
Andrew Noyes 75f8725392 Add test for using an external client 2021-02-05 01:24:45 +00:00
Markus Pilman 9b2bab96f1 add comment explaining the change 2021-02-04 15:39:42 -07:00
Markus Pilman aae947ad0b Fix order of jemalloc libraries
PIC library has to be first
2021-02-04 15:13:41 -07:00
Xin Dong c017b51d66 Fix typo 2021-02-04 13:35:40 -08:00
Andrew Noyes e4a55908ff
Merge pull request #4222 from sfc-gh-mpilman/features/jemalloc
Replace standard malloc with jemalloc
2021-02-04 12:47:29 -08:00
Xin Dong 549e51f7d6 Fix usage of the new knob value. 2021-02-04 12:43:08 -08:00
Markus Pilman 7b489da13b introduce USE_JEMALLOC and some refactoring 2021-02-04 11:53:28 -07:00
Markus Pilman 2c04401e61
Merge pull request #4273 from sfc-gh-anoyes/anoyes/fix-iterator-bugs
Fix bugs turned up by _GLIBCXX_DEBUG
2021-02-04 11:25:39 -07:00
Markus Pilman a880956315 Merge branch 'features/jemalloc' of github.com-work:sfc-gh-mpilman/foundationdb into features/jemalloc 2021-02-04 11:23:18 -07:00