Commit Graph

477 Commits

Author SHA1 Message Date
Markus Pilman 5bebb5b4aa
Merge pull request #9492 from sfc-gh-vgasiunas/vgasiunas-api-version-defs
Centralize definition of API Version for Java, Python and C API
2023-02-28 12:04:02 -07:00
Russell Sears d02118db67 Add support for using pre-downloaded junit dependencies 2023-02-27 15:38:58 -06:00
Vaidas Gasiunas 8a934c4f93 Fix comment in TestApiVersion 2023-02-27 18:30:50 +01:00
Vaidas Gasiunas e3b3bf9307 Fix formatting in TestApiVersion 2023-02-27 18:27:42 +01:00
Vaidas Gasiunas 83f76b60b9 Define the API version separately for the Java tests that are not executed as a part of the CI 2023-02-27 18:20:11 +01:00
Vaidas Gasiunas 8ddda99036 Fix name of FDB_USE_LATEST_BINDINGS_API_VERSION 2023-02-27 16:53:35 +01:00
Vaidas Gasiunas 1b6ced1a09 Define latest C API version in one place 2023-02-27 15:13:56 +01:00
Vaidas Gasiunas 7f35b395d3 Define the latest Java bindings API version in one place 2023-02-27 11:53:01 +01:00
Vaidas Gasiunas 402f618180
Default transaction options for report_conflicting_keys and used_during_commit_protection_disable (#9441)
* Introducing default transaction options for report_conflicting_keys and used_during_commit_protection_disable, set the latter option always in Java bindings

* Reformatting TransactionIntegrationTest.java

* Update description of transaction_report_conflicting_keys option

* Remove dependency between mock and real database implementation in RangeQueryTest.java

* Update generated.go after changing desciption of an option

* Small improvements of the TransactionIntegrationTest code
2023-02-23 18:05:01 +01:00
Jingyu Zhou 9a8c346d1a
Merge pull request #9439 from sfc-gh-vgasiunas/vgasiunas-fix-java-getclientstatus-test
Fix Java GetClientStatusIntegrationTest
2023-02-22 08:58:56 -08:00
Josh Slocum bf97c3dbce
adding java tenant blob management test and fixing bug it found (#9428) 2023-02-22 10:52:26 -06:00
Vaidas Gasiunas cd0696e1cd Fix Java GetClientStatus integration test by wait on the future 2023-02-22 12:46:26 +01:00
Josh Slocum bfb3ffc509
added c and java apis for granule flush (#9412) 2023-02-20 10:28:11 -06:00
Josh Slocum 6c2fb13173
adding wait parameter to blobbify api (#9360)
* adding wait parameter to blobbify api

* formatting

* fixing comment style

* fixing bug and adding debugging

* adding blob ranges unit test

* testing both blobbify cases in cancel

* formatting

* switch to explicit blocking api instead of boolean flag

* remove comments

* format
2023-02-17 12:20:53 -06:00
Vaidas Gasiunas afc25035f8
Client status report API in Java and python bindings (#9366)
* get_client_status: add to Java bindings

* Add get_client_status in python binding

* Make python unit tests available as ctest

* Fix file name in the copyright header

* Fix library path name for mac

* get_client_status: Minor changes in Java & Python bindings addressing review comments

* Rename fdb_python_unit_tests to unit_tests
2023-02-15 18:00:53 +01:00
Josh Slocum 2f8f7515e8
adding java blob granules unit test (#9317)
* adding java blob granules unit test

* reduce sleep and organize imports
2023-02-08 12:02:14 -06:00
Jon Fu c07657c592 push string onto stack when active tenant is set 2023-01-31 12:34:37 -08:00
Jon Fu 27f000bc45 patch to fix some existing bindingtester issues 2023-01-27 10:41:47 -08:00
Jon Fu 6493da877a add method to return idfuture 2023-01-25 12:45:35 -08:00
Jon Fu c2c582202a Merge branch 'main' of github.com:apple/foundationdb into tenant-object-binding-tests 2023-01-24 09:10:06 -08:00
Jon Fu 0210bad4ae add back java optimization 2023-01-20 08:58:16 -08:00
Jon Fu d5c8786fdf revert changes that could lead to race condition 2023-01-19 15:23:40 -08:00
Jon Fu 4797716937 remove final from tenant id java declaration 2023-01-13 11:25:55 -08:00
Jon Fu 34b7cead4c explicitly delref on tenant and optimize storing id in java/python 2023-01-13 11:13:45 -08:00
Jon Fu 0238b06e5f add to java and python stack tester 2023-01-12 13:54:52 -08:00
Jon Fu 181f208c29 try adding to python and java binding tests 2023-01-12 11:49:17 -08:00
Jon Fu 15b70ec5ac fix java errors 2023-01-11 11:43:59 -08:00
Jon Fu cb6ad92ed6 initial commit to add python and Java binding support 2023-01-10 14:19:03 -08:00
Hao Fu d11b5b44e0
Remove boundaryAndExist (#8994)
* Remove boundaryAndExist

Client knows whether an entry is a boundary, and client also can
see whether the record for that entry exist by checking whether
the rangeResult is empty. This field is useless.

This field breaks backward compatibility, need to remove it.
2022-12-07 18:08:15 -08:00
Aaron Molitor 39ffd52fd9 remove javadoc errors/warnings 2022-12-02 12:02:35 -06:00
Dennis Zhou 4a04e503a6 blob/java: tenant purgeBlobGranules() java api 2022-10-17 11:42:27 -05:00
Dennis Zhou cfe62685e9 blob/java: tenant verifyBlobRange() java api 2022-10-17 11:42:27 -05:00
Dennis Zhou 4cca9a8c70 blob/java: tenant listBlobbifiedRanges() java api 2022-10-17 11:42:08 -05:00
Dennis Zhou da94188570 blob/java: tenant (un)blobbify() java api 2022-10-17 11:41:45 -05:00
Markus Pilman 4d9465a30b Disable java-workload in IDE-mode 2022-10-10 10:29:23 -06:00
A.J. Beamon 8b5c6c83cd The Java binding tester shouldn't swallow Context errors; fix an assertion failure caused by incorrect management of the transaction map; remove some unneeded output from binding tester runs 2022-09-29 12:30:04 -07:00
Dennis Zhou 4ea4546cb6 blob/java: verifyBlobRange() with latestVersion 2022-09-21 14:07:16 -07:00
Dennis Zhou 86eac7386f blob/java: fix verifyBlobRange() calling wrong function
verifyBlobRange() accidentally called list_blobbified_ranges().
2022-09-21 14:04:58 -07:00
Dennis Zhou 2caf0c7726 blob/java: add purge at latestVersion 2022-09-21 09:46:55 -07:00
Dennis Zhou 88d8242bb6 bindings: clean up ApiVersion settings
Currently ApiVersion is scattered and hardcoded across the bindings.
Let's at least clean it up so it's once per file or less and use some
redirection against FDB_API_VERSION or API_VERSION.
2022-09-12 17:08:57 -07:00
A.J. Beamon 0c91336461 Remove unnecessary special key-space relaxed option in binding tenant management 2022-09-12 14:30:28 -07:00
A.J. Beamon 726d5215a0
Remove API 720 guards for tenants (experimental feature) and the cluster ID special keys (#8108)
* Remove API 720 guards for tenants (experimental feature) and the cluster ID special keys (no need to guard)

* Enable the relaxed special key access in transactions that need to use special key-space APIs introduced in 7.2
2022-09-08 17:22:36 +02:00
Dennis Zhou 9f948531e1 blob/java: update documentation for blob api 2022-08-31 09:23:33 -07:00
Dennis Zhou fb3ce21d19 blob/java: verifyBlobRange() java bindings 2022-08-16 13:29:23 -07:00
Dennis Zhou 045076339d bindings/java: implement getBlobGranuleRanges() bindings 2022-08-16 13:29:23 -07:00
Dennis Zhou 03d5942859 blob/java: listBlobbifiedRanges java bindings 2022-08-16 13:29:23 -07:00
Dennis Zhou e4f433a480 bindings/java: add KeyRange bindings 2022-08-16 13:29:23 -07:00
Dennis Zhou d2fd29dc52 blob/java: add (un)blobbifyRange api 2022-08-16 13:29:23 -07:00
Dennis Zhou 2d6b2e490c blob/java: make purgeBlobGranules signatures match 2022-08-16 13:29:23 -07:00
Dennis Zhou ba148ba6f1 blob/java: add default executor functions for purgeBlobGranules 2022-08-16 13:29:23 -07:00