Syed Paymaan Raza
6319330d8e
Revert "Update main branch to 8.0 ( #11968 )"
...
This reverts commit 710f3f3083 .
2025-02-28 13:31:40 -08:00
Syed Paymaan Raza
710f3f3083
Update main branch to 8.0 ( #11968 )
2025-02-26 14:09:52 -08:00
Jon Chambers
0aeff16dfd
Make `ByteArrayUtil#EMPTY_BYTES` public
2024-12-28 17:53:07 +08:00
Jingyu Zhou
d7ceecbd47
Fix java lib missing symbols issue ( #11836 )
...
Clang19 doesn't like missing symbols
2024-12-13 20:00:26 -08:00
Eloi Démolis
4848aeba2b
Rust external workload modifications ( #11805 )
...
* Rust external workload modifications
- add readme
- add simulation configuration file
- minor Rust bindings changes
- fix FDBPerfMetric::format_code default value in the C++ bindings
- Add CWorkload.c to CMake
- Fix cpp_workload test file
---------
Signed-off-by: Eloi DEMOLIS <eloi.demolis@clever-cloud.com>
2024-12-04 15:43:20 -08:00
Eloi Démolis
e77f304fa0
C workload bindings ( #11288 )
...
* C workload bindings
Signed-off-by: Eloi DEMOLIS <eloi.demolis@clever-cloud.com>
2024-11-20 13:22:28 -08:00
Syed Paymaan Raza
392bad2bd3
More copyright end year updates ( #11556 )
2024-08-05 14:00:32 -07:00
Syed Paymaan Raza
c3e7542cda
Update end year in copyright header
2024-08-02 09:40:11 -07:00
hao fu
6b782c10f6
Fix globalconfig refresh hang issue
...
CC sets a version to int_max in ClientDBInfo indicating a refresh, however,
proxy server would reject this version for the error of future_version.
This change fixes this issue by not sending int_max, instead maintaining a
lastKnown in memory and send it to grvproxy to get latest globalconfig.
this change also fixes some java tests that were used to test the fix
2024-05-14 15:40:03 -07:00
Tom Parker-Shemilt
6452b701c5
Fix various Javadoc comments that break the doc build
2024-02-19 19:10:00 -06:00
Tom Parker-Shemilt
2f623f985d
Add javadoc build
2024-02-19 19:10:00 -06:00
Dimitris Apostolou
a88114c222
Fix typos
2024-02-07 01:16:00 +02:00
Oleg Samarin
1cb0a860da
Added more javadoc information for com.apple.foundationdb.LocalityUtil.getAddressesForKey
...
(cherry picked from commit af51830eafef881f6bfd880b17982ea62f7823c2)
2023-07-10 11:04:27 +03:00
Zhe Wu
5c8a163c72
Update main branch to 7.4 ( #10459 )
...
* Update main branch to 7.4
* Update API version to 740
* Makes fdb_c_client_config_tests.py passing after API version update
* Remove from_7.3.0_until_7.4.0 and add from_7.3.0
* Update tests in fdb_c_client_config_tests.py
2023-06-15 10:19:39 +02:00
Aaron Molitor
a718a31dd7
update links to foundationdb.org to reference GitHub
2023-05-30 10:15:20 -05:00
Vaidas Gasiunas
9bc55f67c3
Fix releasing watches on future cancellation ( #10304 )
...
* Test watch cleanup on cancel
* Fix clearing the database in Java integration tests
* Always cancel the futures wrapped by MVC abortable futures
* More tests for watch cleanup
* Fix clear database database in some Java integration tests
2023-05-22 22:01:27 +02:00
Vaidas Gasiunas
d16d53739e
Some more tests for future cancelations in Java bindings
2023-05-12 20:43:18 +02:00
Vaidas Gasiunas
574a4cec71
Remove debugging output in future cancellation tests
2023-05-12 16:20:54 +02:00
Vaidas Gasiunas
6594c4d302
Java binding: Fix reentrant locking in future cancelation
2023-05-12 15:58:38 +02:00
Vaidas Gasiunas
607a1040ed
Testing future cancelation in Java bindings with an external client
2023-05-12 15:57:45 +02:00
Zhe Wu
e3490a1af8
Update API version to 730
2023-05-10 11:26:46 -07:00
Hao Fu
3158f8b033
Fix hashCode() and equals() for MappedKeyValue ( #10170 )
2023-05-08 16:54:11 -07:00
A.J. Beamon
95cf9948a1
Add API version protection for the change to use a default option for used during commit protection in Java
2023-05-03 16:18:11 -07:00
hao fu
29161b2fda
Revert matchIndex feature
...
It is not protocol compatible, revert it to avoid deployment issue.
Will have a new PR to have the feature if moving forward.
2023-04-17 09:39:45 -07:00
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