Jon Fu
|
124aa6e5fd
|
clean up debug traces and fix details with delRef placement
|
2022-04-06 12:27:39 -04:00 |
Jon Fu
|
1b9bd597c5
|
address code review comments and add some traces for manual testing
|
2022-04-05 15:29:02 -04:00 |
Jon Fu
|
f266695a76
|
clear shared state map entries on version upgrade and use currentProtocolVersion instead of piping version through function parameters
|
2022-03-30 15:28:55 -04:00 |
Jon Fu
|
9d0a520fe0
|
add ProtocolVersion to shared state and state cluster map
|
2022-03-30 13:28:06 -04:00 |
Jon Fu
|
53d252fda0
|
Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache-multi-threaded
|
2022-03-29 17:23:08 -04:00 |
Jon Fu
|
bdbe78e48f
|
address code review comments
|
2022-03-29 17:20:22 -04:00 |
Josh Slocum
|
7fc6dfa6c5
|
Adding useful debugging trace events
|
2022-03-29 14:48:28 -05:00 |
Chaoguang Lin
|
fd5734c39e
|
Fix the case where we access the memory after cleaning
|
2022-03-28 13:35:42 -07:00 |
Josh Slocum
|
0ff1cd102e
|
Merge branch 'main' into bg_client_bindings_improvements
|
2022-03-24 17:19:01 -05:00 |
Josh Slocum
|
989dd8d7eb
|
Finished implementing beginVersion
|
2022-03-24 17:15:11 -05:00 |
Josh Slocum
|
b92c6ea92c
|
granule parallelism, metrics, and other improvements to bg client bindings
|
2022-03-24 13:44:09 -05:00 |
Jon Fu
|
7af4b24966
|
move trace event to within if-block
|
2022-03-23 17:09:28 -04:00 |
Jon Fu
|
9f72d68f1e
|
Make trace event SevDebug to avoid spamming logs by default
|
2022-03-23 17:08:17 -04:00 |
Jon Fu
|
7c3151142e
|
Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache-multi-threaded
|
2022-03-23 16:41:33 -04:00 |
Jon Fu
|
4466e00716
|
Fix multithreaded GRV cache code and enable grv caching in multithreaded ctest suite
|
2022-03-23 16:09:12 -04:00 |
Josh Slocum
|
f27475e2f4
|
Merge branch 'main' into blob_integration
|
2022-03-22 11:41:58 -05:00 |
sfc-gh-tclinkenbeard
|
a71099471b
|
Update copyright header dates
|
2022-03-21 13:36:23 -07:00 |
Josh Slocum
|
8205771e8f
|
ReplyPromiseStreams need synchronous disconnect to avoid change feed races
|
2022-03-18 17:05:12 -05:00 |
Josh Slocum
|
37e7c80f26
|
Merge branch 'main' into blob_integration
|
2022-03-17 18:45:42 -05:00 |
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
|
d0dc756c6d
|
Allow disabling tenant mode in simulation. Fix a few bugs.
|
2022-03-17 12:10:18 -07:00 |
A.J. Beamon
|
05495908b8
|
Implement some tenant tests
|
2022-03-17 12:10:18 -07:00 |
sfc-gh-tclinkenbeard
|
58de6e22cc
|
Add BalanceOnRequests boolean parameter for ModelInterface
|
2022-03-16 14:25:32 -07:00 |
Jon Fu
|
9731d96797
|
Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache-multi-threaded
|
2022-03-16 14:32:33 -04:00 |
Jon Fu
|
7ab205391b
|
Revert "remove all multi-version client code related to grv cache"
This reverts commit 6d05ecffc2.
|
2022-03-16 14:26:36 -04: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 |
Josh Slocum
|
e8e69e7c56
|
Fix formatting
|
2022-03-15 15:15:16 -05: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 |
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 |
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
|
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 |
A.J. Beamon
|
68069c9784
|
Undo some unused changes. Fix tenant cache eviction.
|
2022-03-15 09:23:30 -07:00 |
A.J. Beamon
|
8bc2b283e1
|
Create a special keys API to create, delete, and read tenants. Remove the C API to create/delete tenants.
|
2022-03-15 09:23:30 -07:00 |
A.J. Beamon
|
1e1098ca9a
|
Don't check whether tenants are enabled when watch is called. Support unknown_tenant error.
|
2022-03-15 09:23:30 -07:00 |
A.J. Beamon
|
ecccfd0868
|
Add cache invalidation to tenant cache. Send tenant ID along with tenant name in requests to validate that the tenant hasn't changed. Fix a few bugs.
|
2022-03-15 09:23:30 -07:00 |
A.J. Beamon
|
fb73e1857a
|
Some get key requests should not happen within a tenant. Don't set read_system_keys in watch logic unless necessary. Set access_system_keys in a couple movekeys functions.
|
2022-03-15 09:23:30 -07:00 |
A.J. Beamon
|
2a21126028
|
Don't apply read prefixes on the client. Cache tenant data locally.
|
2022-03-15 09:23:30 -07:00 |
A.J. Beamon
|
a168faf219
|
Fix bugs in serialization and tenant prefix management on the client.
|
2022-03-15 09:21:27 -07:00 |
A.J. Beamon
|
c635dcd3ad
|
Add tenant support in the FDB native client
|
2022-03-15 09:21:27 -07:00 |
Josh Slocum
|
8d88b7ca41
|
making range assigner boundary changes fully synchronous to ensure no races with things reading assignments
|
2022-03-14 14:39:00 -05:00 |
Josh Slocum
|
98eeaac1b7
|
More debugging and fixing a stuck merge cursor
|
2022-03-14 11:57:56 -05:00 |
sfc-gh-tclinkenbeard
|
8dcac2f76d
|
Fix typos
|
2022-03-13 10:02:11 -03:00 |
Josh Slocum
|
82eef0c7f7
|
Better CF tracing for client and server
|
2022-03-11 16:50:38 -06:00 |