Jon Fu
04f709c7cb
Merge branch 'main' of github.com:apple/foundationdb into tenant-restarting-tests
2022-10-19 14:30:55 -07:00
Jingyu Zhou
0872cbfb2f
Fix a test timeout ( #8488 )
...
* Fix a test timeout due to buggified knob MAX_WRITE_TRANSACTION_LIFE_VERSIONS
The buggified knob MAX_WRITE_TRANSACTION_LIFE_VERSIONS can be only 1M. In some
tests, this transaction always end up commitVersion - readVersion is a little
above 1M, thus always getting transaction_too_old error.
* Change MAX_COMMIT_BATCH_INTERVAL instead
So that the master may give out versions fast enough.
* Fix an assertion failure in a unit test
48125>>8 = 187, 48125 = 0xbbfd
48128>>8 = 188, 48128 = 0xbc00
So if 48125 is chosen as the index, 48128 changes the higher order byte.
48125 & 0xff7f = 47997 = 0xbb7d. Thus +5 won't change the higher order byte.
2022-10-19 09:45:56 -07:00
Markus Pilman
180238076c
Fix HighContentionPrefixAllocatorWorkload and make untrusted argument to workload factory type safe
2022-10-14 09:51:49 -06:00
Jon Fu
2c0f936740
Merge branch 'main' of github.com:apple/foundationdb into tenant-restarting-tests
2022-10-11 12:41:03 -07:00
Jon Fu
3c7d17e2bb
work in progress commit for defaulttenant in restarting tests
2022-10-11 12:40:36 -07:00
Markus Pilman
23edfd0d59
Fix formatting
2022-10-04 18:33:30 -06:00
Markus Pilman
550488b020
Merge remote-tracking branch 'origin/main' into bugfixes/open-for-ide
...
# Conflicts:
# bindings/c/CMakeLists.txt
# fdbclient/include/fdbclient/GetEncryptCipherKeys.actor.h
# fdbserver/BackupWorker.actor.cpp
# fdbserver/BlobWorker.actor.cpp
# fdbserver/CommitProxyServer.actor.cpp
# fdbserver/KeyValueStoreMemory.actor.cpp
# fdbserver/StorageCache.actor.cpp
# fdbserver/include/fdbserver/GetEncryptCipherKeys.actor.h
# fdbserver/storageserver.actor.cpp
# fdbserver/workloads/PhysicalShardMove.actor.cpp
# flow/CMakeLists.txt
2022-10-04 18:27:48 -06:00
Markus Pilman
97dfc6823f
fixed build with OPEN_FOR_IDE
2022-10-04 17:01:02 -06:00
sfc-gh-tclinkenbeard
fec791be62
Merge remote-tracking branch 'origin/main' into split-failure-injection-workloads
2022-09-30 18:00:48 -07:00
Nim Wijetunga
90ce4053f4
Repair Dead Data Center Outside Quiet Database ( #8359 )
...
* fix snap test
* repair dead data center
2022-09-30 13:59:02 -07:00
sfc-gh-tclinkenbeard
2434f18c5c
Enable failure injection for all simulation tests
2022-09-29 14:14:24 -07:00
A.J. Beamon
c8bb15e8ee
Merge pull request #8216 from sfc-gh-ajbeamon/backup-support-for-tenants
...
Include tenant and metacluster metadata in backups
2022-09-28 12:00:24 -07:00
Nim Wijetunga
251afa3610
Set g_simulator fields for restart tests ( #8318 )
...
* fix tests
* fix tenant concurrency
* Set g_simulator variables for restart tests
* fix machine attrition for restarting
2022-09-28 10:09:26 -07:00
Hui Liu
c9b4fc5761
disallow MoveKeysWorkload running in parallel
2022-09-22 17:00:01 -07:00
A.J. Beamon
fda0d7223d
Update backup to include system key ranges needed for tenants. Run simulated backup tests with tenants.
2022-09-22 10:00:13 -07:00
sfc-gh-tclinkenbeard
715b58686d
Fix CompoundWorkload::check method
2022-09-20 20:55:36 -07:00
Trevor Clinkenbeard
3b5117ca92
Merge pull request #8233 from sfc-gh-mpilman/features/disable-failure-injection-for-workload
...
All workloads to disable some failures
2022-09-20 16:17:35 -07:00
Hui Liu
428ecc679f
pass dbInfo to compond workload
2022-09-20 08:31:14 -07:00
Markus Pilman
62ac01b481
All workloads to disable some failures
2022-09-19 16:42:55 -06:00
A.J. Beamon
4fd64630e8
Convert literal string ref instances to use _sr suffix
2022-09-19 11:35:58 -07:00
Markus Pilman
028a5dcb77
by default, add a failure injection workload at most 3 times
2022-09-19 09:42:34 -06:00
Markus Pilman
e1627e0a78
Merge remote-tracking branch 'origin/main' into features/always-inject-faults
2022-09-19 09:38:55 -06:00
Markus Pilman
9441795c8e
address review comments
2022-09-16 14:40:10 -06:00
sfc-gh-tclinkenbeard
82adc1e856
Make g_simulator a pointer
2022-09-15 09:00:33 -07:00
Markus Pilman
3e31820078
fix compilation issues
2022-09-13 10:29:29 -06:00
Markus Pilman
389ea4c952
added additional workloads
2022-09-12 17:16:32 -06:00
Markus Pilman
acd24d6c81
Merge remote-tracking branch 'origin/main' into features/always-inject-faults
2022-09-12 16:44:16 -06:00
Junhyun Shim
3023096962
Add a knob to allow token-less tenant data access for untrusted clients
2022-09-08 14:53:01 +02:00
Dennis Zhou
80a0816157
flow: switch from hard coded to ApiVersion like ProtocolVersion ( #8071 )
...
* flow: add ApiVersion to replace hard coding api version
Instead of hard coding api value, let's rely on feature versions akin to
ProtocolVersion.
* ApiVersion: remove use of -1 for latest and use LATEST_VERSION
2022-09-02 09:28:13 +02:00
Markus Pilman
180024b76d
implemented testClass and testPriority
2022-08-22 09:57:44 -06:00
Markus Pilman
69744ffdcb
disable new failure injection
2022-08-08 14:39:21 -06:00
Markus Pilman
f716dfd772
Merge remote-tracking branch 'origin/main' into features/always-inject-faults
2022-08-05 10:56:12 -06:00
Markus Pilman
abf136bbfe
don't do failure injection during SaveAndKill
2022-08-05 10:53:17 -06:00
Markus Pilman
2f7e6ee278
don't do failure injection for change config and quiescence tests
2022-08-03 17:04:06 -06:00
Markus Pilman
31f05f2fdf
Separated normal workloads and failure injection
...
Also first implementation with machine attrition
2022-08-02 17:04:02 -06:00
A.J. Beamon
a69164d160
Merge branch 'main' into feature-metacluster
2022-07-29 11:53:06 -07:00
Nim Wijetunga
3e45b6657c
Merge pull request #7714 from sfc-gh-nwijetunga/nim/tenant-encryption-property
...
Encryption as a tenant property
2022-07-29 11:30:19 -07:00
A.J. Beamon
e8e4f3ad3a
Merge branch 'main' into feature-metacluster
...
# Conflicts:
# fdbclient/include/fdbclient/Tenant.h
2022-07-28 16:53:29 -07:00
Junhyun Shim
c6342a6e5b
Merge branch 'main' into features/authz
2022-07-27 20:51:32 +02:00
A.J. Beamon
7c6b3fb0b8
Merge branch 'main' into feature-metacluster
2022-07-27 08:55:10 -07:00
Nim Wijetunga
50391c35b1
Merge branch 'main' of github.com:sfc-gh-nwijetunga/foundationdb into nim/tenant-encryption-property
...
* 'main' of github.com:sfc-gh-nwijetunga/foundationdb: (42 commits)
Get ShardedRocks ready for simulation test. (#7679 )
fixing specific unit test
formatting
addressing review comments
Fix incorrect deserialization of FdbClientLogEvents::Event (#7707 )
Fix a crash bug during CC shutdown process (#7705 )
addressing review comments
remove runAfter
Add comments explaining the use of the TransactionState tenant() and hasTenant() functions
Make sure resumeFromDataMoves() starts after resumeFromShards().
Fix: during recovery, it was possible for tenant operations to briefly fail because the tenant mode is not known
formatting
Fixed granule purging bug and improved debugging for purging
making purge failures fail test
cleanup and polish
Bug fix and cleanup
First version of key-sorted delta files
Added full granule read unit test
Completed delta format unit test
delta file test and delta generation
...
2022-07-27 08:13:30 -07:00
A.J. Beamon
dec6dbfbfb
Merge pull request #7549 from sfc-gh-ajbeamon/feature-tenant-groups
...
Add support for tenant groups
2022-07-27 07:56:27 -07:00
Junhyun Shim
e2a3fedfc7
Merge branch 'main' into features/authz
2022-07-27 00:08:57 +02:00
Nim Wijetunga
7cc58cb1af
fix pr issues
2022-07-26 10:14:59 -07:00
A.J. Beamon
a64693518a
Add support for tenant groups
2022-07-26 09:04:29 -07:00
Nim Wijetunga
26d233c0f8
encryption as a tenant property
2022-07-25 17:19:14 -07:00
A.J. Beamon
237081905d
Add support for tenant groups
2022-07-22 09:27:31 -07:00
Josh Slocum
3f8f44dd16
Merge branch 'main' into improved_cf_testing
2022-07-20 08:19:52 -05:00
A.J. Beamon
860d3843cc
Merge remote-tracking branch 'origin/feature-tenant-groups' into feature-metacluster
2022-07-16 19:33:26 -07:00
A.J. Beamon
c08592368f
Add support for tenant groups
2022-07-15 21:18:41 -07:00