Commit Graph

78 Commits

Author SHA1 Message Date
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 53d252fda0 Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache-multi-threaded 2022-03-29 17:23:08 -04:00
Xiaoxi Wang bc3e5cdaa1 fix cmake error when OPEN_FOR_IDE=ON 2022-03-29 12:02:56 -07:00
Andrew Noyes 07eae17068 Add fdb_c_client_memory_test 2022-03-22 14:13:59 -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
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
Andrew Noyes 2bd2ddd779
Fix FastAlloc thread cleanup on OSX (#6485)
* 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
Vaidas Gasiunas 20c1e893c7 ApiTester: fix build dependencies 2022-03-04 17:22:30 +01:00
Vaidas Gasiunas ef96231db0 Merge remote-tracking branch 'apple/main' into vgasiunas-system-tester 2022-03-04 16:25:18 +01:00
Vaidas Gasiunas b8386f15d6 ApiTester: configuration for ApiCorrectness workload; Better error handing and reporting 2022-03-04 16:22:49 +01:00
Vaidas Gasiunas 5d15a2d623 ApiTester: Loading test configuration from files, calling from ctest 2022-03-03 15:01:05 +01:00
Andrew Noyes 9a45df8e6c
Change fdb_c's dep on fdbclient to be private (#6466)
That way transitive dependencies (e.g. libfdb_java.so) don't include
unnecessary fdbclient code. Related: #6455
2022-03-01 18:08:50 -08:00
Vaidas Gasiunas 328c5dad28 Merge remote-tracking branch 'apple/main' into vgasiunas-system-tester 2022-02-28 20:00:55 +01:00
Vaidas Gasiunas bd1bf72304 ApiTester: Test mixed insert/get workload; support concurrent execution of multiple gets 2022-02-28 16:05:00 +01:00
Vaidas Gasiunas c3e6eea41a ApiTester: In memory key-value store 2022-02-26 00:08:21 +01:00
Vaidas Gasiunas 64873b6873 ApiTester: Rename files and namespace 2022-02-25 11:35:57 +01:00
Vaidas Gasiunas e4311ae661 SysTester: remove direct dependencies on flow 2022-02-23 16:38:35 +01:00
Vaidas Gasiunas 11527a18d3 SysTester: Execution framework 2022-02-21 18:01:10 +01:00
vikasgupta8 7c71821666 Updated cmake process string to match with ppc64le or powerpc64le 2022-02-18 12:53:23 +00:00
Vaidas Gasiunas 7fc8844ca4 C API Tests: new test executable 2022-02-18 12:08:10 +01:00
vikasgupta8 7bd767f198 Updated cmake process string to match with ppc64le or powerpc64le 2022-02-18 09:35:45 +00:00
vikasgupta8 edfff755bf added support for ppc64le 2022-02-11 06:17:15 +00:00
Lukas Joswiak bf9b4aeaab Rename libfdb_c in bindings dir 2022-01-11 09:34:20 -08:00
Lukas Joswiak ff03fe99ff Add a copy of libfdb_c.so to lib for external client use 2022-01-11 09:34:20 -08:00
Andrew Noyes ef81252f31 Link libfdb_c with `-z noexecstack` 2021-12-07 10:51:10 -08:00
Markus Pilman 5af465aa29 FDB compiles on Apple Sillicon 2021-11-10 20:05:38 -07:00
A.J. Beamon 01a4d7f21b Add missing test dependency in cmake 2021-09-30 09:33:54 -07:00
A.J. Beamon c82d820bfd Fixes to new disconnected tests; add a version that doesn't use MVC 2021-09-29 13:16:17 -06:00
A.J. Beamon de863d170d Add some tests for timeout behavior with disconnected clusters 2021-09-29 13:16:17 -06:00
Xiaoxi Wang 1d36c18a68 solve cmake configure error when -DOPEN_FOR_IDE=ON 2021-09-21 12:43:22 -07:00
Lukas Joswiak 7ed7ca9bac Fix OPEN_FOR_IDE 2021-09-21 12:42:49 -07:00
Andrew Noyes 5301e1a865 Add trace_partial_file_suffix_test 2021-08-03 09:37:11 -07:00
Andrew Noyes cd5c0481cc Use linker script for external workloads
This fixes an issue on Arm with lld:

ld.lld: error: relocation R_AARCH64_PREL64 cannot be used against symbol OPENSSL_armcap_P; recompile with -fPIC

I think the problem was that lld thought that the shared object might
need to interpose OPENSSL_armcap_P at runtime, although honestly I'm not
too sure about all this linker stuff.
2021-06-05 14:43:50 -07:00
Andrew Noyes 34529c353c Try to fix arm build on clang 2021-06-05 14:42:30 -07:00
Andrew Noyes 961950f03a Add dependency to fdb_c 2021-02-05 03:37:52 +00:00
Andrew Noyes 75f8725392 Add test for using an external client 2021-02-05 01:24:45 +00:00
Andrew Noyes 0ef44739ea Fix OPEN_FOR_IDE build in preparation for using clang-tidy 2021-01-26 02:04:11 +00:00
Andrew Noyes 13afadfae4 Use c90 compatibility for clarity 2021-01-15 02:50:34 +00:00
Andrew Noyes 9b7c93ca86 Make sure that fdb_c.h is c89 compliant 2020-12-22 10:30:07 -08:00
Lukas Joswiak c9521ec450 Fix issue with pthreads
Linking lpthread before libcrypto seems to have been causing an issue
since the crypto library (used in OpenSSL?) needs threading. Swapping
the order should fix the issue.
2020-10-02 22:01:57 -07:00
Lukas Joswiak 861262ea35 Fix dependency order for doctest 2020-10-02 18:57:07 -07:00
Lukas Joswiak c080514eb4 Add tests 2020-09-30 17:38:58 -07:00
Kao Makino c2e80fe47b Linux aarch64 port 2020-05-09 22:14:03 +00:00
Evan Tschannen 96258b9809 Merge branch 'release-6.2'
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	fdbcli/fdbcli.actor.cpp
#	fdbclient/ManagementAPI.actor.cpp
#	fdbrpc/FlowTransport.actor.cpp
#	fdbserver/ClusterController.actor.cpp
#	fdbserver/DataDistribution.actor.cpp
#	fdbserver/DataDistribution.actor.h
#	fdbserver/DataDistributionQueue.actor.cpp
#	fdbserver/KeyValueStoreMemory.actor.cpp
#	fdbserver/MasterProxyServer.actor.cpp
#	fdbserver/QuietDatabase.actor.cpp
#	fdbserver/SkipList.cpp
#	fdbserver/StorageMetrics.actor.h
#	fdbserver/TLogServer.actor.cpp
#	fdbserver/fdbserver.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	fdbserver/workloads/KVStoreTest.actor.cpp
#	flow/CMakeLists.txt
#	flow/Knobs.cpp
#	flow/Knobs.h
#	flow/genericactors.actor.cpp
#	flow/serialize.h
2020-02-21 19:09:16 -08:00
Andrew Noyes 40c9e2f3d8 Add -no_weak_exports 2020-02-18 10:49:43 -08:00
Andrew Noyes e1f279ac98 Use the cmake LINKER feature
Described here: https://cmake.org/cmake/help/latest/command/add_link_options.html
2020-02-13 16:50:17 -08:00
Andrew Noyes f1357fd482 Control exported symbols on osx for cmake 2020-02-13 16:50:17 -08:00