Commit Graph

18833 Commits

Author SHA1 Message Date
A.J. Beamon 4aa053d342 Update tenant mode options in fdbcli 2022-03-17 12:10:39 -07:00
A.J. Beamon f8cddd3842 Add fdbcli support for tenants 2022-03-17 12:10:39 -07:00
A.J. Beamon dc72f15a09
Merge pull request #6625 from sfc-gh-ajbeamon/disable-unseed-check-in-nosim
Non-simulated test harness runs don't check the unseed
2022-03-17 12:09:14 -07:00
A.J. Beamon 00277140ec Non-simulated test harness runs don't check the unseed. 2022-03-17 11:09:14 -07: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
Trevor Clinkenbeard 6f57935eb4
Merge pull request #6611 from sfc-gh-tclinkenbeard/fix-includes
Move actorcompiler.h include to the end of includes
2022-03-17 08:08:45 -07:00
sfc-gh-tclinkenbeard c4bc35da09 Merge remote-tracking branch 'origin/main' into fix-includes 2022-03-16 22:29:18 -07:00
Steve Atherton 34cd80818b
Merge pull request #6622 from sfc-gh-satherton/fix-arena-size-test
Fix arena size test failure on GCC
2022-03-16 20:13:33 -07:00
Steve Atherton 6cef85e268 Change assertions to not rely on the first argument being evaluated before the second. 2022-03-16 19:00:26 -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
A.J. Beamon 14c5c78f8f
Merge pull request #6594 from sfc-gh-almiller/monitored-metrics
[doc] Add "Monitored Metrics" page to the docs.
2022-03-16 15:47:00 -07:00
A.J. Beamon 61468dab6d Significantly lower the expected rate in the cache test 2022-03-16 15:26:43 -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 62f547ff6e Add line before actorcompiler.h include (to prevent IDE from reordering includes) 2022-03-16 14:15:48 -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
Andrew Noyes ccc11cbdb2
Apply jemalloc fix, and always build jemalloc (#6610)
* Apply jemalloc fix, and always build jemalloc

See https://github.com/jemalloc/jemalloc/pull/1924

* Move USE_JEMALLOC to flow/config.h

* Add unit test to validate fix
2022-03-16 13:19:28 -07:00
A.J. Beamon 2df52c6eba
Merge pull request #6617 from sfc-gh-ajbeamon/fix-rocksdb-clang-simulation
Fix disablement of rocksdb tests in simulation
2022-03-16 13:17:32 -07:00
A.J. Beamon 6eca71832a Fix disablement of rocksdb tests in simulation 2022-03-16 12:07:03 -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
A.J. Beamon 5466253790
Merge pull request #6609 from liquid-helium/avoid-physical-shard-move-test
Skip PhysicalShardMoveTest if RocksDB is not enabled.
2022-03-16 09:29:49 -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
Vaidas Gasiunas f4bb82ad56
Merge pull request #6433 from sfc-gh-vgasiunas/vgasiunas-system-tester
A framework for C API tests
2022-03-16 10:49:52 +01:00
sfc-gh-tclinkenbeard 66d71e107d Move actorcompiler.h include to the end of includes 2022-03-16 00:09: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
He Liu db521f9595 Skip PhysicalShardMoveTest if RocksDB is not enabled. 2022-03-15 16:29:25 -07:00
A.J. Beamon 91d108904d
Merge pull request #6604 from sfc-gh-ajbeamon/fix-merge-conflict
Fix merge conflict between tenants and checkpointing API
2022-03-15 15:54:20 -07: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
A.J. Beamon a1dfd92a43 Fix merge conflict between tenants and checkpointing API. Avoid using .toString() in trace event details and rename (and move) a couple variables. 2022-03-15 14:18:06 -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
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
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
Josh Slocum 67eba5ec7c Limiting DD Moves by destination SS. 2022-03-15 13:52:19 -05:00
Lukas Joswiak 582ba5d519 Fix issue with stuck config nodes
In rare circumstances where the cluster controller dies / moves to a new
machine, sometimes only a minority of `ConfigNode`s received messages
telling them they were registered. When the `ConfigNode`s attempt to
register with the new broadcaster (on the new cluster controller), the
knob system would get stuck because only a minority would be registered.
Part of this change allows registration of unregistered `ConfigNode`s if
there is no path to a majority of registered nodes.
2022-03-15 11:42:58 -07:00
A.J. Beamon 22faf8e5b3 Ignore tenants when setting watches on the metadataVersionKey or sending mutations or conflict ranges that use the metadataVersionKey. 2022-03-15 10:46:31 -07:00
Jingyu Zhou e89ee7d5a0
Merge pull request #6589 from sfc-gh-tclinkenbeard/fix-typos
Fix typos
2022-03-15 10:10:23 -07:00
A.J. Beamon 8a5107af03 Fix a couple variable initialization issues in the tenant MVC implementation. Encode tenant prefixes with unicode escape sequences for the list command. 2022-03-15 09:23:30 -07:00
A.J. Beamon a70adf9fcd Convert cached ranges to relative ranges when using tenants. 2022-03-15 09:23:30 -07:00
A.J. Beamon 149ca44b9b Disallow setting raw access on a transaction that has specified a tenant 2022-03-15 09:23:30 -07:00
A.J. Beamon 445754d7cb Fix documentation substitutions 2022-03-15 09:23:30 -07:00
A.J. Beamon 0536e56725 The tenant cache uses a simpler eviction policy. Some various improvement around the use of futures. Add documentation for C API and fix inaccurate statement in special keys documentation. 2022-03-15 09:23:30 -07:00
A.J. Beamon 06f088e088 Pass along versions with GetKeyServerLocationsRequests, if we have them. 2022-03-15 09:23:30 -07:00