Commit Graph

270 Commits

Author SHA1 Message Date
Jon Fu c001d55c24 push tenant_list result as a packed tuple to stay consistent with other operations 2022-05-04 16:33:46 -04:00
Jon Fu 9798e5fc83 Merge branch 'main' of github.com:apple/foundationdb into jfu-list-tenants 2022-05-04 12:49:43 -04:00
Jon Fu 96a35264b4 return tenant_list as one operation and validate with assertions 2022-05-04 12:48:48 -04:00
Hao Fu 97eb12381b
implement equals and hashCode in MappedKeyValue (#7041) 2022-05-03 12:24:26 -07:00
Hao Fu fa2e85f1d3
Add comment about getMappedRange parameters (#7044) 2022-05-02 15:17:14 -07: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 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
vikasgupta8 edfff755bf added support for ppc64le 2022-02-11 06:17:15 +00: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
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
Russell Sears 82603ff764
Merge pull request #5211 from hfu5/repeat-m
Add RepeatableReadMultiThreadClientTest
2021-07-27 18:57:22 -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
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 871b098e95 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 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
Nim Wijetunga a84592df7e add test for network busyness 2021-03-24 23:59:40 +00:00
Nim Wijetunga b5412b355e Add Java API for network busyness 2021-03-24 23:34:34 +00:00
Vishesh Yadav 2cd3f45fd6 Merge remote-tracking branch 'apple/release-6.3' into master-format-final
release-6.3 was recently merged, and there were two PRs which were
merged in between and got those changes in here. Hence, since all the
changes were in, discarded the incoming changes and accepted all
current.
2021-03-10 16:50:44 -08:00
Scott Fines 329d6052b6 making times record counts too 2021-03-09 08:41:10 -06:00
Scott Fines df6faa089a Addressing PR comments 2021-03-08 14:10:20 -06:00
Scott Fines 6e32eb75dc Adding a reference implementation of EventKeeper 2021-03-08 09:58:31 -06:00
Scott Fines e080e989ac Better approach to non-locked stats gathering (including knowing what thread will operate) 2021-03-08 09:52:02 -06:00