Commit Graph

18163 Commits

Author SHA1 Message Date
Russell Sears d332d03b34 Have individual YCSB containers record completion of their phase of the load. This allows loads to succeed even if the fdb-kubernetes-tests client crashes out mid run 2021-11-19 14:33:23 -08:00
A.J. Beamon 3f409bff7a
Merge pull request #6028 from rajivr/binding-tester-docs
docs: Clarify that `"ERROR"` is a byte string
2021-11-19 08:37:58 -08:00
Steve Atherton 3901d60548 Test-only bug fixes in Redwood along with debug logging detail improvements. Added clearRemapQueue() to Pager to more cleanly and reliably expire all old data and process the remap queue, fixing a bug where with certain configuration parameters and a lot of data the DestructiveSanityCheck would fail because it would not run cleanup long enough. Added more parameters to performance/set unit test. 2021-11-19 01:00:14 -08:00
Trevor Clinkenbeard 3d0ed2083c
Merge pull request #6000 from sfc-gh-tclinkenbeard/setup-flow-knobs
Setup global flow knobs in `setupNetwork`
2021-11-18 19:30:26 -08:00
Trevor Clinkenbeard 8bbde5185c
Merge pull request #5884 from sfc-gh-tclinkenbeard/add-format-warning
Enable clang -Wformat warning
2021-11-18 19:30:11 -08:00
Rajiv Ranganath ad56935216 docs: Clarify that `"ERROR"` is a byte string
`string` can be ambiguous as `Tuple` layer supports both `byte string`
and unicode `string`.

Signed-off-by: Rajiv Ranganath <rajiv.ranganath@atihita.com>
2021-11-19 06:11:04 +05:30
Renxuan Wang 22e34bd6b9 Replace <boost/bind.hpp> with <boost/bind/bind.hpp>.
This eliminates many useless warnings when compiling.
`#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.`
2021-11-18 14:00:13 -08:00
Andrew Noyes 39b33bce90
Merge pull request #6020 from apple/anoyes/multiversion-package
Don't adduser in client postinstall
2021-11-18 12:15:48 -08:00
sfc-gh-tclinkenbeard 0532fbfb8b Merge remote-tracking branch 'origin/master' into setup-flow-knobs 2021-11-18 12:09:15 -08:00
sfc-gh-tclinkenbeard c745002607 Merge remote-tracking branch 'origin/master' into add-format-warning 2021-11-18 11:13:03 -08:00
Andrew Noyes 71fa5e86b9 Don't adduser in client postinstall 2021-11-18 10:52:37 -08:00
Lukas Joswiak 18243351e7 Fix possible data race
Transactions (created on a separate thread) can read the `globals` field
at the same time as `setGlobal` is called on the main thread, causing a
potential race. TSAN surfaced this issue.
2021-11-18 10:16:20 -08:00
Evan Tschannen 5879d611f5
Merge pull request #5899 from sfc-gh-jfu/jfu-fix-ss-segfault
Fix rare segfault that can occur when SS terminates while an actor that uses the StorageServer is still on the stack
2021-11-18 09:57:11 -08:00
sfc-gh-tclinkenbeard 2613ec7561 Expand use of fmt to get rid of %ld usage 2021-11-17 17:03:32 -08:00
Aaron Molitor 124e7eb4f2 refactor docker directory
- make release images ALL based from centos:7
- keep eks images that are based from amazonlinux:2, but create strong alignment with release (centos7) images
- use multi-stage Dockerfile(s)
- have a single build-images script
- remove per image directories (which would only contain scripts that are copied into images)
- remove empty requirements.txt file for sidecar.py (the pip command, package and version are in the Dockerfile)
- don't copy docker into PROJECT_BINARY_DIR
- incorporate latest changes already in master
2021-11-17 16:29:07 -08:00
Tao Lin 9a07a117d2
Not warn on constant-logical-operand when compile with clang (#5990) 2021-11-17 16:23:20 -08:00
sfc-gh-tclinkenbeard 07349869d9 Use fmt to address -Wformat warnings 2021-11-17 14:45:48 -08:00
sfc-gh-tclinkenbeard 766a05d33c Merge remote-tracking branch 'origin/master' into add-format-warning 2021-11-17 12:14:01 -08:00
John Brownlee 01c37a053a
Merge pull request #5993 from brownleej/new-image-fixes
Updates to fdb-kubernetes-monitor to ease integration with the Kubernetes operator
2021-11-17 11:56:19 -08:00
Steve Atherton 874c418459
Merge pull request #5217 from sfc-gh-ngoyal/bit-flipping-workload
Chaos workloads
2021-11-17 10:45:36 -08:00
Steve Atherton 6db71241eb Merge branch 'bit-flipping-workload' of github.com:sfc-gh-ngoyal/foundationdb into bit-flipping-workload 2021-11-17 10:00:16 -08:00
Steve Atherton 8a6df5c31c Remove unsupported .clang-format setting. 2021-11-17 09:59:38 -08:00
negoyal 8b0938c7b3 Added a TODO 2021-11-17 09:45:50 -08:00
Steve Atherton 3caca74ac2 Merge commit 'fd707c6d7ee80de6d9fda5796da2d0add10abd79' into bit-flipping-workload 2021-11-16 21:54:27 -08:00
Steve Atherton 80031e4ae6 Make DiskFailureCycle test do less work so valgrind tests finish faster. 2021-11-16 21:15:42 -08:00
Tao Lin fd707c6d7e
Tests for "Restricted getRangeAndFlatMap to snapshot #5978" (#5980) 2021-11-16 19:44:35 -08:00
negoyal 867ad8be46 Merge branch 'bit-flipping-workload' of github.com:sfc-gh-ngoyal/foundationdb into bit-flipping-workload 2021-11-16 18:12:18 -08:00
Steve Atherton 6e43dde613 Fixed bad merge resolution. 2021-11-16 18:04:37 -08:00
Markus Pilman b2019cd4f2
Merge pull request #5992 from sfc-gh-mpilman/features/fmt
added fmt dependency to flow
2021-11-16 18:58:55 -07:00
Renxuan Wang 725d31e264 Fix parameters passes to simulatedMachine(). 2021-11-16 17:50:12 -08:00
negoyal ce112e1f23 Enhance trace event. 2021-11-16 17:39:59 -08:00
Lukas Joswiak fc08313925 Use path relative to Python binary 2021-11-16 16:36:44 -08:00
Lukas Joswiak 8d4ec8562d Move generated versions.target file to build directory 2021-11-16 16:36:44 -08:00
Jon Fu 8f6934c4d0 Merge branch 'master' of github.com:apple/foundationdb into jfu-fix-ss-segfault 2021-11-16 18:03:32 -05:00
Evan Tschannen 557186ed17
Merge pull request #5909 from sfc-gh-jfu/jfu-cc-request-dbinfo
Change dbinfo broadcast to be explicitly requested by the worker registration message
2021-11-16 15:01:42 -08:00
Steve Atherton 035e0d6e52
Merge branch 'master' into bit-flipping-workload 2021-11-16 14:42:22 -08:00
Jingyu Zhou 8d6cfcb630
Merge pull request #6003 from sfc-gh-etschannen/fix-forwarding
fix: coordinators would process forwarding requests before making them durable
2021-11-16 14:24:21 -08:00
sfc-gh-tclinkenbeard e04526b345 Allow knobs to be set via network options before network is setup 2021-11-16 13:47:37 -08:00
Evan Tschannen 35bce4cd36 added a comment 2021-11-16 13:07:35 -08:00
Evan Tschannen fd635432c4 fix: coordinators would process forwarding requests before making them durable 2021-11-16 12:21:26 -08:00
Steve Atherton 4ae27a2a71
Merge pull request #5996 from sfc-gh-satherton/redwood-rename-v1
Rename redwood to mark it as v1 and some small tweaks.
2021-11-16 11:21:43 -08:00
Markus Pilman b1633b90f1 Added fmt to flow 2021-11-16 12:03:49 -07:00
sfc-gh-tclinkenbeard 8ae49c18eb Add assertion to IKnobCollection::setGlobalKnobCollection 2021-11-16 10:41:46 -08:00
sfc-gh-tclinkenbeard 3b1ae39403 Add CLIOptions::setupKnobs method 2021-11-16 10:39:22 -08:00
Steve Atherton 76f0323873 Add missing declaration of test file. 2021-11-16 04:27:58 -08:00
Steve Atherton 21c3c585ca Make file name parameter more user friendly in unit tests. 2021-11-16 04:03:11 -08:00
Steve Atherton 867999a41a Rename wrong_format_version to unsupported_format_version. 2021-11-16 03:25:54 -08:00
Steve Atherton 7b29804a5e Fix typo. 2021-11-16 02:30:57 -08:00
Steve Atherton c53f5aa110 Renamed redwood to redwood-1-experimental and file extension to .redwood-v1. 2021-11-16 02:15:22 -08:00
sfc-gh-tclinkenbeard deb0eb85e8 Initialize global flow knobs in setupNetwork 2021-11-16 00:41:34 -08:00