Commit Graph

16338 Commits

Author SHA1 Message Date
Markus Pilman 8f6b048e22 fix macOS build 2021-07-20 11:52:57 -06:00
sfc-gh-tclinkenbeard 6f81155784 Merge remote-tracking branch 'origin/master' into const-serverdbinfo 2021-07-20 10:18:40 -07:00
Evan Tschannen 5c9a38e526
Merge pull request #5198 from Daniel-B-Smith/rocksdb-simulation-roll-forward
Roll forward: RocksDB in Simulation
2021-07-20 09:33:11 -07:00
Zhe Wang f9254849b4
Merge pull request #5223 from kakaiu/add_FDB_HA_write_path_doc
Add FDB HA write path doc
2021-07-20 11:00:17 -05:00
Andrew Noyes 059ff9b9ad
Merge pull request #5226 from apple/anoyes/assert-literal-string
Static assert that LiteralStringRef arg is literal string
2021-07-19 17:00:30 -07:00
Steve Atherton 80ac791dcf
Priority for commit reads should be == height. 2021-07-19 15:58:38 -07:00
Steve Atherton 275089a9a9
Bug fix, setting var to itself. 2021-07-19 15:16:43 -07:00
Steve Atherton b3cc2beaab
Documentation fix. 2021-07-19 15:10:01 -07:00
Andrew Noyes ebc3368936 Don't include null terminator 2021-07-19 14:54:29 -07:00
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
A.J. Beamon 39af41ebb7 Closing a multi-version database causes us to cancel the protocol version monitor, invalidating its future. If a version change is triggered after that happens, then an assertion will be triggered that expects the future to be valid.
This changes the behavior so that closing the database prevents us from doing any work to update the version.
2021-07-19 11:01:09 -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