Commit Graph

268 Commits

Author SHA1 Message Date
Jingyu Zhou 3ce31cb347 Upgrade api version from 700 to 710 2021-05-05 21:15:00 -07:00
Vishesh Yadav af36e52fdf Merge branch 'release-6.3-pre-format' into master-format
This merges release-6.3 branch right before it was fully formatted.
There were quite a few conflicts that are resolved here. CoroFlow had
a check for OOM errors introduced in 6.3, but didn't seem applicable in
the new implmentation which seems to use boost.
2021-03-10 10:40:53 -08:00
Vishesh Yadav 95f5a73a3d go: Update generated.go 2021-02-26 11:22:31 -08:00
Xin Dong 8f311543f9
Apply suggestions from code review
Co-authored-by: A.J. Beamon <ajbeamon@users.noreply.github.com>
2020-10-12 09:50:45 -07:00
Xin Dong 079f27d47d Added API doc for the new range split API. Updated some old ones to be consistent. 2020-10-08 15:20:55 -07:00
Xin Dong 5d902f9177
Merge pull request #3394 from dongxinEric/feature/range-split-points-based-on-size
Feature/range split points based on size
2020-10-08 14:25:11 -07:00
Meng Xu 862336de8f Merge branch 'master' into mengxu/merge-to-master-PR 2020-09-24 17:06:00 -07:00
A.J. Beamon 1882410334 Give more detail when describing the range API on a subspace in Go. 2020-09-16 16:25:12 -07:00
Xin Dong 0282a1745a Address more review comments 2020-09-11 16:44:09 -07:00
Xin Dong 1b923477f7
Apply suggestions from code review
Co-authored-by: A.J. Beamon <ajbeamon@users.noreply.github.com>
2020-09-11 14:28:56 -07:00
Xin Dong a46e620baa Merge branch 'master' into feature/range-split-points-based-on-size 2020-08-06 15:23:11 -07:00
Evan Tschannen a49cb41de7 Merge branch 'release-6.3'
# Conflicts:
#	CMakeLists.txt
#	cmake/ConfigureCompiler.cmake
#	fdbserver/Knobs.cpp
#	fdbserver/StorageCache.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	flow/ThreadHelper.actor.h
#	flow/serialize.h
#	tests/CMakeLists.txt
2020-07-29 00:31:55 -07:00
Xin Dong 9e1f253c08 Added some explanation about the accuracy about the get estimated range size API. 2020-07-21 16:14:23 -07:00
Xin Dong 7c98cac754 Fix a Go binding error 2020-07-02 16:25:43 -07:00
Xin Dong b0e9d321cc Apply suggestions from code review 2020-07-02 14:05:12 -07:00
Xin Dong 547f13d49d Delete go.sum
Remove junk file
2020-07-02 14:05:12 -07:00
Xin Dong 00e9f8b9bf Added bindings tests; Protected new SSI endpoints under new 7.0 ProtocolVersion 2020-07-02 14:05:12 -07:00
Xin Dong dc314ac384 Fix Go bindings build error 2020-07-02 14:05:11 -07:00
Xin Dong 440630a0cb Added bindings supports 2020-07-02 14:05:11 -07:00
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 5d3b2f9d44 golang: unwrap errors for retry (taken from #1668) 2020-05-11 13:33:45 -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
Dave Cottlehuber 673d186ce2 bindings: update go 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
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 1c04aa5f0c
Merge pull request #2958 from AlvinMooreSr/go-getter
Get Go Dependencies Before Installing
2020-04-22 10:38:02 -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
Vishesh Yadav b6b9f13016
Merge branch 'master' into ryanworl/remove-finalizers 2020-04-16 01:01:00 -07:00
Alvin Moore d555fbb853 Changed the get to only get the dependencies 2020-04-15 09:07:12 -07:00
Alvin Moore ed8e5bc64f Added support for getting go dependencies before install source 2020-04-15 08:46:37 -07:00
Markus Pilman d4542dbb5a Delete old build system 2020-04-07 11:03:45 -07:00
A.J. Beamon c11b9d0721 Including port in addresses option is deprecated in 630 rather than 700. Includes other latent generated go changes to the documentation. 2020-04-07 08:51:15 -07:00
Balachandar Namasivayam 6d570cd865 Change version from 7.0 to 6.3 2020-04-03 21:38:58 -07:00
Jingyu Zhou ae480c14a3 Add documentation of get_approximate_size for Python, Ruby, and Go
This was missed from original PR #1756, where only C API was documented.
2020-03-31 13:42:02 -07:00
Xin Dong 353fcb2096 Update Go binding documentations for the new API to be consistent with others 2020-03-25 10:02:38 -07:00
Xin Dong 338c62b176 Moved up the new test cases to comply the convention there. 2020-03-24 09:53:52 -07:00
Xin Dong 527686ffe0 Added a test in API tests for the new API(getEstimagedRangeSize). 2020-03-24 09:26:56 -07:00