1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-06-02 11:15:50 +08:00

540 Commits

Author SHA1 Message Date
Tao Lin
eb270d44b7 Remove unnecessary FDB_API_CHANGED 2022-04-08 10:18:16 -07:00
Tao Lin
73ed34d2fb Fixes : Upgrade from 7.0.0 to 7.1.0 fails because of missing function fdb_transaction_get_mapped_range 2022-04-08 09:32:18 -07:00
Jon Fu
b0ae22f16d Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache-multi-threaded 2022-04-06 12:28:28 -04:00
Tao Lin
001909be08
Fixes for when getMappedRange cannot parse as tuple () 2022-03-31 14:06:45 -07: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
3283d07b4c Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache-multi-threaded 2022-03-30 13:44:28 -04:00
Jon Fu
9d0a520fe0 add ProtocolVersion to shared state and state cluster map 2022-03-30 13:28:06 -04:00
Xiaoxi Wang
e644c6da49
Merge pull request from sfc-gh-xwang/memory-test-ide
fix cmake error after adding memory test when OPEN_FOR_IDE=ON
2022-03-29 14:23:16 -07: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
Andrew Noyes
d727e7648e Fix a few memory issues found by ASAN 2022-03-29 12:39:12 -07:00
Xiaoxi Wang
bc3e5cdaa1 fix cmake error when OPEN_FOR_IDE=ON 2022-03-29 12:02:56 -07:00
Josh Slocum
721c64b698 Adding Blob Granule Client C Unit Tests 2022-03-28 15:42:33 -05:00
A.J. Beamon
3cf0ea5950
Merge pull request from sfc-gh-ajbeamon/fix-tenant-map-range-read-bug
Fix bug in tenant map range reads when the end key is outside of the tenant map range
2022-03-28 10:55:33 -07:00
Steve Atherton
478ff1eb76
Merge pull request from sfc-gh-anoyes/anoyes/fast-alloc
Move most usage of FastAlloc to malloc
2022-03-26 15:46:05 -07:00
A.J. Beamon
2475c4e2d6 Fix various non-compiling code errors. 2022-03-25 15:56:49 -07:00
A.J. Beamon
e8a38bb048 Fix bug in tenant map range reads when the end key is outside of the tenant map range. 2022-03-25 14:24:25 -07:00
Josh Slocum
b42c49ca0a Adding full file length for future-proofing 2022-03-24 15:56:03 -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
344198793d remove TODO comment 2022-03-23 16:50:55 -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
Andrew Noyes
07eae17068 Add fdb_c_client_memory_test 2022-03-22 14:13:59 -07:00
sfc-gh-tclinkenbeard
a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
A.J. Beamon
ee70837970 Remove some debugging lines, change simulated default cluster frequency, and use a different mechanism to disable tenants for the change feed test. 2022-03-17 12:10:19 -07:00
A.J. Beamon
92c1044a3d Fix formatting 2022-03-17 12:10:19 -07: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
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 6d05ecffc21d8497b4f753d11b17beb6102f32ab.
2022-03-16 14:26:36 -04:00
Vaidas Gasiunas
f4bb82ad56
Merge pull request from sfc-gh-vgasiunas/vgasiunas-system-tester
A framework for C API tests
2022-03-16 10:49:52 +01:00
A.J. Beamon
e8077b65e1
Merge pull request from sfc-gh-ajbeamon/fdb-tenant-client
Add client support for tenants
2022-03-15 12:40:17 -07:00
Jingyu Zhou
e89ee7d5a0
Merge pull request from sfc-gh-tclinkenbeard/fix-typos
Fix typos
2022-03-15 10:10:23 -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
c89b1e3537 Use TenantName type instead of StringRef in various places. Add a function on transactions to get the tenant name being used for the transaction. 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
Vaidas Gasiunas
1a1c157246 ApiTester: address a thread sanitizer issue 2022-03-15 14:55:35 +01:00
Trevor Clinkenbeard
6a28bddd35
Fix file names in copyright headers () 2022-03-14 13:24:25 -07:00
Vaidas Gasiunas
09bb37ce3e ApiTester: retry a transaction after all futures are ready 2022-03-13 21:37:46 +01:00
sfc-gh-tclinkenbeard
8dcac2f76d Fix typos 2022-03-13 10:02:11 -03:00
Vaidas Gasiunas
8ba3c107ff ApiTester: cancel transaction instead of deleting to avoid crashes when it is accessed by pending callbacks 2022-03-12 14:12:37 +01:00
Vaidas Gasiunas
3f2c9e5ff8 ApiTester: Pass future vector per copy to continueAfterAll to avoid race conditions in error handing path 2022-03-11 18:00:31 +01:00
Vaidas Gasiunas
a9ee2b99e2 ApiTester: fix boost target for sanitizer builds 2022-03-10 19:30:22 +01:00
Vaidas Gasiunas
bb7d26a6eb Merge remote-tracking branch 'apple/main' into vgasiunas-system-tester 2022-03-10 19:13:54 +01:00
Vaidas Gasiunas
9e52456eeb ApiTester: Test cancelling transaction with pending futures; Refactor transaction executor to improve concurrency handing and memory management 2022-03-10 19:13:23 +01:00
Tao Lin
e2c7c30faf
GetMappedRange support serializable & check RYW & continuation () 2022-03-10 10:05:44 -08:00
Vaidas Gasiunas
bd0bf1cfc2 ApiTester: Address concurrency issues in the workload management 2022-03-09 14:38:07 +01:00
Vaidas Gasiunas
8d2c3a4773 ApiTester: Use thread-local random generators 2022-03-09 13:28:12 +01:00
A.J. Beamon
3ae98189af Server processes send unknown_tenant responses back to clients, which is meant to be retried after updating the tenant cache. Fix bug where key selectors could be truncated after applying the tenant prefix. 2022-03-06 21:54:21 -08:00
Andrew Noyes
2bd2ddd779
Fix FastAlloc thread cleanup on OSX ()
* Use ThreadData constructor and destructor

Instead of pthread api

* Make threadData a function static thread local variable

* Fix linux build
2022-03-04 12:49:40 -08:00