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
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
A.J. Beamon
d1f050690a
Merge pull request #2454 from ajbeamon/document-range-read-efficiency
...
Document efficiency of reverse range reads
2020-02-20 15:25:38 -08:00
Vishesh Yadav
5c48a105c5
docs: Document CompareAndClear atomic op
2019-12-16 13:53:52 -08:00
gauravvnera
83da581314
addressed review comments
2019-12-14 00:10:25 +05:30
gauravvnera
b734afb50f
Clarify Documentation for clear_range
2019-12-13 09:22:36 +05:30
gauravvnera
1dedd3df56
Clarify Documentation for clear_range
2019-12-13 09:18:57 +05:30
A.J. Beamon
e23dfa83e1
Fix go formatting
2019-12-12 15:04:30 -08:00
A.J. Beamon
3cc3f1d2ad
Note that range reads are supported natively by the database and have little cost over regular range reads.
2019-12-12 10:50:21 -08:00
Xin Dong
8016d02699
Added documents explaining the at-most-once guarantee provided by add callbacks function
2019-12-11 14:45:39 -08:00
A.J. Beamon
d09e3e1d96
Apply go fmt.
2019-12-10 13:42:30 -08:00
A.J. Beamon
bdbc97c452
Add docuentation about opening connections to multiple clusters
2019-12-10 12:38:37 -08:00
Andrew Noyes
95c6c9618e
Update documentation and testers for new options
2019-09-05 16:40:12 -07:00
A.J. Beamon
5cf05214fd
Update generated.go with new options
2019-07-29 18:41:28 -07:00
Evan Tschannen
b509a441e7
Merge branch 'master' into feature-skip-confirm
...
# Conflicts:
# bindings/flow/tester/Tester.actor.cpp
# bindings/go/src/_stacktester/stacktester.go
# bindings/java/src/test/com/apple/foundationdb/test/AsyncStackTester.java
# bindings/java/src/test/com/apple/foundationdb/test/StackTester.java
# bindings/python/tests/tester.py
# bindings/ruby/tests/tester.rb
# documentation/sphinx/source/api-c.rst
# documentation/sphinx/source/api-python.rst
# documentation/sphinx/source/api-ruby.rst
# documentation/sphinx/source/data-modeling.rst
# documentation/sphinx/source/developer-guide.rst
# fdbclient/vexillographer/fdb.options
# fdbserver/MasterProxyServer.actor.cpp
2019-07-27 15:08:13 -07:00
A.J. Beamon
bc5c65e5ab
Merge pull request #1756 from jzhou77/db-option
...
Add transaction getApproximateSize() API
2019-07-19 08:33:24 -07:00
A.J. Beamon
93be69b6a3
Increase the API version to 620.
2019-07-18 10:56:05 -07:00
Evan Tschannen
7390df35a1
updated binding testers to set causalReadRisky
2019-07-15 11:39:03 -07:00
A.J. Beamon
d5051b08dd
Make trace event field lengths (and total event sizes) default knobified and configurable. Add a transaction option to control the field length of transaction debug logging. Make the program start command line field less likely to be truncated.
2019-07-12 16:12:35 -07:00
Jingyu Zhou
990c205f70
Push a string to stack for getApproximateSize in binding testers
...
Because different bindings may issue different limit for get_range calls, it is
impossible to return the same size value for getApproximateSize API. So we just
push a string to make sure binding test results are the same. Use another unit
test to make sure the sizes got back are monotonically increasing.
2019-07-12 14:15:20 -07:00
Jingyu Zhou
b2a89c8b77
Address review comments for PR #1756
...
Use fdb_future_get_int64 for language bindings and get rid of using Version
with getApproximateSize API.
2019-07-11 16:41:29 -07:00
Jingyu Zhou
5d1437c8e0
Push int directly to stack for getApproximateSize
2019-07-10 15:00:50 -07:00
Jingyu Zhou
0802df2c8f
Convert size from int to string before pushing onto stack
...
Using int is troublesome because the size of int can be different from the
desired 64 bits. So, using a string representation seems to be more consistent.
2019-07-10 14:58:35 -07:00
Jingyu Zhou
9d12843a26
Push size as tuple to stack
2019-07-10 14:58:35 -07:00
Jingyu Zhou
0ad2d2d16e
Add binding test for getApproximateSize API
2019-07-10 14:58:07 -07:00
A.J. Beamon
2035b36257
Make default and persistent options specifyable via annotations to fdb.options. Fix some issues with persisting these options in the multi-version client. Make size limit option not persistent.
2019-06-28 13:24:32 -07:00
Jingyu Zhou
3a63d053e9
Address review comments for PR#1725
2019-06-20 14:06:32 -07:00
Jingyu Zhou
9c2257a0e5
Add transaction size option
2019-06-19 07:45:23 -07:00
Pieter Joost van de Sande
b5773d2f6b
fix spelling error
...
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
2019-05-30 18:16:29 +02:00
Pieter Joost
19de1ae229
include errors in the dir layer documentation
2019-05-29 11:15:00 +02:00
Pieter Joost van de Sande
7debb23cf6
change common errors for easy comparison
2019-05-23 13:40:00 +02:00
A.J. Beamon
250955d18c
Update required Go version in the Go binding's README.md
2019-05-22 08:54:42 -07:00
A.J. Beamon
2e09a214d9
Merge pull request #1451 from segmentio/master
...
bindings/go: use keepalive(f) on futures when they're used
2019-05-21 13:21:50 -07:00
Alec Grieser
76333ad87a
Resolves #1612 : Go bindings: Use single line comments in CGO
...
This converts the multi-line comments for C imports to single line comments, which at the least is more idiomatic.
2019-05-20 13:49:22 -07:00
Colin
9a85c19063
bindings/go: fix generated int64ToBytes calls
2019-05-10 15:20:59 -05:00
Colin Adler
93c1dced16
bindings/go: add labels for futures
2019-05-10 15:18:44 -05:00
Colin Adler
0d7748d59f
bindings/go: use binary.LittleEndian.PutUint64 instead of binary.Write
...
Benchmarks can be found in bindings/go/bench
2019-05-06 15:48:28 -05:00
Colin Adler
8033a0e717
bindings/go: format lines over 120 characters long
2019-05-06 15:37:58 -05:00
Amir Abu Shareb
d6a4a0a0bb
bindings/go: keep futures alive on use
2019-04-03 18:47:18 +03:00
Evan Tschannen
39c595223b
Merge branch 'release-6.1'
2019-04-02 22:30:02 -07:00
Evan Tschannen
985e1de467
Update documentation and protocol version for release 6.1.0
2019-04-02 18:39:24 -07:00
Amir Abu Shareb
1a0bee4937
bindings/go: move release_memory() calls ( #1400 )
2019-04-02 20:58:49 +03:00
A.J. Beamon
f363bdb007
Update documentation about batch priority transactions
2019-03-26 15:45:38 -07:00
Alec Grieser
1342cc7f48
update generated.go after vexillographer change (docs only)
2019-03-22 13:12:10 -04:00
Alec Grieser
64e45e6826
retry limit and max delay transaction options are no longer reset after onError
2019-03-21 18:50:02 -04:00
Alec Grieser
22f592ce6e
reset the timeout only if the API version is less than 610 to allow transactions with longer timeouts than the database default
2019-03-21 16:47:12 -04:00
Alec Grieser
4fff1f6756
add database options to bindingtester stack tester
2019-03-20 11:13:38 -06:00
Alec Grieser
5f73b7d6ae
Resolves #775 : Support setting Transaction options at the Database level
...
This selects a few useful transaction options that users may want to set for every transaction and adds them to the database options.
2019-03-20 11:13:38 -06:00
ravilution
6161144788
Fixing the Tutorials Link
...
Fixing the Tutorials link to point to GO version of the tutorials
2019-03-17 12:21:03 -05:00
A.J. Beamon
98f8fa62e9
Update generated.go
2019-03-14 15:05:36 -07:00