Commit Graph

900 Commits

Author SHA1 Message Date
Balachandar Namasivayam 7bcabbe4be Addressed review comments and update go bindings version. 2020-05-28 12:21:28 -07:00
Balachandar Namasivayam a167bf344e Update api version to 700 2020-05-28 12:16:03 -07:00
A.J. Beamon 57574df87e Update API version of Go test. Also fix a couple things. 2020-05-28 09:41:59 -07:00
A.J. Beamon 0da31ab856 Fix filename in header comment 2020-05-21 15:51:20 -07:00
A.J. Beamon 594a07ce2b Merge branch 'release-6.3' into golang-xerrors 2020-05-14 10:35:54 -07:00
A.J. Beamon 5d3b2f9d44 golang: unwrap errors for retry (taken from #1668) 2020-05-11 13:33:45 -07:00
Alex Miller 4b65da6db7 Merge remote-tracking branch 'origin/pyfdbgenerators' into pyfdbgenerators 2020-05-11 13:20:27 -07:00
Alex Miller ffc36dcf45 7.0 became 6.3, so change API versions accordingly 2020-05-11 11:53:34 -07:00
Alex Miller 7b87cc3f88 Merge remote-tracking branch 'upstream/release-6.3' into pyfdbgenerators 2020-05-11 11:11:10 -07:00
Kao Makino c2e80fe47b Linux aarch64 port 2020-05-09 22:14:03 +00:00
A.J. Beamon 02307ba7b6 Merge branch 'master' into transaction-tagging
# Conflicts:
#	fdbclient/DatabaseContext.h
2020-05-09 07:50:29 -07:00
A.J. Beamon 0be453de0a
Merge pull request #3026 from atn34/atn34/tsan
Add USE_TSAN and fix some data races
2020-05-07 18:06:18 -07:00
A.J. Beamon e2cf7af2d9
Merge pull request #3049 from vishesh/go-generate-options
go: Update `generated.go` for 6.3
2020-05-07 18:02:08 -07:00
Vishesh Yadav c8b5ec475b go: Replace quotes with backticks in generated.go 2020-05-07 14:54:57 -07:00
A.J. Beamon 92730b2f05 Merge branch 'master' into transaction-tagging
# Conflicts:
#	fdbclient/NativeAPI.actor.cpp
2020-05-07 14:50:25 -07:00
Markus Pilman 20d6f2a3c3 Merge remote-tracking branch 'origin/master' into bugfixes/fix-clang10-compiler-warnings 2020-05-06 15:50:39 -07:00
A.J. Beamon b1055a8501 Merge branch 'master' into transaction-tagging 2020-05-05 16:03:39 -07:00
Markus Pilman 046f97ffdd replace macros with `constexpr` variables 2020-05-04 12:12:27 -07:00
A.J. Beamon 36454bb3b8 Merge branch 'master' into transaction-tagging
# Conflicts:
#	fdbclient/MasterProxyInterface.h
#	fdbclient/NativeAPI.actor.cpp
2020-05-04 10:23:25 -07:00
Alex Miller 78d644f673
Merge branch 'master' into bugfixes/cmake-includes 2020-05-04 02:11:46 -07:00
A.J. Beamon 6ce4ddf1db Fix a couple spots where we were missing checks for the new tag_throttled error 2020-05-01 21:47:12 -07:00
Dave Cottlehuber ebead69182 bindings: c asm 2020-04-30 18:11:23 +00:00
Dave Cottlehuber f46d452f38 bindings:update python 2020-04-30 18:11:23 +00:00
Dave Cottlehuber 673d186ce2 bindings: update go 2020-04-30 18:11:23 +00:00
Dave Cottlehuber a4131f8827 bindings: update mako 2020-04-30 18:11:23 +00:00
Dave Cottlehuber e227b4aba3 tweak bashisms 2020-04-30 18:11:23 +00:00
A.J. Beamon 35bc03a924
Merge pull request #3032 from vishesh/pr-2421
go: Update Stringer interface on Tuple and Subspace
2020-04-30 08:13:07 -07:00
Vishesh Yadav 1ed7d8e343 go: Update `generated.go` for 6.3 2020-04-29 12:04:45 -07:00
Vishesh Yadav ebf7adfa00 Revert "Merge pull request #1910 from ryanworl/ryanworl/remove-finalizers"
This reverts commit cef556bbee, reversing
changes made to a6fe8c1d1f.
2020-04-29 00:44:33 -07:00
Vishesh Yadav 5b1d99bc3b go: Implement fmt.Stringer for Versionstamp 2020-04-28 17:18:44 -07:00
Vishesh Yadav 8c9a646744 go: Don't complain about unsafe pointer conversion in stringRefToSlice
Running Go bindings with `-race` argument will enable instrumentation to check
pointer conversions, and complain about potential unsafe conversion in
`stringRefToSlice`.

This patch adds annotation `go:nocheckptr` annotation to skip that check, since
our conversion is safe, and can let users take advantage of check for their code
without this false positive.

It will be useful to check if, we can potentially rewrite this code to obey Go
pointer conversion rules.

FIXES #2843

Signed-off-by: Vishesh Yadav <vishesh_yadav@apple.com>
2020-04-26 22:06:57 -07:00
Vishesh Yadav ecb1d9b8c6 go: Subspace doesn't have to inherit fmt.Stringer
Go does duck-typing, so any `struct` can choose to implement String()
and it will automatically be Stringer(). There is no need to enforce in
out interface.
2020-04-26 20:44:23 -07:00
Vishesh Yadav 22fa93264f go: Implment Stringer interface for DirectorySubspace 2020-04-26 20:31:49 -07:00
Vishesh Yadav e592901551 go: Rename Subspace member `b` to `rawPrefix`
Naming stays consistent with other Python/Java.
2020-04-26 19:28:47 -07:00
Vishesh Yadav 642840a3f4 go: Update tuple/subspace String() to output readable strings 2020-04-26 19:26:33 -07:00
Pieter Joost 2a61823106 iimplement fmt.Stringer interface on Subspace 2020-04-26 19:26:33 -07:00
Pieter Joost 16f3a2480b implement fmt.Stringer interface on Tuple 2020-04-26 19:26:33 -07:00
Andrew Noyes 2e6990119b Fix some data races 2020-04-25 00:26:54 +00:00
Evan Tschannen c87aa33941 Merge branch 'release-6.2'
# Conflicts:
#	CMakeLists.txt
#	bindings/go/src/fdb/generated.go
#	documentation/sphinx/source/api-common.rst.inc
#	documentation/sphinx/source/api-ruby.rst
#	documentation/sphinx/source/release-notes.rst
#	fdbclient/FailureMonitorClient.actor.cpp
#	fdbclient/NativeAPI.actor.cpp
#	fdbclient/vexillographer/fdb.options
#	fdbrpc/FlowTransport.actor.cpp
#	fdbserver/OldTLogServer_6_0.actor.cpp
#	fdbserver/TLogServer.actor.cpp
#	fdbserver/fdbserver.actor.cpp
#	versions.target
2020-04-23 13:47:53 -07:00
Evan Tschannen 8eef766546 update version to 6.2.21 2020-04-23 13:16:46 -07:00
Markus Pilman f967209ea0 Fix compiler warnings with clang 2020-04-22 14:14:56 -07:00
Markus Pilman 2f55ee12ef suppress Unsafe warning in java bindings
Fixes #3002
2020-04-22 14:14:24 -07:00
Evan Tschannen 1c04aa5f0c
Merge pull request #2958 from AlvinMooreSr/go-getter
Get Go Dependencies Before Installing
2020-04-22 10:38:02 -07:00
A.J. Beamon b6e22b4a63
Merge pull request #2998 from jleach4/2822
Fix #2822: ByteArrayUtil does not use the now standard Unsafe Approach for byte[] comparisons
2020-04-21 14:36:13 -07:00
John Leach 7f75eab32b Fix #2822: ByteArrayUtil does not use the now standard Unsafe Approach for byte[] comparisons. 2020-04-21 12:20:12 -07:00
A.J. Beamon 251e0201a1
Merge pull request #2809 from jleach4/2808
2808: Add caching for jmethodID, jfieldID and jclass for JNI for Java Binding
2020-04-21 11:52:13 -07:00
A.J. Beamon 71c0d52868
Revert "Fix #2822: ByteArrayUtil does not use the now standard Unsafe Approach for byte[] comparisons." 2020-04-21 10:50:33 -07:00
John Leach d41dca5a94 2808: Add caching for jmethodID, jfieldID and jclass for JNI for Java Binding 2020-04-21 10:29:23 -07:00
John Leach 3834d8ecec Fix #2822: ByteArrayUtil does not use the now standard Unsafe Approach for byte[] comparisons. 2020-04-21 10:13:52 -07:00
Vishesh Yadav 841af731c5
go: Rename deprecated fdb_future_get_version to fdb_future_get_int64 2020-04-16 09:58:50 -07:00