Alex Miller
b3e977d7c1
Apply test directory as a label.
...
This isn't ideal, as it makes `restarting/from_5.2.0/potato.txt` have
the label "from_5.2.0" instead of "restarting", but it does make the
fast label work right.
2019-01-14 19:14:25 -08:00
mpilman
414fb0b6c8
made TestRunner work with XML traces
2019-01-14 19:14:25 -08:00
Markus Pilman
5ba5499b69
fail tests properly
2019-01-14 19:14:25 -08:00
Markus Pilman
14f0a6958b
added all tests to ctest
2019-01-14 19:14:25 -08:00
Markus Pilman
b17d2234c9
added missing files
2019-01-14 19:14:25 -08:00
Markus Pilman
b096b8e3f8
First tests working with ctest
2019-01-14 19:14:25 -08:00
Evan Tschannen
50e95e5ab9
Merge pull request #1054 from bnamasivayam/master
...
Fix a minor bug in the RoleFitness Class.
2019-01-14 17:02:08 -08:00
Evan Tschannen
7dbf06162e
Update fdbserver/ClusterController.actor.cpp
...
Co-Authored-By: bnamasivayam <36455962+bnamasivayam@users.noreply.github.com>
2019-01-14 16:57:00 -08:00
Alex Miller
07eed6c228
Merge pull request #1055 from sam-bristow/update-rpm-licenses
...
Update RPM spec with Apache 2.0 licence
2019-01-14 16:49:17 -08:00
Balachandar Namasivayam
ff661bca22
Fix a minor bug in the RoleFitness Class.
2019-01-14 14:54:54 -08:00
Sam Bristow
bbc3a8d385
Update RPM spec with Apache 2.0 licence
...
The RPM packages were still being listed as "FoundationDB Community
Licence Agreement" with a broken link to the old license.
No functional changes to the code.
2019-01-15 11:34:16 +13:00
Evan Tschannen
9912d17c35
Merge pull request #1030 from bnamasivayam/master
...
Add some sanity checks to tester.actor.cpp
2019-01-11 17:15:40 -08:00
Evan Tschannen
4eb11d74af
Merge pull request #1029 from bnamasivayam/reenable-check_desired_classes
...
Re-enable CheckDesiredClasses after making necessary changes for mult…
2019-01-11 17:15:05 -08:00
Alex Miller
cb938d7d33
Merge pull request #1047 from ajbeamon/add-conveniences-for-optional-and-erroror
...
Add some conveniences for Optional and ErrorOr
2019-01-11 13:16:18 -08:00
A.J. Beamon
d4d5740282
* Add Optional.map and ErrorOr.map.
...
* Rename Optional/ErrorOr cast_to to castTo.
* Make printable(Optional<T>) templated rather than restricted to StringRef types.
* Fixes bug in (unused) ErrorOr.castTo where an ErrorOr that was not set would lose its error.
2019-01-11 09:03:38 -08:00
Bhaskar Muppana
c9c4f9929d
Merge pull request #1038 from alexmiller-apple/fix-cmake-build
...
Fix the CMake build
2019-01-10 16:01:55 -08:00
Alex Miller
217fb4e6cb
Fix the CMake build.
...
This change was originally authored by @mpilman as part of #1005 , but is
something that can instead be merged quickly and easily.
2019-01-10 14:33:09 -08:00
Alex Miller
04a82203c1
Merge pull request #1036 from brownleej/tls-typo-fix
...
Fix to a typo (I think) in the TLS docs.
2019-01-10 14:28:13 -08:00
John Brownlee
f306cc6147
Fix to a typo (I think) in the TLS docs.
2019-01-10 13:57:26 -08:00
Alex Miller
113e894efc
Merge pull request #1033 from atn34/fix-rpm-systemd
...
Revert change to foundationdb.service
2019-01-10 13:33:04 -08:00
Andrew Noyes
6e92dafc54
Revert change to foundationdb.service
2019-01-10 13:28:56 -08:00
Balachandar Namasivayam
baeaa490e4
Add some sanity checks to tester.actor.cpp
2019-01-10 11:05:50 -08:00
Balachandar Namasivayam
a8e2e75cd5
Re-enable CheckDesiredClasses after making necessary changes for multi-region setup.
...
Fixed a couple of bugs
1) A rare race condition where a worker is being roles even after it died.
2) Fix how RoleFitness is calculated for TLog and LogRouter. Only worst fitness is compared to see if a better fit is available.
2019-01-10 10:28:32 -08:00
Steve Atherton
6276d6b4f4
Merge pull request #1026 from etschannen/master
...
Merge 6.0 into master
2019-01-09 16:23:35 -08:00
Alex Miller
db95615a63
Merge pull request #1024 from atn34/add-json-formatter-to-cmake
...
Add JsonTraceLogFormatter to flow/CMakeLists.txt
2019-01-09 16:17:30 -08:00
Evan Tschannen
684a22a52b
Merge branch 'release-6.0'
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbbackup/backup.actor.cpp
# fdbclient/BackupContainer.actor.cpp
# fdbclient/HTTP.actor.cpp
# fdbserver/storageserver.actor.cpp
# fdbserver/workloads/BackupCorrectness.actor.cpp
# versions.target
2019-01-09 16:14:46 -08:00
Andrew Noyes
5048795554
Add JsonTraceLogFormatter to flow/CMakeLists.txt
2019-01-09 15:58:18 -08:00
Evan Tschannen
a7b3ad53bb
Merge pull request #1023 from etschannen/post-release-cleanup-6.0.18
...
Post release cleanup 6.0.18
2019-01-09 15:32:37 -08:00
Evan Tschannen
36cf8addd5
update installer WIX GUID following release
2019-01-09 15:32:00 -08:00
Evan Tschannen
0cd4f3a2fc
update versions target to 6.0.19
2019-01-09 15:31:59 -08:00
Evan Tschannen
48d84faa3e
Merge pull request #1022 from etschannen/prepare-release-6.0.18
...
update installer WIX GUID following release
2019-01-09 14:28:32 -08:00
Evan Tschannen
c23c8fba3e
update installer WIX GUID following release
2019-01-09 14:27:56 -08:00
A.J. Beamon
7c5b2ab330
Merge pull request #976 from alexmiller-apple/jsonlogs
...
Allow trace logs to be output as JSON instead of XML
2019-01-09 17:04:50 -05:00
Evan Tschannen
5d2b11cba9
Merge pull request #1019 from satherton/http-request-id
...
Backup usability and sanity check improvements
2019-01-09 13:29:37 -08:00
Stephen Atherton
f116678f0d
Bug fix, restore start dry run would not open a trace file.
2019-01-09 03:54:13 -08:00
Stephen Atherton
e7f800b019
Restore start with dry run option no longer requires or uses a database. Removed duplicate and unnecessary code. Dry run execution is more clear, it does not pretend to have actually restored data. Fixed typo in help text.
2019-01-08 19:00:58 -08:00
Stephen Atherton
604ad062d5
Updated backup correctness test to new behavior. WaitBackup() can now return the UID and BackupContainer atomically with the status code for a backup tag.
2019-01-08 18:12:15 -08:00
Evan Tschannen
acfb3bd2de
Merge pull request #1016 from alexmiller-apple/revert-abspath
...
Revert "Merge pull request #977 from alexmiller-apple/abspath"
2019-01-08 17:22:16 -08:00
Alex Miller
cebdb83def
Revert "Merge pull request #977 from alexmiller-apple/abspath"
...
This reverts commit 9881b1d074
, reversing
changes made to 6d278e466b
.
2019-01-08 16:52:09 -08:00
Balachandar Namasivayam
a9b1770e87
Merge pull request #1015 from alexmiller-apple/python-recommended
...
[packaging] Remove Python as a required dependency
2019-01-08 16:32:38 -08:00
Stephen Atherton
bb2de3479b
Updated unit test to new backup container behavior.
2019-01-08 16:29:00 -08:00
Stephen Atherton
2951369006
When starting a restore, if range files are missing their names will be logged before an error is thrown. The error thrown is now restore_missing_data instead of restore_corrupted_data.
2019-01-08 16:28:40 -08:00
Alex Miller
5c9e0701e0
[packaging] Remove Python as a required dependency.
...
It was only listed as a dependency due to make_public.py, and means that
installation fails on a fresh install of Ubuntu, so Python is being
demoted to a Recommended package instead of required one.
2019-01-08 16:15:45 -08:00
Evan Tschannen
5c64b549ce
Merge pull request #1011 from ajbeamon/fix-client-mem-leak
...
Fix: fast allocator would not cleanup memory for a thread if...
2019-01-08 14:53:57 -08:00
Stephen Atherton
d005594bdd
Added optional support for sending a unique id per request in a header for logging/tracking purposes.
2019-01-08 14:48:47 -08:00
A.J. Beamon
b95d37def2
Add PR to release notes.
2019-01-08 14:37:23 -08:00
A.J. Beamon
d265517156
Fix: fast allocator would not cleanup memory for a thread if that thread never called getMagazine. This could happen if the first thing the thread did was to release memory.
...
Added a new metric for the number of threads that hold memory for each size and improve some existing metrics.
Fix: a failed ASSERT would crash if done early in the program lifetime.
2019-01-08 14:36:01 -08:00
A.J. Beamon
fe5da8ded5
Merge pull request #1008 from alexmiller-apple/upgradeboost
...
Add boost-1.67.0 to the Dockerfile alongside 1.52.0
2019-01-08 11:38:24 -05:00
Evan Tschannen
3247f052ab
Merge pull request #1009 from etschannen/release-6.0
...
Updated documentation for 6.0.18
2019-01-07 18:25:16 -08:00
Evan Tschannen
b4a8dea183
fixed a typo
2019-01-07 18:24:16 -08:00