A.J. Beamon
513e8887dd
Add a new C unit test that uses tenants. Fix simulation issue where resetting a transaction could cause in-flight operations to pick up the simulated default tenant for the next retry. Use the new list tenant JSON format in the tenant management test. Fix missing raw_access option in special key space correctness test.
2022-03-17 12:10:19 -07:00
A.J. Beamon
4079b9f23d
Lazily assign the default tenant in simulated tests so that we can enforce that raw access isn't used on tenant transactions. Update various tests to avoid using raw access or system key access after they have performed other operations on the transaction.
2022-03-17 12:10:19 -07:00
A.J. Beamon
9e39ebd069
Use the new enum name OPTIONAL_TENANT
2022-03-17 12:10:19 -07:00
A.J. Beamon
49064054f6
Use a sentinel key to test if a key selector potentially resolves into the system keyspace.
2022-03-17 12:10:18 -07:00
A.J. Beamon
e339c8f8f2
Fix formatting
2022-03-17 12:10:18 -07:00
A.J. Beamon
0a2135039c
Update the tenant management workload to test special keys and transaction-based management functions
2022-03-17 12:10:18 -07:00
A.J. Beamon
c81c68af4f
Add unknown_tenant error to FuzzApiCorrectness
2022-03-17 12:10:18 -07:00
A.J. Beamon
d0dc756c6d
Allow disabling tenant mode in simulation. Fix a few bugs.
2022-03-17 12:10:18 -07:00
A.J. Beamon
81e8c7c362
Various test fixes to work with tenants.
2022-03-17 12:10:18 -07:00
A.J. Beamon
4b521b38cb
Update various workloads to specify that they are expecting raw access. A couple other raw access related fixes. Disable tenant tests in backup and DR tests for now.
2022-03-17 12:10:18 -07:00
A.J. Beamon
592f31755e
Fixes to the new tenant tests
2022-03-17 12:10:18 -07:00
A.J. Beamon
05495908b8
Implement some tenant tests
2022-03-17 12:10:18 -07:00
Dan Lambright
6e507b8c07
refactor unicast recovery
2022-03-17 12:25:50 -04:00
Andrew Noyes
d39b881045
Avoid a call to VersionedMap::ViewAtVersion::lower_bound ( #6606 )
...
* Avoid a call to VersionedMap::ViewAtVersion::lower_bound in some cases
* Avoid lower_bound in both cases
2022-03-17 09:03:20 -07:00
sfc-gh-tclinkenbeard
44b0e05538
Merge remote-tracking branch 'origin/main' into arena-get-size-boolean-param
2022-03-16 22:53:30 -07:00
sfc-gh-tclinkenbeard
56026b5b6f
Merge remote-tracking branch 'origin/main' into global-tag-throttling2
2022-03-16 22:29:43 -07:00
sfc-gh-tclinkenbeard
c4bc35da09
Merge remote-tracking branch 'origin/main' into fix-includes
2022-03-16 22:29:18 -07:00
Evan Tschannen
a0ba3f73f8
Merge pull request #6619 from sfc-gh-ajbeamon/storage-cache-request-handling
...
Update the storage cache to handle all requests types
2022-03-16 17:37:24 -07:00
sfc-gh-tclinkenbeard
0ae9ba5fd0
Add FastInaccurateEstimate boolean parameter for Arena::getSize
2022-03-16 16:54:27 -07:00
Evan Tschannen
f28dfc12b2
Merge pull request #6484 from kakaiu/adaptive-fetchKey
...
Quick fix fetchKeys
2022-03-16 15:06:22 -07:00
A.J. Beamon
31bd9c8b3e
Use the new name for mapped key values requests
2022-03-16 15:05:06 -07:00
A.J. Beamon
052220f8ab
Update the storage cache to handle all requests types. Most assert false, one is updated to send a broken_promise as a workaround to the fact that we do expect some requests to go there.
2022-03-16 14:57:53 -07:00
sfc-gh-tclinkenbeard
320c115c71
Apply clang-format to mis-formatted files
2022-03-16 14:25:32 -07:00
sfc-gh-tclinkenbeard
0e7dc83f25
Fix compilation issues with ModelInterface construction in configuration database code
2022-03-16 14:25:32 -07:00
sfc-gh-tclinkenbeard
58de6e22cc
Add BalanceOnRequests boolean parameter for ModelInterface
2022-03-16 14:25:32 -07:00
sfc-gh-tclinkenbeard
1ab18aae6a
Fix calls to DDTeamCollection::addTeam
2022-03-16 14:21:58 -07:00
sfc-gh-tclinkenbeard
62f547ff6e
Add line before actorcompiler.h include (to prevent IDE from reordering includes)
2022-03-16 14:15:48 -07:00
sfc-gh-tclinkenbeard
71976e51c5
Merge remote-tracking branch 'origin/main' into global-tag-throttling2
2022-03-16 13:53:46 -07:00
sfc-gh-tclinkenbeard
faecd8a8f8
Merge remote-tracking branch 'origin/main' into global-tag-throttling2
2022-03-16 13:45:23 -07:00
Trevor Clinkenbeard
765e018afb
Merge pull request #6580 from sfc-gh-tclinkenbeard/const-smoother
...
Mark `Smoother::smooth*` methods `const`
2022-03-16 13:43:25 -07:00
Zhe Wang
73fd5c01ae
quick-fix-fetch-key
2022-03-16 16:39:35 -04:00
sfc-gh-tclinkenbeard
eaa699c203
Merge remote-tracking branch 'origin/main' into ddteamcollection-boolean-param
2022-03-16 13:38:28 -07:00
sfc-gh-tclinkenbeard
1aabbb07d2
Add missing copyright headers
2022-03-16 11:25:02 -07:00
Trevor Clinkenbeard
10c536c700
Merge pull request #6435 from sfc-gh-ljoswiak/fixes/dynamic-knobs-release-readiness
...
Dynamic knobs improvements
2022-03-16 10:26:56 -07:00
Lukas Joswiak
c3e48fff9f
Update fdbserver/PaxosConfigConsumer.actor.cpp
...
Co-authored-by: Trevor Clinkenbeard <trevor.clinkenbeard@snowflake.com>
2022-03-16 08:59:12 -07:00
sfc-gh-tclinkenbeard
66d71e107d
Move actorcompiler.h include to the end of includes
2022-03-16 00:09:16 -07:00
Jingyu Zhou
42219a45a5
Merge pull request #6588 from jzhou77/version-vector
...
Fix a rare race with version vector cache
2022-03-15 19:57:16 -07:00
Trevor Clinkenbeard
cd5247b377
Merge pull request #6608 from xis19/dataDistribution
...
Fix the includes in DataDistribution.actor.cpp
2022-03-15 19:53:43 -07:00
Xiaoge Su
cbd381778e
Fix the includes in DataDistribution.actor.cpp
...
Update the comment to re-trigger failed checks
2022-03-15 18:05:55 -07:00
Steve Atherton
59762fc784
Merge pull request #6423 from sfc-gh-satherton/redwood-bug-fixes-and-memory-leak
...
Redwood memory usage and small memory leak fixes
2022-03-15 16:52:28 -07:00
Dan Lambright
b529801407
Respond to Jingyu's comments
2022-03-15 19:17:54 -04:00
Xiaoxi Wang
22040583aa
Merge pull request #6596 from sfc-gh-xwang/ppw-getteam
...
Deprioritize seleting team in the wiggle paused state
2022-03-15 14:26:47 -07:00
Jingyu Zhou
2acc222d9a
Detect stale GRV proxy replies
...
Each GetReadVersionReply now has the GRV proxy ID that sent it so that the
client can detect old GRV proxy's replies and avoid apply stale version vector
changes.
2022-03-15 14:23:07 -07:00
A.J. Beamon
7464c7747c
Merge pull request #6600 from sfc-gh-ajbeamon/add-tenant-support-back-to-mapped-range
...
Add tenant support back to mapped range requests
2022-03-15 13:46:32 -07:00
Evan Tschannen
2c88a189a9
more pruning bug fixes
2022-03-15 13:34:59 -07:00
Evan Tschannen
d46e551f11
merge
2022-03-15 13:09:10 -07:00
He Liu
c3a68d661e
Physical Shard Move ( #6264 )
...
Physical Shard Move part I: Checkpoint creation, transfer and restore.
2022-03-15 13:03:23 -07:00
Josh Slocum
ce5b567971
Cleanup the cleanup
2022-03-15 15:02:28 -05:00
A.J. Beamon
a04934465c
Add tenant support back to mapped range requests. Fix ACTOR warning.
2022-03-15 12:41:08 -07:00
A.J. Beamon
e8077b65e1
Merge pull request #6559 from sfc-gh-ajbeamon/fdb-tenant-client
...
Add client support for tenants
2022-03-15 12:40:17 -07:00