409 Commits

Author SHA1 Message Date
Jon Fu
96a35264b4 return tenant_list as one operation and validate with assertions 2022-05-04 12:48:48 -04:00
Jon Fu
ff216c2f57 add tenant list metadata to binding tester 2022-05-02 13:42:11 -04:00
Jon Fu
2afaf55a48 fixed some binding tests and split stack operation between key and value of tenant list 2022-04-29 13:16:04 -04:00
Jon Fu
9e79ff49a6 address code review comments and add more places for test code 2022-04-21 16:58:32 -04:00
Jon Fu
c0aa361885 add TENANT_LIST to existing tests 2022-04-13 16:25:01 -04:00
Jon Fu
c683795f6b add python bindings and revise test code 2022-04-13 14:20:24 -04:00
Jon Fu
718119af83 simplest initial implementation of Java listTenants 2022-04-13 14:20:17 -04:00
Aaron Molitor
cbaef8f03b update version to 7.2.0 2022-04-11 23:23:27 -05:00
A.J. Beamon
5469b57a2b Add a note that opening a tenant does not check whether that tenant exists in the cluster 2022-03-31 11:39:50 -07:00
A.J. Beamon
be7315473a Move tenant creation/deletion into a TenantManagement class 2022-03-30 16:31:28 -07:00
A.J. Beamon
6570ae44c6 Use special keys to create/delete tenants 2022-03-30 16:31:28 -07:00
Jon Fu
995f1b3601 Support tuples in Java tenants 2022-03-30 16:31:28 -07:00
A.J. Beamon
a2a97e7176 Add tenant support to the Java bindings 2022-03-30 16:31:28 -07:00
sfc-gh-tclinkenbeard
a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
sfc-gh-tclinkenbeard
8dcac2f76d Fix typos 2022-03-13 10:02:11 -03:00
Tao Lin
e2c7c30faf
GetMappedRange support serializable & check RYW & continuation (#6181) 2022-03-10 10:05:44 -08: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
vikasgupta8
edfff755bf added support for ppc64le 2022-02-11 06:17:15 +00:00
Andrew Noyes
21a5aebc7c Rebuild fat jar if fdbJNI.cpp changes
At least now if you change fdbJNI.cpp it rebuilds the fat jar. I'm
pretty sure there are other problems with incremental recompilation here
but at least this is an improvement.
2022-01-06 15:45:23 -08:00
Andrew Noyes
5e140bc233 Build native headers for jni
This will help ensure that native java functions are implemented with
the right type.
2022-01-06 15:45:23 -08:00
Andrew Noyes
5d88fdf16c Use the correct directory for m1 for embedding libfdb_java 2021-12-03 16:31:50 -08:00
Aaron Molitor
77db63274b use FDB_VERSION in lieu of PROJECT_VERSION or CMAKE_PROJECT_VERSION
write FDB_VERSION to a file to avoid regex golf in other build scripts
2021-11-29 15:11:20 -08:00
Aaron Molitor
08b635d405 rename prerelease_string, replace PRERELEASE with SNAPSHOT 2021-11-29 15:11:20 -08:00
Tao Lin
9422b8e5f2 Restricted getRangeAndFlatMap to snapshot 2021-11-12 15:12:37 -08:00
Tao Lin
fdb3b72e35 Introduce GetRangeAndFlatMap to push computations down to FDB
Re-introduce #5609
2021-11-09 13:52:28 -08:00
Tao Lin
586cc3b102
Revert "Introduce GetRangeAndFlatMap to push computations down to FDB" 2021-11-04 08:46:56 -07:00
Tao Lin
6c98e35893 Rename Hop to FlatMap 2021-11-03 13:32:01 -07:00
Tao Lin
0853661d13 Introduce getRangeAndHop to push computations down to FDB 2021-11-03 13:21:16 -07:00
sfc-gh-tclinkenbeard
ebcc023b6f Enable missing-field-initializers clang warning 2021-11-01 14:18:31 -07:00
sfc-gh-tclinkenbeard
94a65865d9 Merge remote-tracking branch 'origin/master' into fix-clang-warnings 2021-07-28 12:29:27 -07:00
Russell Sears
82603ff764
Merge pull request #5211 from hfu5/repeat-m
Add RepeatableReadMultiThreadClientTest
2021-07-27 18:57:22 -07:00
sfc-gh-tclinkenbeard
36703decee Merge remote-tracking branch 'origin/master' into fix-clang-warnings 2021-07-26 09:32:29 -07:00
Clement Pang
9af401b205 Add comments to orEqual() 2021-07-24 09:10:46 +08:00
Clement Pang
9496e12861 Make orEquals() public.
Addresses the easy issue for https://github.com/apple/foundationdb/issues/5190
2021-07-23 12:03:17 +08:00
sfc-gh-tclinkenbeard
e62e6503ac Fix most delete-non-virtual-dtor clang warnings 2021-07-21 23:32:44 -07:00
hao fu
e8f0c3c98a Add RepeatableReadMultiThreadClientTest
Add RepeatableReadMultiThreadClientTest to verify transactions
have repeatable read.
2021-07-17 18:02:44 -07:00
hao fu
492722b719 Setup cycleTest in the same txn
In order to have multiple threads running against same cluster, this has to be done.
2021-07-16 17:23:25 -07:00
hao fu
ba3e6ecb8c Add SidebandMultiThreadClientTest
This test validates causal consistency for multi-threaded client
2021-07-16 09:45:49 -07:00
Hao Fu
19d86efa7a Cherry pick 871b098e95b3107e216a986cfec4225c65b54252 from 6.3
Change the version to 710.

Add CycleMultiClientIntegrationTest
2021-07-14 15:36:53 -04:00
Russell Sears
c42815f15f
Merge pull request #5127 from vishesh/cherrypick
Making it possible to run a multiple-cluster Java integration test (cherry-pick of #4456 from 6.3)
2021-07-13 09:14:20 -07:00
Scott Fines
d1db0d4013 Making it possible to run a multiple-cluster Java integration test 2021-07-07 10:15:18 -07:00
Andrew Noyes
b92b930b93 Add exportLibrary for exporting external clients from jar
After this change, users would be able to add all fdb shared libraries
they need in the jar itself with something like `jar uf`.
2021-06-08 17:23:02 -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
e892ca00e4 Use proper string equality 2021-05-14 00:03:03 +00:00
Andrew Noyes
4163270c02 Put aarch64 libfdb_java in the right place for fat jar 2021-05-13 23:13:14 +00:00
Jingyu Zhou
3ce31cb347 Upgrade api version from 700 to 710 2021-05-05 21:15:00 -07:00
A.J. Beamon
b2ee928a15
Merge pull request #4564 from sfc-gh-nwijetunga/network_busyness_java_api
Network Busyness Java API
2021-04-12 14:38:01 -07:00
Vishesh Yadav
8627fa1f16
Merge pull request #4597 from scottfines/no_string_format
Removing String.format from ByteArrayUtil.printable.
2021-04-09 10:59:28 -07:00
Scott Fines
275e650a80 Disabling tests that don't really work in the ctest development environment. They aren't important tests anyway 2021-04-02 11:09:08 -05:00
Scott Fines
ef1b924f07 Removing String.format from ByteArrayUtil.printable.
String.format can be potentially expensive, and if using `printable()`
within a hot loop that can be a performance penalty. Admittedly, it
doesn't seem like a good idea to call printable() from within a hot
loop, but if you have to, it's good for it to perform well.
2021-03-31 09:31:38 -05:00