sfc-gh-tclinkenbeard
22a48f8349
Ignore -Warray-bounds for only the necessary part of mako.c
2020-06-14 20:16:43 -07:00
sfc-gh-tclinkenbeard
7344a4fb67
Suppress array-bounds warnings in mako.c
2020-06-13 17:58:03 -07:00
Meng Xu
8595813b7d
Merge pull request #3355 from apple/release-6.3
...
Merge Release 6.3 into master branch
2020-06-12 20:08:47 -07:00
Russell Sears
009eb7d76a
silence Ruby warnings about SPDX license name and ffi versioning
2020-06-11 13:30:29 -07:00
Vishesh Yadav
5bd8145fbf
Merge pull request #3257 from ajbeamon/fix-java-test-resource-closing
...
Fix Java tests that weren't closing resources
2020-06-10 13:19:13 -07:00
sfc-gh-tclinkenbeard
99bf993815
Replace BOOST_NOEXCEPT with noexcept
2020-06-09 22:39:19 -07:00
Steve Atherton
61fcce08cc
Merge pull request #3324 from apple/release-6.3
...
merge Release 6.3
2020-06-09 18:56:47 -07:00
john_leach
c122eff58a
Fixes 3316 ByteArrayUtil.join is used heavily and creates a lot of objects
2020-06-09 14:06:12 -07:00
Evan Tschannen
639d51a50a
Merge branch 'release-6.3'
2020-05-29 18:43:14 -07:00
Evan Tschannen
846b0317f3
Merge branch 'release-6.2' into release-6.3
...
# Conflicts:
# CMakeLists.txt
# packaging/msi/FDBInstaller.wxs
# versions.target
2020-05-29 18:39:38 -07:00
Evan Tschannen
b7631c362c
update version to 6.2.22
2020-05-29 18:29:23 -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
8bc830e8ce
Fix a few places where we weren't closing resources in Java.
2020-05-28 09:45:34 -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
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
Alvin Moore
54813e2d46
Added support for copying fdb java tests to package directory
2020-04-13 17:20:25 -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
Markus Pilman
cb8d5d9b41
fixed flow bindings includes
2020-04-06 10:34:26 -07:00
Markus Pilman
8b5780c36c
don't include source and binary dir
...
This forces users to use include paths from the sources root.
So `#include "Arena.h"` won't work anymore, only
`#include "flow/Arena.h"` will.
2020-04-06 10:13:49 -07:00
Balachandar Namasivayam
6d570cd865
Change version from 7.0 to 6.3
2020-04-03 21:38:58 -07:00
Markus Pilman
bbd2fe62cc
Merge branch 'master' of github.com:apple/foundationdb into features/boost70
2020-04-02 09:21:01 -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
Meng Xu
60f6edc3b5
Merge pull request #2860 from zjuLcg/report-conflicting-key-roll-forward
...
Report conflicting key roll forward
2020-03-30 17:33:56 -07:00
Markus Pilman
28cd38913d
Merge branch 'master' of github.com:apple/foundationdb into features/boost70
2020-03-27 13:44:10 -07:00
Markus Pilman
ac9f79116e
Build bindingtester
2020-03-26 16:01:58 -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
Andrew Noyes
289487559d
Revert "Revert "Merge pull request #2257 from zjuLcg/report-conflicting-key""
...
This reverts commit 804fe1b22e
.
2020-03-24 18:11:15 -07:00
Xin Dong
5876d694cb
Use snake case to be consistent with conventions
2020-03-24 13:26:59 -07:00
Xin Dong
69b572cc86
Added specs for the new tests.
2020-03-24 09:59:40 -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
Meng Xu
980037f3a8
Merge pull request #2835 from bnamasivayam/revert-report-conflicting-keys
...
Revert report conflicting keys
2020-03-20 10:33:26 -07:00
Xin Dong
f293666028
Added back unnecessary changes.
2020-03-20 10:12:37 -07:00
Xin Dong
851ee20c1a
Disable Ruby tests for the moment.
2020-03-20 10:05:14 -07:00
Balachandar Namasivayam
804fe1b22e
Revert "Merge pull request #2257 from zjuLcg/report-conflicting-key"
...
This reverts commit 648dc4a933
, reversing
changes made to 487d131b38
.
2020-03-19 21:34:28 -07:00
chaoguang
698198a09e
Merge remote-tracking branch 'upstream/master' into report-conflicting-key
2020-03-09 10:50:33 -07:00
Evan Tschannen
303df197cf
Merge branch 'release-6.2'
...
# Conflicts:
# CMakeLists.txt
# bindings/c/test/mako/mako.c
# documentation/sphinx/source/release-notes.rst
# fdbbackup/backup.actor.cpp
# fdbclient/NativeAPI.actor.cpp
# fdbclient/NativeAPI.actor.h
# fdbserver/DataDistributionQueue.actor.cpp
# fdbserver/Knobs.cpp
# fdbserver/Knobs.h
# fdbserver/LogRouter.actor.cpp
# fdbserver/SkipList.cpp
# fdbserver/fdbserver.actor.cpp
# flow/CMakeLists.txt
# flow/Knobs.cpp
# flow/Knobs.h
# flow/flow.vcxproj
# flow/flow.vcxproj.filters
# versions.target
2020-03-06 18:22:46 -08:00
Alex Miller
f657ca069e
Fix bindings build breakage, because I hadn't built bindings.
2020-03-04 23:51:21 -08:00
Alex Miller
9b5ef3416e
Refactor TLSParams into TLSConfig + LoadedTLSConfig
...
The idea being that we keep around a TLSConfig that the configuration
that the user has provided, and then when we want to intialize an SSL
context, we ask the TLSConfig to load all certificates and return us a
LoadedTLSConfig that is a concrete set of certificate bytes in memory.
initTLS now just takes the in-memory bytes and applies them to the ssl
context.
This is a large refactor to lead up into certificate refeshing, where we
will periodically check for changes to the certificates, and then
re-load them and apply them to a new SSL context.
2020-03-04 20:14:47 -08:00
chaoguang
7a76e9556d
Merge remote-tracking branch 'upstream/master' into report-conflicting-key
2020-03-04 11:24:39 -08:00
Evan Tschannen
6054c05963
Merge branch 'release-6.2'
...
# Conflicts:
# CMakeLists.txt
# documentation/sphinx/source/release-notes.rst
# fdbserver/fdbserver.actor.cpp
# versions.target
2020-02-28 12:11:05 -08:00
Andrew Noyes
fd180e242d
Fix heap buffer overflow in mako
2020-02-28 11:10:42 -08:00
A.J. Beamon
93655c92e8
Add missing semicolon
2020-02-26 16:36:22 -08:00
A.J. Beamon
0f5c999d4b
Better containment of boost errors related to TLS.
2020-02-26 12:26:43 -08:00
Alvin Moore
0f64505d0b
Merge branch 'release-6.2' of github.com:apple/foundationdb
...
Needed to pull in changes to build docker
2020-02-23 23:27:53 -08:00
Evan Tschannen
96258b9809
Merge branch 'release-6.2'
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbcli/fdbcli.actor.cpp
# fdbclient/ManagementAPI.actor.cpp
# fdbrpc/FlowTransport.actor.cpp
# fdbserver/ClusterController.actor.cpp
# fdbserver/DataDistribution.actor.cpp
# fdbserver/DataDistribution.actor.h
# fdbserver/DataDistributionQueue.actor.cpp
# fdbserver/KeyValueStoreMemory.actor.cpp
# fdbserver/MasterProxyServer.actor.cpp
# fdbserver/QuietDatabase.actor.cpp
# fdbserver/SkipList.cpp
# fdbserver/StorageMetrics.actor.h
# fdbserver/TLogServer.actor.cpp
# fdbserver/fdbserver.actor.cpp
# fdbserver/storageserver.actor.cpp
# fdbserver/workloads/KVStoreTest.actor.cpp
# flow/CMakeLists.txt
# flow/Knobs.cpp
# flow/Knobs.h
# flow/genericactors.actor.cpp
# flow/serialize.h
2020-02-21 19:09:16 -08:00
A.J. Beamon
7eed0f11b9
Update bindings/java/src/main/com/apple/foundationdb/directory/DirectoryLayer.java
...
Fix conversion of byte to long.
2020-02-21 16:27:12 -08:00
A.J. Beamon
7fbdd4e4fe
Fix: directory layer was unpacking little endian numbers without properly handling signs.
2020-02-21 15:42:34 -08:00
Evan Tschannen
f04e311a1e
Merge commit 'b46d6e25e24993ab5a5f04091fd3235050b7cd09' into feature-boost-ssl
...
# Conflicts:
# fdbserver/SimulatedCluster.actor.cpp
# flow/Net2.actor.cpp
2020-02-20 17:36:38 -08:00