Evan Tschannen
48d2cb77e6
fix: the only time the log router should allow a gap in versions larger than MAX_READ_TRANSACTION_LIFE_VERSIONS is when processing epoch end. Since one set of log routers is created per generation of transaction logs, the gap caused by epoch end will be within MAX_VERSIONS_IN_FLIGHT of the log routers start version
2019-02-15 14:33:01 -08:00
Evan Tschannen
6d7d40bcb3
Update fdbclient/ManagementAPI.actor.cpp
2019-01-29 11:37:08 -08:00
A.J. Beamon
05b38167d0
Update fdbrpc/sim2.actor.cpp
...
Co-Authored-By: etschannen <36455792+etschannen@users.noreply.github.com>
2019-01-29 11:35:02 -08:00
A.J. Beamon
a49aea29d1
Update fdbclient/ManagementAPI.actor.cpp
...
Co-Authored-By: etschannen <36455792+etschannen@users.noreply.github.com>
2019-01-29 11:34:50 -08:00
Evan Tschannen
699f8dd617
fix: coordinators auto could put two coordinators in the same zone
...
simulation now tests two machines in the same zone
2019-01-18 15:42:48 -08:00
Alex Miller
048bfc5c36
Merge pull request #1060 from miclill/patch-1
...
Fix spelling
2019-01-15 13:56:41 -08:00
miclill
8b3cfa469c
Fix spelling
2019-01-15 19:30:09 +00:00
Alex Miller
f07c7d3b9e
Merge pull request #1005 from alexmiller-apple/ctest
...
Run simulation tests with ctest
2019-01-14 21:05:00 -08:00
Alex Miller
6d1f4bda75
Move traces.xml into the testdir so it doesn't grow infinitely.
2019-01-14 20:58:19 -08:00
Alex Miller
c0bf8cd7e7
Remove the test result directory if the test passed.
2019-01-14 20:31:02 -08:00
Alex Miller
b4a446756a
Remove more top-level tests that were out of order.
2019-01-14 20:28:40 -08:00
Alex Miller
248ae311bf
Type=TestFailure events shouldn't fail tests.
...
This sounds kind of broken, but is needed for now.
2019-01-14 19:16:03 -08:00
Alex Miller
23697f06f7
Fix broken method call.
2019-01-14 19:14:25 -08:00
Alex Miller
0d579b4730
Top level tests aren't run by default, and some fail.
2019-01-14 19:14:25 -08:00
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