Meng Xu
c0535c49bb
Status: TLS client status
...
Use ClientStatusInfo structure for each network address (client),
instead of passing each status info as a parameter.
2019-03-04 16:35:10 -08:00
Meng Xu
94385447bc
Status: Get if client configured TLS
...
To understand if all clients have configured TLS,
we check the tlsoption when a client tries to open database.
This is similar to how we track the versions of multi-version clients.
2019-03-01 15:17:01 -08:00
Alec Grieser
dedd34f967
Merge pull request #1210 from alexmiller-apple/make-cc
...
Force Make to push $CC into the environment
2019-03-01 08:45:34 -08:00
A.J. Beamon
43629d8e45
Merge pull request #1208 from alecgrieser/01103-nested-example-in-design-docs
...
Fix floating point example in tuple design docs
2019-03-01 11:38:01 -05:00
Meng Xu
9698775b76
Merge pull request #1209 from satherton/master-merge-release-6.0
...
Merge release 6.0 into master
2019-02-28 15:34:05 -08:00
Alex Miller
83629b4d47
Force Make to push $CC into the environment.
...
This fixes a long standing weird issue of doing non-docker builds of FDB
can hit problems of $CC not being defined in link-wrapper.sh. It turns
out that this is because the official docker image defines CC in the
environment, and no one else does that.
Instead, we can just force Make to propagate its setting of CC into the
environment, thus requiring no extra configuration to be able to do a
build.
2019-02-28 14:50:22 -08:00
mpilman
d08aad7fc4
Old build system now working on both docker images
2019-02-28 14:24:52 -08:00
mpilman
d1e3c2d71e
Reintroduce libstdc++.a target for backwards compatabilty
2019-02-28 14:24:52 -08:00
mpilman
d0c06ec8c0
Make old build system work on build/cmake/Dockerfile
2019-02-28 14:24:52 -08:00
Stephen Atherton
7d287c6999
Merge branch 'release-6.0'
...
# Conflicts:
# fdbclient/FileBackupAgent.actor.cpp
2019-02-28 14:01:00 -08:00
Alec Grieser
bb43d97aaa
Fixes #1103 : Incorrect nested example in design/tuple.md
2019-02-28 13:13:30 -08:00
Meng Xu
2db2d5dbaa
Merge pull request #1205 from satherton/fix-read-ahead-bug
...
Bug fix in AsyncFileReadAhead affecting FileRestore
2019-02-28 11:55:41 -08:00
A.J. Beamon
af69ba035a
Merge pull request #1200 from bnamasivayam/master
...
User provided Client Transaction id merging
2019-02-28 11:16:44 -05:00
Jingyu Zhou
f07578f5c3
CMake: make VS on windows happy
...
When testing on windows, cmake seems to have trouble with ASM compiler if it is
specified as the first language:
$ cmake -G "Visual Studio 14 Win64" -DBOOST_ROOT="/cygdrive/c/Program\ Files/boost_1_67_0/" ../foundationdb
-- The ASM compiler identification is unknown
-- Didn't find assembler
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
CMake Error at CMakeLists.txt:20 (project):
No CMAKE_ASM_COMPILER could be found.
Changing the order fixes this issue and update the README.
2019-02-28 00:27:41 -08:00
Jingyu Zhou
4f9b2b16b5
Bump docker file version to 0.0.6
2019-02-28 00:25:11 -08:00
Jingyu Zhou
8e13d22315
Add elfutils tool for building RPMs.
...
Without this tool, RPM compilation complains eu-strip not found:
WARNING: No build ID note found in /opt/foundation/build/_CPack_Packages/Linux/RPM/foundationdb-6.1.0-/clients/usr/bin/fdbcli
/usr/lib/rpm/find-debuginfo.sh: line 104: eu-strip: command not found
2019-02-28 00:25:11 -08:00
Stephen Atherton
887856b6b0
Bug fix in AsyncFileReadAhead where a file size that is an integer multiple of the read chunk size will cause a crash when reading the file's final block. BackupContainerLocalDirectory now uses AsyncFileReadAhead in simulation to get simulation coverage of that class, and FileBackup will generate file sizes which expose the bug.
2019-02-28 00:22:38 -08:00
Alex Miller
59df4ab39a
Disable testing spill-by-reference.
...
There was a bad interaction between Spill-by-reference work (96f5c811
)
and some concurrent piece of work that touched txsTag, which is causing
failures.
So let's disable this to get master back to a clean state while we debug why.
2019-02-28 00:16:37 -08:00
Alex Miller
c81892d027
Merge pull request #1202 from etschannen/master
...
Fixed a few correctness problems
2019-02-27 17:26:02 -08:00
Evan Tschannen
934e0457e9
Merge branch 'master' of github.com:apple/foundationdb
...
# Conflicts:
# fdbclient/DatabaseConfiguration.cpp
2019-02-27 15:21:06 -08:00
Evan Tschannen
fb76cf6738
fix: prevent log_anti_quorum from being set to an invalid number so that we can better handle upgrades from configurations which may have set the value incorrectly
2019-02-27 15:16:49 -08:00
Evan Tschannen
976309de97
fix: removed upgrade code from when transactions logs did not have known committed versions, because it could cause remote logs to choose a start version in a range of versions between and epoch end and the following recovery version
2019-02-27 15:15:20 -08:00
Evan Tschannen
51e6b1dda0
Merge pull request #1197 from ajbeamon/avoid-transient-errors-in-incorrect-cluster-file-contents-detection
...
Improve avoidance of transient issues when logging IncorrectClusterFileContents...
2019-02-27 14:44:45 -08:00
Evan Tschannen
fafb66b0a8
Merge pull request #1126 from bnamasivayam/ratelimit-consistencycheck
...
Dynamically rate limit consistency check.
2019-02-27 14:43:09 -08:00
Evan Tschannen
96f5c8114b
Merge pull request #1195 from alexmiller-apple/tstlog-refspill
...
Spill-By-Reference TLog Part 3: Reference Spilling
2019-02-27 14:42:04 -08:00
A.J. Beamon
bccc065fdd
Update fdbserver/workloads/ClientTransactionProfileCorrectness.actor.cpp
...
Co-Authored-By: bnamasivayam <36455962+bnamasivayam@users.noreply.github.com>
2019-02-27 14:24:16 -08:00
Balachandar Namasivayam
cc0aac588a
Merge branch 'client-transaction-id'
...
* client-transaction-id:
Add user provided transaction id as part of the format in ClientTransactionProfileCorrectness workload.
Addressed review comments.
Apply suggestions from code review
Add support for client provided transaction identifier to be logged as part of trace logging or transaction profiling.
2019-02-27 13:11:15 -08:00
Balachandar Namasivayam
00acef6d4a
Add user provided transaction id as part of the format in ClientTransactionProfileCorrectness workload.
2019-02-27 13:10:49 -08:00
Balachandar Namasivayam
7d7db54515
Addressed review comments.
2019-02-27 12:42:45 -08:00
A.J. Beamon
81e7c4ea4e
Apply suggestions from code review
...
Co-Authored-By: bnamasivayam <36455962+bnamasivayam@users.noreply.github.com>
2019-02-27 11:41:33 -08:00
Evan Tschannen
21f6b2a53d
Merge pull request #1196 from vishesh/task/issue-1189
...
fix: Don't disallow FDB listen addresses which are not in cluster file #1189
2019-02-27 11:08:28 -08:00
A.J. Beamon
999ee68609
Improve avoidance of transient issues when logging IncorrectClusterFileContents SevWarnAlways events by making it time based.
2019-02-27 10:08:24 -08:00
Alec Grieser
743e1f2283
Merge pull request #1179 from dangerousvasil/release-6.0
...
add go.mod
2019-02-27 09:37:54 -08:00
pvv
3e15c863c4
add go.mod
2019-02-27 12:07:49 +03:00
Vishesh Yadav
c46252eacd
fix: Don't disallow FDB listen addresses which are not in cluster file #1189
...
Rejects listen addresses if the IP:PORT matches with that found in
cluster file, but the TLS state is different.
2019-02-26 21:26:27 -08:00
Alex Miller
ba31f8f1f9
Remove all code related to writing and cleaning up old-style spilling.
2019-02-26 18:13:49 -08:00
Alex Miller
0539c1df00
Peek from new spilled data and not old spilled data.
2019-02-26 18:13:49 -08:00
mpilman
a5122dc83c
Don't build go bindings in IDE mode
...
Fixes #1171
2019-02-26 18:03:08 -08:00
Alex Miller
d687a4bb85
Implement proper cleanup of disk queue when spilling refs.
2019-02-26 18:00:55 -08:00
Alex Miller
82e429f417
Upgrade BinaryReader to support calls ArenaReader has.
2019-02-26 18:00:55 -08:00
Alex Miller
84dc41c206
Add a comment.
2019-02-26 18:00:55 -08:00
Alex Miller
cade914645
Temporarily add verification of spilled tag data.
2019-02-26 18:00:55 -08:00
Alex Miller
f659825575
Persist start,end of message when spilling tags.
2019-02-26 18:00:55 -08:00
Alex Miller
232f2434a5
Allow IDiskQueue::location to be serialized.
2019-02-26 18:00:55 -08:00
Alex Miller
8d76cbed02
Track both start and end versions in versionLocation.
2019-02-26 18:00:55 -08:00
Alex Miller
ee8964c8ec
Plumb through getNext{Commit,Push}Location
2019-02-26 18:00:55 -08:00
Evan Tschannen
8afb7fbb9d
Merge pull request #1160 from alexmiller-apple/tstlog-fork
...
Spill-By-Reference TLog Part 2: New and Old TLogServers co-exist harmoniously
2019-02-26 18:00:04 -08:00
Alex Miller
2af5025185
Don't bias log_spill in SimulatedCluster.
2019-02-26 17:58:59 -08:00
Alex Miller
497960ffeb
Update release notes to mention configuration options introduced in this PR.
2019-02-26 17:43:36 -08:00
Alex Miller
d4fe9f905c
Let log_spill/log_version default in config, and clean up serialization.
...
We don't need to abide by object serializer rules yet, and the minor
change to Simulation config lets us test config being the default at the
start of the test.
2019-02-26 17:14:41 -08:00