Commit Graph

16328 Commits

Author SHA1 Message Date
Andrew Noyes 9387852fc2 Fix build/memory error
The previous change broke the build intentionally. This fixes it and
also fixes the underlying issue that the previous commit caught.
2021-07-19 14:26:03 -07:00
Zhe Wang 72f5fbc222 Add FDB HA write path doc 2021-07-19 16:15:23 -05:00
Andrew Noyes 459e35f261 Static assert that LiteralStringRef arg is literal string 2021-07-19 14:10:37 -07:00
Jingyu Zhou 0bfe6a9793
Merge pull request #5196 from PierreZ/doc/docker_image
Update documentation to build with docker
2021-07-19 13:37:08 -07:00
Andrew Noyes f0bc23de8b
Merge pull request #5177 from oleg68/master-fix-no-trace-files-in-simulation-test
Fixed 'NoTraceFileGenerated' error in simulation tests when the fdbserver process could not start
2021-07-19 11:22:26 -07:00
Trevor Clinkenbeard caba2ff1ef
Merge pull request #5215 from sfc-gh-satherton/fix-simfdb-cleanup
Simfdb cleanup did not recognize the unittests directory
2021-07-18 12:05:06 -07:00
Steve Atherton 81e83e2830
Update fdbserver/fdbserver.actor.cpp
Co-authored-by: Trevor Clinkenbeard <trevor.clinkenbeard@snowflake.com>
2021-07-18 11:08:27 -07:00
Steve Atherton 13db52f1f2 Changed yield to delay(0) in places that use static counters to avoid trying to yield too often. Bug fixes with lazy delete queue entry heights. 2021-07-18 04:38:42 -07:00
Steve Atherton 294d322c0d Merge branch 'fix-simfdb-cleanup' into redwood-io-priority 2021-07-18 03:08:49 -07:00
Steve Atherton 1af8538727 Simfdb cleanup did not recognize the unittests directory, fixed this and also made the cleanup code a bit cleaner. 2021-07-18 03:06:04 -07:00
Steve Atherton 39eb71f54a Corrections in BTreeCursor event reasons, fixed by BTreeCursor now storing reason as a member because it's much simpler. Some other clang-format changes and a couple of renames. 2021-07-18 03:02:10 -07:00
Steve Atherton 09a8561606 Merge branch 'master' of github.com:apple/foundationdb into redwood-io-priority
# Conflicts:
#	fdbserver/IPager.h
#	fdbserver/VersionedBTree.actor.cpp
2021-07-18 01:49:36 -07:00
Steve Atherton ef1ea75019
Merge pull request #5057 from FuhengZhao/redWoodMetricsEnhancements
Enhanced Redwood metrics to track page level activity by operation of origin.
2021-07-17 13:01:07 -07:00
Markus Pilman 4987055424
Merge pull request #5208 from sfc-gh-satherton/fix-options-dependency
Fix missing dependency of `fdbclient` on generated header(s) from fdb_c.
2021-07-17 12:44:47 -06:00
Markus Pilman 7df38b6b93
Merge pull request #5210 from sfc-gh-satherton/fix-booleans
Rename ::TRUE and ::FALSE in BooleanParams to ::True and ::False
2021-07-17 10:11:54 -06:00
Steve Atherton 89140b0281 Fixed PagerEventReason for BTree writePages(). Renamed enums to start with capital letters to match one of the two styles used throughput the code base (CamelCase or ALLCAPS). 2021-07-17 03:44:00 -07:00
Steve Atherton c7bc79ad45 Merge branch 'fix-booleans' into fuheng/redWoodMetricsEnhancements 2021-07-17 02:10:14 -07:00
Steve Atherton f596a81073 Rename ::TRUE and ::FALSE in BooleanParams to ::True and ::False so as to not conflict with the TRUE and FALSE macros provided by the Windows and MacOS SDKs. 2021-07-17 00:11:40 -07:00
Steve Atherton 709c5a30e8 Merge branch 'fix-options-dependency' into fuheng/redWoodMetricsEnhancements 2021-07-16 23:18:45 -07:00
Steve Atherton 945cf4e668 Added missing dependency of fdbclient on header(s) generated by bindings. 2021-07-16 23:15:08 -07:00
Steve Atherton 2fcc732c2a Merge branch 'master' of github.com:apple/foundationdb into redWoodMetricsEnhancements 2021-07-16 21:06:47 -07:00
Hao Fu a6b22ca976
Merge pull request #5204 from hfu5/m-mt
Setup cycleTest in the same txn
2021-07-16 18:15:07 -07:00
hao fu 492722b719 Setup cycleTest in the same txn
In order to have multiple threads running against same cluster, this has to be done.
2021-07-16 17:23:25 -07:00
Fuheng Zhao f81e8c3d6c change parameter naming 2021-07-16 14:27:53 -07:00
Fuheng Zhao d87e695fba format files 2021-07-16 14:02:59 -07:00
Fuheng Zhao 29d61b708f fix issues 2021-07-16 13:53:30 -07:00
Hao Fu d003e3e5aa
Merge pull request #5197 from hfu5/sb-master
Add SidebandMultiThreadClientTest
2021-07-16 11:41:53 -07:00
Evan Tschannen e1f27e1cc9
Merge pull request #5193 from sfc-gh-etschannen/fix-reply-promise-stream-local-delivery
fix: reply promise streams could receive messages out of order when using local delivery
2021-07-16 11:16:05 -07:00
Daniel Smith 66883e5f1c Disable the RocksDB engine in simulation in restarting tests or when it isn't built 2021-07-16 12:51:38 -04:00
hao fu ba3e6ecb8c Add SidebandMultiThreadClientTest
This test validates causal consistency for multi-threaded client
2021-07-16 09:45:49 -07:00
Daniel Smith 0dbf94db7a Don't use storageEngineExcludeTypes in restarting tests 2021-07-16 12:02:20 -04:00
Daniel Smith 0f99d449fc Revert "Merge pull request #5194 from apple/revert-5144-rocksdb-in-simulation"
This reverts commit 8ecff8c730, reversing
changes made to c8e18f99f0.
2021-07-16 12:01:01 -04:00
Pierre Zemb b5d6464a33
Update documentation to build with docker 2021-07-16 15:12:08 +02:00
Evan Tschannen 03a01d5eb8 Merge branch 'master' of https://github.com/apple/foundationdb into fix-reply-promise-stream-local-delivery 2021-07-15 16:48:17 -07:00
Evan Tschannen 8ecff8c730
Merge pull request #5194 from apple/revert-5144-rocksdb-in-simulation
Revert "RocksDB in simulation"
2021-07-15 16:46:47 -07:00
Evan Tschannen b7b845dab8
Revert "RocksDB in simulation" 2021-07-15 16:41:33 -07:00
Evan Tschannen a5e0e88df8 fix: reply promise streams could receive messages out of order if the sender and receiver were the same process 2021-07-15 15:27:49 -07:00
Chaoguang Lin c8e18f99f0
Merge pull request #5185 from sfc-gh-clin/extend-fdbclient-test-for-multiple-processes
Extend cmake fdbclient_test for multiple processes
2021-07-15 14:34:04 -07:00
Daniel Smith 4c1288faa7
Merge pull request #5144 from Daniel-B-Smith/rocksdb-in-simulation
RocksDB in simulation
2021-07-15 16:00:09 -04:00
Chaoguang Lin 3552080266 Update some comments of the change 2021-07-15 16:38:04 +00:00
Steve Atherton 8b0f03f6e8 CommitSubtree was still doing non-caching reads, this was unintentional. 2021-07-15 09:05:36 -07:00
A.J. Beamon b4d8940bf2
Merge pull request #5175 from sfc-gh-ajbeamon/make-fdbmonitor-ids-section-unique
Make fdbmonitor IDs unique per section rather than globally unique
2021-07-15 11:19:45 -04:00
Chaoguang Lin 4659c028f5 Add test coverage for coordinators command 2021-07-15 08:18:37 +00:00
Chaoguang Lin 07882d809d Add test coverage for exclude command 2021-07-15 07:19:25 +00:00
Chaoguang Lin 5e83281742 Add the option to customize add_fdbclient_test timeout time 2021-07-15 06:55:54 +00:00
sfc-gh-fzhao af881298de
Merge branch 'apple:master' into redWoodMetricsEnhancements 2021-07-14 18:30:55 -07:00
Fuheng Zhao 08463e0a8b rename record_counter to count 2021-07-14 18:22:38 -07:00
Fuheng Zhao 1c7e3f08c2 format the files 2021-07-14 17:26:24 -07:00
Hao Fu c354543f74
Merge pull request #5184 from hfu5/cp2 2021-07-14 19:41:44 -04:00
Fuheng Zhao 126c87923f switch unitmapper to static arry 2021-07-14 16:31:13 -07:00