371 Commits

Author SHA1 Message Date
A.J. Beamon
d5357d2439 Update all of the bindings to use the new C API and deprecate or remove unneeded parts of their APIs. 2018-10-02 15:28:46 -07:00
A.J. Beamon
1b259dbc9d Initial work to remove clusters from our C API 2018-09-26 10:27:55 -07:00
A.J. Beamon
3eb4355a48 Some various cleanup and fixes. Added "Cluster" to TransactionMetrics trace event. 2018-09-25 15:06:19 -07:00
A.J. Beamon
09fba0647e Use new instead of malloc; fix off by one. 2018-09-25 11:15:54 -07:00
A.J. Beamon
6ae50f7016 Change cluster objects to be a char* for the cluster file path. Remove IDatabase::createDatabase. DLApi::createDatabase deletes the temporary cluster it creates. 2018-09-25 11:01:09 -07:00
A.J. Beamon
e55a87f6cd Merge branch 'merge-release-6.0-into-master' into remove-cluster-from-iclientapi 2018-09-24 08:22:35 -07:00
A.J. Beamon
92990d6aef Merge release-6.0 into master 2018-09-21 16:14:39 -07:00
A.J. Beamon
c831051474 This removes the idea of clusters from IClientApi. 2018-09-21 15:58:14 -07:00
Alec Grieser
10a8e67266
Merge remote-tracking branch 'upstream/release-6.0' into merge-release-6.0 2018-09-11 21:49:59 -07:00
Alec Grieser
5128d9772d
cleverly use parentheses to ensure that the bitwise operation happens before the shift
This was casuing getUserVersion to return incorrect results if the user version was greater than 0x00FF.

Fixes #761
2018-09-10 18:18:13 -07:00
Alec Grieser
f0c6db42db
Merge pull request #748 from ajbeamon/go-readme-update
Update go bindings README.
2018-09-06 14:40:29 -07:00
Bhaskar Muppana
920fd3fe97 Merge branch 'release-6.0' 2018-09-06 14:24:02 -07:00
Bhaskar Muppana
5e954a8d57 Merge remote-tracking branch 'upstream/release-5.2' into release-6.0 2018-09-06 13:29:31 -07:00
A.J. Beamon
fdba3c0f05 Update go bindings README. 2018-09-06 13:19:13 -07:00
Evan Tschannen
90301f497f Merge branch 'release-6.0'
# Conflicts:
#	fdbclient/ManagementAPI.actor.cpp
#	fdbrpc/FlowTransport.actor.cpp
#	fdbrpc/TLSConnection.actor.cpp
#	fdbserver/DataDistribution.actor.cpp
#	fdbserver/Status.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	fdbserver/workloads/StatusWorkload.actor.cpp
#	versions.target
2018-09-05 16:06:33 -07:00
A.J. Beamon
cab47fec19
Merge pull request #733 from alecgrieser/000732-go-install-no-default-version
Remove default version from fdb-go-install script
2018-09-05 14:58:49 -07:00
Alec Grieser
2274bc0671
clarify some verbiage 2018-09-05 14:46:31 -07:00
Evan Tschannen
4eaff42e4f
Merge pull request #712 from ajbeamon/remove-database-name-internal
Eliminate use of database names (phase 1)
2018-09-05 10:35:00 -07:00
AlvinMooreSr
f4b3299e23
Merge pull request #601 from AlvinMooreSr/python-setup
Changed python binding classifier
2018-09-04 12:57:02 -07:00
Alec Grieser
7c9e4d7d9f
remove default version from fdb-go-install script
Resolves: #732
2018-08-30 16:15:39 -07:00
A.J. Beamon
f47b45c7e1
Merge pull request #710 from ajbeamon/deprecate-tls-plugin-option
Deprecate TLS_plugin option.
2018-08-27 12:24:48 -07:00
A.J. Beamon
adfaa618e6 Filter version_too_old errors 2018-08-24 10:05:24 -07:00
A.J. Beamon
f8262a2f95
Merge pull request #716 from alecgrieser/fdb-go-tag-update
Go bindings release tag update
2018-08-23 13:20:10 -07:00
Alec Grieser
11ab3bdb99
some go bindings README tweaks 2018-08-20 18:04:35 -07:00
Alec Grieser
74771c5b1d
switch to using new release branch convention for install script 2018-08-20 18:04:20 -07:00
A.J. Beamon
2a97139d5d This is the first step in eliminating the usage of database names in our code. The C API remains the same, but underneath that all usage of database names is eliminated. 2018-08-16 10:24:12 -07:00
A.J. Beamon
bc0832bb55 Deprecate TLS_plugin option. Don't remove deprecated methods from Go bindings, since that breaks compatibility with old API versions. 2018-08-15 10:11:08 -07:00
Alex Miller
bca324eaa6 More actorcompiler.h fixes and additions. 2018-08-14 15:50:26 -07:00
Alex Miller
535b5701e5 Rewrite all Void _ = wait(...) -> wait(...).
This takes advantage of the new actorcompiler functionality to avoid
having duplicate definitions of `Void _` when trying to feed the
un-actorompiled source through clang.
2018-08-14 15:50:26 -07:00
A.J. Beamon
6af8c0d907 Prepopulated directories should have their partition state set. Filter commit_unknow_result errors if encountered in the directory test. 2018-08-13 13:35:48 -07:00
John Brownlee
9cad7c8a72 Merge remote-tracking branch 'upstream/release-5.2' into release-6.0-5.2-merge
# Conflicts:
#	documentation/sphinx/source/downloads.rst
#	documentation/sphinx/source/release-notes.rst
#	packaging/msi/FDBInstaller.wxs
#	versions.target
2018-07-31 13:17:37 -07:00
Alec Grieser
a2b3c71a74
thread custom executors through FDBDatabase::run and FDBDatabase::read
Closes #640.
2018-07-30 16:53:07 -07:00
A.J. Beamon
2d8a6d1fd8
fix: cache databases by cluster file and DB name in golang bindings. 2018-07-30 10:10:03 -07:00
A.J. Beamon
16ba2732b8 fix: cache databases by cluster file and DB name in golang bindings. 2018-07-18 13:00:35 -07:00
Alvin Moore
bc1098d889 Changed python binding classifier to that on approved list: https://pypi.org/pypi?%3Aaction=list_classifiers 2018-07-13 07:58:08 -07:00
Alec Grieser
46b8612566
bump API version from 520 to 600 2018-07-09 11:00:57 -07:00
Alex Miller
6c98aa8aac Fix not depending on FDBLibTLS.a and default TLS_LIBDIR to a sensible place. 2018-07-05 13:23:20 -07:00
Alex Miller
01659e34cc Move TLS libs into STATIC_LIBS to avoid having a make dependency on them.
And fix STATIC_LIBS to be cross platform.
2018-07-04 00:29:53 -07:00
Alvin Moore
ab255b444f Added support for specifying location of LibreSSL libraries via define TLS_LIBDIR 2018-07-03 09:01:01 -07:00
Alvin Moore
c3f88dbfe1 Merge branch 'master' of github.com:apple/foundationdb into tls-static 2018-07-01 23:13:57 -07:00
Alvin Moore
132e2d9267 Defined TLS build flags for projects
Updated TLS documentation
2018-07-01 22:49:39 -07:00
Alec Grieser
be873001cc
Merge pull request #532 from drew-richardson/master
Avoid calls that can panic when handling errors
2018-07-01 21:54:18 -07:00
A.J. Beamon
ea8a288a20
Merge pull request #537 from apple/release-5.2
Merge Release-5.2 into master
2018-06-27 15:55:58 -07:00
A.J. Beamon
d8ca7a766c Change tree node state to have references to parent nodes and update merge logic accordinly. 2018-06-27 14:12:51 -07:00
A.J. Beamon
a7158f96aa Address some review comments 2018-06-26 15:06:15 -07:00
A.J. Beamon
2ed452353f Merge branch 'release-5.2' into directory-tester-cleanup 2018-06-26 14:56:09 -07:00
Alvin Moore
ef8de426d3 Changed the TLS_DISABLED macro
Disable TLS within Windows until working
2018-06-26 12:08:32 -07:00
Drew Richardson
efdca64f15 Avoid calls that can panic when handling errors 2018-06-26 08:23:48 -07:00
Alvin Moore
f8ce1de601 Added support for compiling TLS into binaries 2018-06-20 09:21:23 -07:00
Alex Miller
a3601af2a6
Merge pull request #435 from Liuchang0812/wip-rename-future-in-c-binding
rename opaque types in c binding to avoid conflicts with the standard library
2018-06-18 13:55:33 -07:00