322 Commits

Author SHA1 Message Date
Evan Tschannen
b7b845dab8
Revert "RocksDB in simulation" 2021-07-15 16:41:33 -07:00
Daniel Smith
ac46992120 Add warn trace event about non-determinism 2021-07-13 12:25:11 -04:00
Daniel Smith
0613ff892f Enable RocksDB in simulation 2021-07-13 12:25:11 -04:00
sfc-gh-tclinkenbeard
3d0536dcec Improve safety of backup agent poll delay 2021-07-05 13:22:31 -07:00
Evan Tschannen
fcb8bd6475
Revert "Make the sim2 run loop match the behavior of the net2 run loop." 2021-06-22 14:50:01 -07:00
Evan Tschannen
154332a94b Merge branch 'master' of https://github.com/apple/foundationdb into feature-sim-time-batching
# Conflicts:
#	fdbserver/VersionedBTree.actor.cpp
2021-06-22 09:37:40 -07:00
Markus Pilman
c47644f055
Merge pull request #5012 from sfc-gh-jfu/jfu-configure-sim-cluster
Modularize generateNormalConfig code to improve readability
2021-06-21 15:02:57 -06:00
Jon Fu
c0a9ad6c9e fix signatures and missing references 2021-06-18 14:54:33 -04:00
Jon Fu
666305dabe remove broken include 2021-06-18 14:43:21 -04:00
Jon Fu
f23d2bd603 factor out chunks of generateNormalConfig for readability and modularization 2021-06-18 14:35:51 -04:00
sfc-gh-tclinkenbeard
826e70916c Merge remote-tracking branch 'origin/master' into config-db 2021-06-17 09:47:41 -07:00
Jon Fu
83c703d10b Merge branch 'master' of github.com:apple/foundationdb into jfu-configure-sim-cluster 2021-06-16 16:58:43 -04:00
Jon Fu
90be55537c initial commit 2021-06-16 16:58:32 -04:00
Markus Pilman
05aea49d16
Merge pull request #4986 from sfc-gh-mpilman/bugfixes/double-ss
Bugfixes/double ss
2021-06-16 14:43:32 -06:00
Markus Pilman
9a24a57007 refactor templates to make them more readable and reusable 2021-06-16 10:46:21 -06:00
Markus Pilman
56eaf1bc83 added comments 2021-06-15 16:49:27 -06:00
Markus Pilman
c6f47c1f15 Fixed segfault with simple mode 2021-06-15 16:00:19 -06:00
sfc-gh-tclinkenbeard
41c790b299 Merge remote-tracking branch 'origin/master' into config-db 2021-06-10 22:31:23 -07:00
sfc-gh-tclinkenbeard
13ee24f464 Add UseConfigDB class 2021-06-10 20:57:50 -07:00
Josh Slocum
59726545a4 TSS downgrade changes 2021-06-10 19:30:45 +00:00
Evan Tschannen
08a5f17660 Merge branch 'master' of https://github.com/apple/foundationdb into feature-sim-time-batching
# Conflicts:
#	fdbserver/DataDistribution.actor.cpp
2021-06-08 10:04:06 -07:00
sfc-gh-tclinkenbeard
743691f3cd Disable configuration database in simulation by default 2021-06-06 09:00:00 -07:00
Xiaoxi Wang
838d847d4e
Merge pull request #4860 from sfc-gh-xwang/ppwtest
implement perpetual storage wiggling feature
2021-06-04 16:18:39 -07:00
Josh Slocum
aca3941519 found bug in detecting first test in restart 2021-06-02 20:40:00 +00:00
sfc-gh-tclinkenbeard
a775f92fca Merge remote-tracking branch 'origin/master' into config-db 2021-06-01 15:39:34 -07:00
Xiaoxi Wang
8b9c8b33fc manually merge with master 2021-06-01 17:51:42 +00:00
Josh Slocum
d67184163b
Merge pull request #4556 from sfc-gh-jslocum/tss
Testing Storage Server
2021-06-01 09:11:10 -07:00
A.J. Beamon
d35da1aeae
Merge pull request #4873 from sfc-gh-ajbeamon/close-files-in-simulation
Actually close files in simulation
2021-05-28 15:32:10 -07:00
Dan Lambright
60d27d05d8 add knob enabling cross cluster support (default true) 2021-05-27 08:08:07 -04:00
Dan Lambright
065c4fdd5a issue 4252 2021-05-27 08:08:07 -04:00
A.J. Beamon
a756469670 Use a weak reference in the open files cache (abstracted from a similar cache in AsyncFileCached) to avoid a problem where removing an item from the cache could cause us to reentrantly remove it again. 2021-05-26 13:38:24 -07:00
Josh Slocum
d68cb9b048 Changing role names and enabling tss by default in consistency check 2021-05-25 22:21:43 +00:00
Xiaoxi Wang
51b402fa04 simulation setting 2021-05-25 21:29:25 +00:00
Josh Slocum
4257ac2b4d More TSS Changes/Fixes 2021-05-25 20:37:48 +00:00
Josh Slocum
ce82c9653e Testing Storage Server implementation 2021-05-25 20:28:50 +00:00
Xiaoxi Wang
f11b7ffa5f merge master, fix promise callback bug 2021-05-25 18:43:08 +00:00
Markus Pilman
64608fe86b allow simulation properties to be overwritten 2021-05-20 13:48:41 -06:00
Evan Tschannen
f57f0d64f4 Merge branch 'master' into feature-sim-time-batching
# Conflicts:
#	fdbserver/DataDistribution.actor.cpp
2021-05-20 09:09:35 -07:00
sfc-gh-tclinkenbeard
fcc6efd3b1 Add .cluster.configuration status json field 2021-05-18 10:47:16 -07:00
sfc-gh-tclinkenbeard
0dd11cb2f6 Added --ignore_config_db and --use_test_config_db command line arguments 2021-05-17 19:14:32 -07:00
sfc-gh-tclinkenbeard
4b848867f9 Break down configuration database unit tests and fix some more bugs 2021-05-16 23:16:08 -07:00
sfc-gh-tclinkenbeard
9c844916d8 Create new ConfigKnobOverrides and ManualKnobOverrides classes 2021-05-12 10:12:37 -07:00
sfc-gh-tclinkenbeard
7681f38f45 Add config_classes command line option for fdbserver 2021-05-11 18:23:33 -07:00
Evan Tschannen
a02da36e85 fixed the problem with the GrvProxyClass the proper way my keeping the enum the same between versions 2021-04-26 18:45:44 -07:00
Evan Tschannen
5279512097 the enum values changed so the master class in the previous version is the same as GrvProxyClass now 2021-04-26 18:06:25 -07:00
Evan Tschannen
f1559a2203 use the stateless process class instead of master or resolution in simulation because it is the recommended process class, and the others are not deterministic when recruited in a constrained process situation 2021-04-26 09:49:26 -07:00
Jon Fu
2a64c227fb Added options to test config that specify maxtlogversion and array of excluded storage engine types 2021-04-07 15:59:51 -04:00
Markus Pilman
ce8fce94c8
Merge pull request #4596 from sfc-gh-etschannen/fix-starting-config
Fixed simulations which timeout setting starting configuration
2021-03-31 10:31:28 -06:00
Evan Tschannen
e774262046 fix: g_simulator.disableRemote did not contain the rest of the configuration 2021-03-30 21:11:26 -07:00
Jon Fu
9fd3c559c2 Added some missing comments for structs 2021-03-23 17:24:00 -04:00